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

Subject: RE: [xsl] can one include/import XML data into stylesheets?
From: "Lars Huttar" <lars_huttar@xxxxxxx>
Date: Mon, 2 Feb 2004 09:19:46 -0600
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


Current Thread