xsl-list
[Top] [All Lists]

RE: [xsl] testing relationships between nodes

2006-09-14 09:30:37
 

<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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--