This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: test if a node exists...
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: test if a node exists...
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 17 Jul 2000 18:51:24 +0100
- Reply-To: xsl-list at mulberrytech dot com
> I am trying to test the existance of a node in an XML
> document like this :
> <xsl:if test="name()=fr">
use
<xsl:if test="fr">
What you have written tests if the name of the current node is the same as
the contents of the <fr> element child.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list