Re: Number of scans required ??
At 02:40 PM 8/13/2003, you wrote:
If i got it properly, you mean to say that once i have written something in the output file i can not come to the point to rewrite something again in the same output file??
Correct. That's not the way XSLT works. In fact, you have very little control -- nor do you need it -- over writing anything. Rather, your task is to "build" something ... a tree of nodes, which when completed can be written out, or processed in some other way.
So the kind of output I want to obtain is impossible with xsl ?
This is not so: it is almost certainly possible.
The solution is in a set of templates with instructions that build the output you want, as a tree of nodes (which we can then have written). Without seeing your input and hearing what you want to do with it, no one can say what these templates will look like. But XSLT is an excellent tool for all kinds of rearrangements of data.
Please post again with more details about your actual problem -- only by seeing the problem can we assess what the best solution is. At this point we only know it's not to "rewrite something again in the same output file", since this just isn't the way things are done in XSLT.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format