Subject: RE: check node From: "Nanto, Dan" <dnanto@xxxxxxxxxx> Date: Fri, 1 Dec 2000 11:37:39 -0700 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: check node, YueMa | Thread | Re: check node, YueMa |
Re: xsl:number() from 0, Daniel Barclay | Date | RE: parameter in path, Nanto, Dan |
Month |