[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: newbie : dynamic include
> Is it possible to include a file in a dynamic way? Not from within XSL<xsl:variable > <xsl:variable name="include">include.xsl</xsl:variable> > <xsl:include href="{$include}"/> the xsl files need to be included first as otherwise you couldn't evaluate (in general) the variable. In some contexts it is possible to load the stylesheet into memory and then dynamically alter it via dom scripting or some such before applying it to the document) Or of course you can use XSL to transfrom the stylesheet, writing out a new stylesheet that is applied to the document. David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|