This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: check node
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: check node
- From: "Pendakur, Ramesh" <ramesh dot pendakur at intel dot com>
- Date: Fri, 1 Dec 2000 13:17:36 -0800
- Reply-To: xsl-list at mulberrytech dot com
you can simply check by using <xsl:if test="NodeA">
the test will result true as long as the node-set returned by the test
expression is not empty.
-ramesh
-----Original Message-----
From: YueMa [mailto:may@mail.nlm.nih.gov]
Sent: Friday, December 01, 2000 8:20 AM
To: xsl-list@mulberrytech.com
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