This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSLT processor based on SAX
- From: "Pavitra Jain" <pavitra dot jain at patni dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 17 Apr 2002 14:30:25 +0530
- Subject: RE: [xsl] XSLT processor based on SAX
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi,
I have a small xml file which is a meta data or output template but it
generates, using SAX
and itentity transformation, another XML file which is 300 to 320 MB in
size. I hope that does not cause any problem.
Thanks in Advance
Pavitra Jain
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Michael Kay
Sent: Tuesday, April 09, 2002 2:52 PM
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] XSLT processor based on SAX
> 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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list