[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Making nested elements from elements with level attributes
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Wed, 22 Sep 2010 09:46:22 +0100
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

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member