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

RE: Processing a huge XML document

Subject: RE: Processing a huge XML document
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 30 Jul 2001 09:24:45 +0100
transform huge xml document
> 	I am quite puzzled as to which method would be faster
> to transform
> a 50 MB XML file: an XSLT, or using SAX call-backs.

If your transformation is serial, then a SAX application will certainly be
much faster, as you don't have to build the tree in memory (the tree for a
50Mb file will be vast).

You might like to look at Saxon's "preview mode" if you want an XSLT
solution, this essentially does an XSLT transform on one subtree at a time,
avoiding the need to build the complete tree in memory.

Mike Kay
Software AG


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.