xsl-list
[Top] [All Lists]

RE: xsl:attribute in XSLT 2.0

2003-10-24 06:40:49

  Is there any reason why "select" attribute can't be added 
to xsl:attribute element?

I have often made the mistake of trying to use select on xsl:attribute
as well. I agree this would be useful.

Cases where outputed element name is not known make the select attribute useful 
in xsl:attribute element:

<xsl:element name="{concat(application,'.',entity)}">
        <xsl:attribute name="id">
                <xsl:value-of select="id"/>
        </xsl:attribute>
</xsl:element>

Thank you for advice.

Sergiu

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



<Prev in Thread] Current Thread [Next in Thread>