Jump to content

using collection() to iterate over files and adding an attribute in xslt

akusa8's Photo
Posted Mar 05 2010 07:39 AM
3934 Views

Hi

I have tried using collection() to iterate over a bunch of xml files. For each XML file, I want to add an attribute seqnumber and increment it by 1 as I iterate over each file.
My problem is that I don't know how to tell XSL to go to the next XML file in the folder after I am done reading and incrementing the first one.

Any ideas/suggestions will be appreciated.

Thanks.

Tags:
0 Subscribe


0 Replies