[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSLT with DOM or SAX ?
> Does document('') load the XSL from the source again? > In Saxon, document('') always reparses the stylesheet document. There are several reasons: (a) If you're using XML external entities, document('') gives you the current external entity, not the whole document. (b) Saxon doesn't keep the source stylesheet around at run-time. (c) When a stylesheet is parsed, comments and processing instructions and most whitespace text nodes are discarded very early on. But these are needed in the result of document(''). Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|