This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: name() and attribute()
- To: xsl-list at mulberrytech dot com
- Subject: Re: name() and attribute()
- From: Lee Goddard <home at leegoddard dot com>
- Date: Wed, 23 Aug 2000 14:35:59 +0100
- Organization: Little Bits Ltd / Research Centre for Cognitive Science, University of Sussex
- References: <4.3.2.7.0.20000823135014.00b40320@192.9.200.78>
- Reply-To: xsl-list at mulberrytech dot com
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