Subject: RE: xsl:attribute in XSLT 2.0
From: "Sergiu Ignat" <sergiu@xxxxxxxxxx>
Date: Fri, 24 Oct 2003 16:40:49 +0300
|
>
> 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
|