RE: [xsl] Noob: Wrap cell content and some validation??

Subject: RE: [xsl] 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