xsl-list
[Top] [All Lists]

Re: [xsl] Use document() function to get a reference to the input doc

2006-07-17 15:25:07

I wish to use the document() function to create a variable holding the
input document. My stylesheet contains this element: 

If you really want, your wish may be granted but personally I'd go

<xsl:variable name="main-doc" select="/" />

the current input document's already been parsed and /  is its root
node, no need to do anything else.

David



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