Subject: Re: [xsl] Processing a huge XML document From: Mahesh V Kondwilkar <maheshk@xxxxxxxxxxx> Date: Mon, 30 Jul 2001 01:54:45 -0500 (CDT) |
Thanks Kurt! Could you elaborate on a few parts if you have time? I couldnt understand what you meant by 'synchronous processing'?. Secondly, my XML is being generated dynamically. So if i spread it out accross multiple docs, the number of doccs wil be variable. How do i handle that? Again, Thanks a lot! Regards, Mahesh -- Mahesh Kondwilkar (maheshk@xxxxxxxxxxx, http://www.cis.ksu.edu/~maheshk) Kansas State University On Sun, 29 Jul 2001, Kurt Cagle wrote: > The answer really depends upon how much memory you have. If you can put it > all into DOM and can minimize any other processes, then the DOM calls will > be much faster, and the XSLT easier to manage. On the other hand, you need > some heavy duty memory (figure 256MB system RAM min) without going to cache. > If the process is forced into cache, then I suspect that SAX calls might be > faster, because you won't be thrashing your virtual memory. > > Your best solution, however, might be to distribute the XML so that it is > spread across multiple documents. You could then process it synchronously > through a series of document() calls within the XSLT itself. This does > involve making multiple XML file opens and closes, but this will still be > faster (and easier to code) than trying to replicate XSLT from SAX calls. > > -- Kurt Cagle > ----- Original Message ----- > From: "Mahesh V Kondwilkar" <maheshk@xxxxxxxxxxx> > To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> > Sent: Sunday, July 29, 2001 4:28 PM > Subject: [xsl] Processing a huge XML document > > > > Hi, > > I am quite puzzled as to which method would be faster to transform > > a 50 MB XML file: an XSLT, or using SAX call-backs. > > Can someone help me please? Currently the whole process takes me > > about half an hour. > > Thanks > > Regards, > > Mahesh > > > > -- > > Mahesh Kondwilkar (maheshk@xxxxxxxxxxx, http://www.cis.ksu.edu/~maheshk) > > Kansas State University > > > > > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > > > > > 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Processing a huge XML doc, Kurt Cagle | Thread | RE: [xsl] Processing a huge XML doc, Michael Kay |
Re: [xsl] generating a repeatable u, Colin Muller | Date | RE: [xsl] generating a repeatable u, Michael Kay |
Month |