This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSLT processor based on SAX
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 9 Apr 2002 10:22:20 +0100
- Subject: RE: [xsl] XSLT processor based on SAX
- Reply-to: xsl-list at lists dot mulberrytech dot com
> I'm looking for a XSLT processor based on SAX parser. I have
> to work with
> big XML files (400 Mb).
>
> Is there any implementation I can work with ?
> What's the best XSLT implementation (free or not free) I can
> use with big
> files ?
All existing XSLT processors construct a tree representation of the source
document in memory, so for a 400 Mb document, you are going to need a lot of
memory.
It's best to break it up and transform it one piece at a time. Sometimes
Saxon's <saxon:preview> feature is a convenient way of doing this. But you
can also do it by writing a SAX filter application which turns the big
document into lots of small documents for transformation purposes.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list