Hi,
<xsl:if test="parent::node()=definition">
The unabbreviated expression for the above is
parent::node() = child::definition
i.e. is there a child "definition" element whose string value is the same as
the parent's string value. You want
parent::definition
Cheers,
Jarno
--~------------------------------------------------------------------
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>
--~--