xsl-list
[Top] [All Lists]

RE: can one include/import XML data into stylesheets?

2004-02-02 08:19:46
Michael Kay wrote:
document('') gives you an XML representation of the current stylesheet
module, in its state before any processing of xsl:include. So 
this won't
work.

But you could put a global variable in the included 
stylesheet module of
the form

<xsl:variable name="x" select="document('')/*/gem:data/..." />

and then in the main module you could refer to this variable.

Michael Kay

Great!
Thank you.

Lars


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>