Re: [xsl] coping with huge xml-saxon

Subject: Re: [xsl] coping with huge xml-saxon
From: "XSL Chatr" <xsl_chatr@xxxxxxxxxxx>
Date: Mon, 16 Jun 2003 17:00:48 +0100
Thanks Tom
My XML is a business critical file and it needs to be converted to various
forms like html text or RTF files.
Its interesting you mentioned that XSLT may not be the right solution. What
else would you think of  for a business that needs this kind of requirement
to be solved? Like conversion of XML to multiple files?
Thanks
----- Original Message -----
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, June 16, 2003 4:42 PM
Subject: RE: [xsl] coping with huge xml-saxon


> [XSL Chatr]
> >
> I have a problem which i cant figure out how to get round. I
> > have an XML
> > that is as big as 600 Mg and everything fails!!!
> > I am using saxon and running this under win2k Machine. It
> > reports of memory
> > out of stack and i tried increasing the memory to the JVM with the JVM
> > parameter and apparently we  can not increase the memory to
> > more than a
> > certain limit.I would appreciate if someone can please let me
> > know how we
> > can solve this
>
> The solution will have to involve some other approach.  An xslt
> processor may have to refer to any part of the xml document from any
> other part.  So it needs to keep everything in the source document
> available.  A tree in memory can easily be ten times larger than the
> source, or even more.  So there is no way you are going to make this
> work.
>
> Theoretically, if the input file and transformation were such that only
> a little adjacent bits of the file needed to refer to each other, it
> would be possible to stream the document through without keeping it all
> in storage, but that capability is not available in practice.
>
> Often, documents of this size are log files and could easily be broken
> up for processing piece-by-piece.  You should see if this would be
> possible in your case.  Xslt may not even be the right solution, even if
> you can break up the data.
>
> 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


Current Thread