xsl-list
[Top] [All Lists]

RE: RE: [xsl] Best Practice - collection() function

2008-07-07 05:43:51

In jaxp terms, is the compiled stylesheet the 
(javax.xml.transform.) Templates or the Transformer object?

The Templates object

And for the document tree, that would exist just for the 
duration of the transformation, right?

Yes, unless you build the document tree yourself and use it as input to
multiple transformations.

If you use the same document tree several times with the same compiled
stylesheet (perhaps with different parameters) then the indexes are only
built once.

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
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>
--~--