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

Re: Best approach for writing an XML log whilst proce

Subject: Re: Best approach for writing an XML log whilst processing/writing other XML documents?
From: ac <ac@xxxxxxxxxxxxx>
Date: Fri, 13 Aug 2010 13:38:10 -0400
Re:  Best approach for writing an XML log whilst  proce
Hi,

Yes, now how remember! So: write everything to a tree, along with file references and log-report, and then write the tree out to the different files, if memory is not an issue, or write the tree out and then split that file, or do two passes ...

Thank you,
ac




On 13/08/2010 15:31, ac wrote:
Hi,

I am probably not understanding the problem correctly, but why not build the report in a variable as the files are being processed and then write it out to as a report file when the replacement task is done?

Thank you.

ac

When you're three levels deep in recursive calls of xsl:result-document, there's no way of writing anything to a top-level variable. In fact, you're not even allowed to call xsl:result-document white writing to a variable, so it wouldn't work even if the calls weren't recursive.


Michael Kay
Saxonica

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.