[Home] [By Thread] [By Date] [Recent Entries]

Subject: Testing for Missing or Empty Tags
From: "Schwartz, Rechell R, ALABS" <rrschwartz@xxxxxxx>
Date: Thu, 8 Jan 2004 08:12:32 -0600
All,

Is there a simpler/more efficient way to test for a missing tag or set of empty tags than the following code (let's assume the XML tag name is called "Tag").

<xsl:if test="not(Tag[1]) or Tag ='' ">


Rechell Schwartz

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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member