This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: name() and attribute()


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]