RE: [xsl] checking if an attribute exists

Subject: RE: [xsl] checking if an attribute exists
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 11 Jun 2001 17:28:18 +0100
> 
> <element attribute="...">Value</element>
> 
> How can I check if the "attribute" attribute is defined?
> 

<xsl:if test="@attribute">...</xsl:if>

Mike Kay
Software AG 

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


Current Thread