Subject: RE: [xsl] Check for attribute From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Wed, 7 Feb 2001 21:32:40 -0000 |
> How can I check if an attribute (or element) exists or not ? Try to select it; if it doesn't exist, the result is an empty node-set, which converts to the boolean false. E.g. <xsl:if test="@attribute"> Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Check for attribute, Zafer BAYRAKTAR | Thread | [xsl] replacing "." with ",", Aniceto López |
RE: [xsl] context-independent count, Michael Kay | Date | RE: [xsl] replacing "." with ",", Michael Kay |
Month |