RE: [xsl] testing relationships between nodes

Subject: RE: [xsl] testing relationships between nodes
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 14 Sep 2006 17:30:21 +0100
> <xsl:if test="exists(/x/y/z/ancestor::x)"/>
> 

That only tests whether the z has an ancestor named x, it doesn't test
whether a specific node is an ancestor.

Michael Kay
http://www.saxonica.com/

Current Thread