Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using XSL to check if empty

Status
Not open for further replies.

tokoh

Programmer
Joined
May 23, 2001
Messages
13
Location
AU
Using XSL how do I check to see if an element contains a value. I have tried <xsl:if test=&quot;string()&quot;/> and this does not work. I have tried <xsl:apply-template select=&quot;element&quot;/> and then <xsl:if test=&quot;node()=''&quot;/> and this does not work either. Any ideas??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top