[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

writing to a file in xslt

Subject: writing to a file in xslt
From: a kusa <akusa8@xxxxxxxxx>
Date: Wed, 7 Apr 2010 10:45:20 -0500
 writing to a file in xslt

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

Well,  I am not able to figure out the best approach for this problem.

Can the experts please guide me here?

Thanks in advance.

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.