[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: check node

Subject: Re: check node
From: YueMa <may@xxxxxxxxxxxxxxxx>
Date: Fri, 01 Dec 2000 15:07:54 -0500
xsl check node exists
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.