I was reading a book on using PHP with XML and the author notes that
PHP's "internal" XML processor (SAX) processes documents node by node
(rather than reading the whole document into memory first). You may be
able to find an XSLT processor that works the same way (although I kind
of doubt it) or you could try using SAX to break the large XML document
up into more manageable pieces.
Good luck...
Ted Stresen-Reuter
On Tuesday, February 18, 2003, at 08:28 AM, Passin, Tom wrote:
[ Jinesh Varia]
I donnt know why the heck Xalan does not process the rest of
the XML data sheet. I have a huge XML data sheet (around
150MB) when I process using Xalan and giving -Xmx900M as a an
option. It does start processing but when it proceeses around
60MB it stops. there is abolutely no error.
A DOM can easily use more than 10 times the number of bytes as the
source file, so it sounds like the 900 MB is not nearly enough. When
it
runs out of memory, a processor is not always well-behaved. You should
follow the advice so many posts have given the last few days about
processing large files, which is to break them up into smaller files.
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list