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

Conditionally use attribute sets?

Subject: Conditionally use attribute sets?
From: drkm <darkman_spam@xxxxxxxx>
Date: Mon, 14 Nov 2005 10:57:30 +0100 (CET)
use attribute sets

  I'd like to conditionally add an attribute set to an
element.  Something like this:

    <xsl:attribute-set name="my.set">
      <xsl:attribute name="attr">value</xsl:attribute>

      <xsl:if test="@condition">
        <xsl:use-attribute-sets name="my.set"/>

  But after the recommendation, it seems it's not possible:

    Attribute sets are used as follows:

    The xsl:copy and xsl:element instructions have an
    use-attribute-sets attribute.

    Literal result elements allow an xsl:use-attribute-sets
    attribute, which is evaluated in the same way as the
    use-attribute-sets attribute of xsl:element and

  Did I miss something?




Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Tilichargez cette version sur http://fr.messenger.yahoo.com

Current Thread


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.
First Name
Last Name
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.