xsl-list
[Top] [All Lists]

Re: [xsl] XSLT and XML in the same document

2007-05-27 16:38:29
On Sun, 27 May 2007 17:29:21 -0600, Michael Kay <mike(_at_)saxonica(_dot_)com> 
wrote:

(In Saxon, the whitespace nodes, comments and processing instructions in the
stylesheet have been discarded long before the compiler could notice that
there's a call on document('') which requires them to be retained.)

Oh, right...  That makes complete sense.  Thanks for the clarification!

So with this in mind, then dependent upon how big the transformation file is and how far away it is away from the machine doing the processing, the cost of using document for introspection could be quite signficant!

--
/M:D

M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354 | http://dev.aol.com/blog/3155

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--