Re: check parent node2003-04-28 15:37:06Mark Ivs wrote: In the xml I have row node which is inside column node in some cases. In xsl what is the most efficient way to check if the row node is a child of column ? <xsl:template match="row"> <xsl:if test="parent::column"> ... It may be possible that you want test="ancestor::column". J.Pietschmann XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|