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

Subject: RE: Noob: Wrap cell content and some validation??
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Tue, 16 Sep 2003 14:44:50 -0400
[ Barry van Weldam]

> how do i create some validation, like if xml-node = "null" show
nothing and xml-node  ="null show the value

It depends on what the context is.  If the processor is currently
considering an "xml-node" element, then this will do the job -

<xsl:if test='not(. = "null")'><xsl:value-of select='.'/></xsl:if>

Cheers,

Tom P

 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