How do you test for "if something exists" using <xsl:if>

Subject: How do you test for "if something exists" using <xsl:if>
From: Jonathan Asbell <jonathana@xxxxxxxxxxxxxx>
Date: Tue, 21 Mar 2000 16:02:18 -0500
How do I express "if x exists"

ie.  if the value of the parameter "x" exists

<xsl:if test="{$x}">
	....	
</xsl:if>

__________________________________________

and what about multiple tests?

ie if the value of "x" exists && the value of "y" exists && the value of "z"
exists

<xsl:if test="{$x && $y && $z}">
	....	
</xsl:if>


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


Current Thread