Answers

Dec 18, 2006 - 10:50 PM
But it only does the first step of the loop.

Dec 18, 2006 - 11:30 PM
"incrementing a counter
is a procedural programming solution, while XSLT is a functional language.
Sometimes you do have to resort to using recursion or an extension, but often
there is a way to achieve the results you want without resorting to using a
counter at all, let alone incrementing it. The most common problems are solved
using careful selection of nodes using the select attribute on an xsl:for-each
or xsl:apply-templates, and utilizing position() when processing those nodes."
Quoted from: http://www.xslt.com/html/xsl-list/200...

Dec 18, 2006 - 11:35 PM

Dec 19, 2006 - 06:23 AM
The best way to follow the model is to make appear an element 5 times on the source xml

Feb 10, 2007 - 02:04 AM
Xarcus, good comment there :)
Add New Comment