XSL - Loop through data twice processing differently

M

m0nkeymafia

I have an XSL stylesheet that process an XML document once, and
outputs it how I want it to...fine.
I would like to also populate a "table of contents" based on what XML
is there, which would require looping through the data a second time
[actually this should be done first] and processing it differently.

My question is how can I loop through the data twice [or can it not be
done?]
And if so how do I specify which templates it should use on which loop
round?

Thanks in advance
Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,162
Latest member
GertrudeMa
Top