[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Conditional Include statements

Subject: Re: Conditional Include statements
From: Vyacheslav Sedov <vyacheslav.sedov@xxxxxxxxx>
Date: Tue, 31 Mar 2009 14:07:32 +0400
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.