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

AW: dynamic mode

Subject: AW: dynamic mode
From: "Simon Polz" <Simon.Polz@xxxxxxxxx>
Date: Thu, 28 Sep 2000 13:23:24 +0200
witch template
no you can't - the XSLT recommendation states that attribute value templates can only be applied to xsl attributes if explicitply stated so ( http://www.w3.org/TR/xslt#attribute-value-templates ) - and the mode attribute definition ( http://www.w3.org/TR/xslt#modes ) does not mention it

i tried a sample with msxml3 and it raised an error too

simon

-----Ursprüngliche Nachricht----- 
Von: xsl list 
Gesendet: Mi 27.09.2000 19:26 
An: xsl-list@xxxxxxxxxxxxxxxx 
Cc: 
Betreff: dynamic mode


Can I apply templates with dynamic mode? I have multiple templates that
handle <tag> and I would like to choose witch template to invoke by
supplying mode from the command line. This does not work:
<xsl:param name="m" select="'mode_1'"/>
<xsl:apply-templates select="tag" mode="{$m}"/>
<xsl:template match="tag" mode="mode_1">
...
</xsl:template>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.