Subject: RE: SAX or DOM for XSLT From: Joshua Allen <joshuaa@xxxxxxxxxxxxx> Date: Thu, 12 Oct 2000 22:06:59 -0700 |
Well, the transform DOM need only be loaded once, and then you can keep that pre-compiled cached in memory (ASP application scope or whatever). If you do a search for "Inside MSXML performance" (or something like that) by Chris Lovett on MSDN, it has code samples of doing precompiled XSLT in server-side web apps. I think it would be really tough getting full XSLT compliance (key() comes to mind) if you used sax to process the transform (or at least multiple passes would be necessary). You could always break up the XML with SAX2 and process the chunks with XSLT. That's probably the best option with big files anyway, if you can design it that way. Also depends on the server-side application. Saying you want to run XSLT on a 2MB XML file for each web page request is perhaps betraying a design issue. Nobody can read that much data, so you are likely doing aggregation, which maybe should be done another way (and certainly not on every request). Xt allows sax-based XSLT, I am not sure about any others. > -----Original Message----- > From: Phil Hobgen [mailto:phil.hobgen@xxxxxxxxxxxxxx] > Sent: Thursday, October 12, 2000 10:29 AM > To: XSL-List@xxxxxxxxxxxxxxxx > Subject: SAX or DOM for XSLT > > > Hi, > > The Sept. release of the MS XML SDK (SAX2 Developers Guide - > Best uses for > DOM) states that > "The DOM works best for XSL Tranformations .....". > Does any one know if this means that we wont be able to use > XSLT in msxml3 > without creating two DOM instances - will there be support > for large volumes > of source XML via SAX2? > > Does the list think this is a serious limitation for server based > processing. > Thanks for any info > > Phil > > > 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 -> |
---|---|---|
SAX or DOM for XSLT, Phil Hobgen | Thread | RE: SAX or DOM for XSLT, Kay Michael |
Re: Variable names *as* variables, Paul Tchistopolskii | Date | Re: XML -> Java Properties -> XML, Eric van der Vlist |
Month |