xsl-list
[Top] [All Lists]

Re: [xsl] Making nested elements from elements with level attributes

2010-09-22 03:46:36

Is there an elegant algorithim to do this, or am i looking at a recursive 
routine with a named template?


The elegant algorithm IS a recursive routine with a named template: see

http://www.saxonica.com/papers/ideadb-1.1/mhk-paper.xml

for a solution of a similar problem (Stage Two is the relevant part)

Michael Kay
Saxonica

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--