Subject: Re: node exist?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 17 Oct 2001 14:57:30 +0100
|
hi:
how to know if a node exist for conditional procesing?
something like:
<xsl:if test="node-exist(name-of-the-node)">
do whatever
</xsl:if>
It's easier than you think:
<xsl:if test="name-of-the-node">
do whatever
</xsl:if>
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- node exist?
- Amiceto Lopez - Wed, 17 Oct 2001 09:50:45 -0400 (EDT)
- cutlass - Wed, 17 Oct 2001 10:00:43 -0400 (EDT)
- David Carlisle - Wed, 17 Oct 2001 10:08:23 -0400 (EDT) <=
|
|