[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: name() and attribute()


Subject: Re: name() and attribute()
From: Lee Goddard <home@xxxxxxxxxxxxxx>
Date: Wed, 23 Aug 2000 14:35:59 +0100

Would that still be good if there were four checks?

tia,
lee

Paul Terray wrote:
> 
> That's what I use, or simpler :
> <xsl:if test="@name">blue</xsl:if>
> 
> As for name() of an attribute, this would still name(), like in
> <xsl:for-each select="./attributes::*">
>          <xsl:value-of select="name()"/>
> </xsl:for-each>
>


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



Current Thread