Test for the existence of attribute

Subject: Test for the existence of attribute
From: "Sharmila Pandith" <sharmila@xxxxxxxxx>
Date: Fri, 7 May 1999 11:31:06 -0400
Hi,

	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. For ex: in the example above, the
attribute version is empty.

TIA,
Sharmila Pandith
Zedak Corp
400 Columbus Ave
Valhalla, NY 10595
sharmila@xxxxxxxxx


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


Current Thread