RE: [xsl] Embedded Xsl

Subject: RE: [xsl] Embedded Xsl
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 26 Feb 2004 09:33:43 -0000
# 
# If the XML parser you're using supports TrAX (see
# http://www.onjava.com/pub/a/onjava/2001/07/02/trax.html), you can load the
# XML file into memory once by transforming it to a SAX or DOM result.  Then
# you can apply any number of transformations to it.
# 
A DOMSource will be reusable but a SAXSource won't. Although the JAXP spec
isn't clear on the point, a SAXSource (and some kinds of StreamSource) can
only be used once, because using it consumes it.

Michael Kay



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


Current Thread