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

	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.

Sharmila Pandith
Zedak Corp
400 Columbus Ave
Valhalla, NY 10595

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

Current Thread