RE: test if a node exists...

Subject: RE: test if a node exists...
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 17 Jul 2000 18:51:24 +0100
> 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


Current Thread