Subject: Re: [xsl] writing to a file in xslt From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Wed, 07 Apr 2010 18:11:36 +0200 |
I have a requirement where I am reading from a file and assigning values in the XSL style sheet. But when I read the values form this external file, I have to compare it with what got assigned before this and if it is the same, I have to increment this new value.
So for example, I have a folder with 5 XML files. When I am processing the first XML file, I go read the external text file and grab the first value and assign it to this first XML file. Now, when processing the second XML file, I again go to grab the next value from the external file, but this time I have to compare this value with what was assigned to XML file number 1, and if they are the same, I have to increment this value by 1 before assigning it to the second XML file.
So is there any way to write to another file in XSLT? If I can do that, then maybe I can compare the next value by reading that new file.
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] writing to a file in xslt, a kusa | Thread | Re: [xsl] writing to a file in xslt, David Carlisle |
[xsl] writing to a file in xslt, a kusa | Date | Re: [xsl] writing to a file in xslt, David Carlisle |
Month |