RE: [xsl] XSLT processor based on SAX

Subject: RE: [xsl] XSLT processor based on SAX
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 9 Apr 2002 10:22:20 +0100
> 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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx


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


Current Thread