Subject: Re: Testing for an element NOT present
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 24 Jul 2000 14:17:57 GMT
|
> I want to perform a certain translation only if <element2> is NOT a part of
> the data. For example, I would then spit out a message saying "Element 2
> details are currently not available".
<xsl:if test="not(element2)">
<xsl:message>Element 2 details are currently not available</xsl:message>
</xsl:if>
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|