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@xxxxxxxxxxxxxxxx]
Sent: Friday, December 01, 2000 8: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 |
- Re: check node, (continued)
- YueMa - Fri, 01 Dec 2000 14:09:01 -0500
- Nanto, Dan - Fri, 1 Dec 2000 11:37:39 -0700
- YueMa - Fri, 01 Dec 2000 15:07:54 -0500
- Clapham, Paul - Fri, 1 Dec 2000 12:59:00 -0800
- Pendakur, Ramesh - Fri, 1 Dec 2000 13:17:36 -0800 <=
|
|