RE: Test for the existence of attribute

Subject: RE: Test for the existence of attribute
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 7 May 1999 17:19:13 +0100
> 	I have the following:
> 		<base version=""></base>
> 
> 	To check if the attribute is present I do the following:
> 	<xsl:if test=".[(@version)]">
> 
> 	How do I test if the attribute is empty.

<xsl:if test=".[@version='']">


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


Current Thread