[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: check node
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|