[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xslt processors
First: 2 MB or 17MB aren't especially big XML files. Any decent processor
should handle them easily. 300MB or 400MB files are big.
Second: Most XSLT processors read the XML file into memory before processing it. The in-memory data representation tends to be 2-5 times as big as the original file. At some point you will run out of physical memory, and will need to find another solution that doesn't require reading the entire file before you process it. People have talked about XSLT processors that automatically "stream" the XML input files, but I don't know any that really do that. One possible solution is to use SAX to read your file, and process the input elements as you see them. Another thing you might try is breaking your input into multiple files, and deal with them sequentially (but this scheme only puts off your day of pain for a little while). Good luck. jeff Dusan Zatkovsky wrote: On Thursday 30 of September 2004 16:29, Colin Paul Adams wrote: -- ------------------------------------------------------------------------- = Jeff Kenton Consulting and software development = = http://home.comcast.net/~jeffrey.kenton = -------------------------------------------------------------------------
|
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
|