No, it's not possible. Like most programming languages since the late 1950s,
XSLT stylesheets cannot modify themselves at run-time.
Now tell us what you want to achieve, and we can probably tell you the XSLT
way of doing it.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Tony Rowe [mailto:tony(_dot_)rowe(_at_)listech(_dot_)com(_dot_)au]
Sent: 31 March 2009 06:54
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Conditional Include statements
Hi
les
In a stylesheet I have...
<xsl:stylesheet version="1.0"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"
encoding="ISO-8859-1"></xsl:output> <!--Note method is text here-->
<
<xsl:include href="HLP xxx.xslt"/>
...
But is it possible that I can put this include statement
within a Template match, based upon some variable value?
Tony
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--