Subject: Re: [xsl] Conditional Include statements From: Vyacheslav Sedov <vyacheslav.sedov@xxxxxxxxx> Date: Tue, 31 Mar 2009 14:07:32 +0400 |
> 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: [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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Conditional Include state, Michael Kay | Thread | [xsl] interating through tree struc, jim mcgovern |
RE: [xsl] Conditional Include state, Michael Kay | Date | [xsl] interating through tree struc, jim mcgovern |
Month |