RE: [xsl] XSLT processor based on SAX

Subject: RE: [xsl] XSLT processor based on SAX
From: "Pavitra Jain" <pavitra.jain@xxxxxxxxx>
Date: Wed, 17 Apr 2002 14:30:25 +0530
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@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Michael Kay
Sent: Tuesday, April 09, 2002 2:52 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx


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


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


Current Thread