[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member