[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Conditional Include statements
> XSLT stylesheets cannot modify themselves at run-time. what about saxon:transform ;) http://www.saxonica.com/documentation/extensions/functions/transform.html with best wishes, Slav On Tue, Mar 31, 2009 at 12:15 PM, Michael Kay <mike@xxxxxxxxxxxx> wrote: > > 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.rowe@xxxxxxxxxxxxxx] >> Sent: 31 March 2009 06:54 >> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >> Subject: 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
|
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
|