Re: check node

Subject: Re: check node
From: YueMa <may@xxxxxxxxxxxxxxxx>
Date: Fri, 01 Dec 2000 15:07:54 -0500
Got it, thanks!

Yue


"Nanto, Dan" wrote:

> Are you just trying to check to see if an element exists?  If so, you can
> just use:
>
> <xsl:if test="NodeA">
>
> assuming that the xml looks like:
>
> <root>
>         <NodeA/>
> </root>
>
> -----Original Message-----
> From: YueMa [mailto:may@xxxxxxxxxxxxxxxx]
> Sent: Friday, December 01, 2000 9:20 AM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: check node
>
> Hi there,
> I use <xsl:if test="false=not(NodeA)"></xsl:if> to test whether there is
> a NodeA or not, but I don't really like the "false=not(...)" expression.
> Is there any better way instead?
>
> Thanks!
> Yue
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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


Current Thread