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

RE: linux xslt debugger/ profiler

Subject: RE: linux xslt debugger/ profiler
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 10 Sep 2004 12:35:34 +0100
linux xslt
> Second, we are converting big data xml files using configuration. But 
> because our XML machine can't locally access filesystem and all xml 
> and xsl files are sent by TCP/IP, I can't use 
> document(href=config.xml) in my stylesheet and I must create local 
> copy of configurations as global variable. This is because stylesheet 
> is so big. But anyway, code transforming data is thousands lines big.
> 
> So, first step is {xslt processor} config.xml genstyle.xsl > 
> style.xsl, which creates copy of xslt code with global variable 
> containing config.xml and second step is transforming some data by
> {xslt processor} verybigdata.xml style.xsl > output.txt.
> 

Thanks for the explanation. It's worth checking to see how well your XSLT
processor handles a global variable of this kind of size. (Compare the
performance with using document()). With Saxon it will certainly add
significantly to the compile time and to the memory used by the stylesheet,
though the effect on execution time might not be too bad. An alternative
strategy is to pass the configuration document to the stylesheet as a
parameter at run-time.

Michael Kay

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.