[Home] [By Thread] [By Date] [Recent Entries]
Do you mean all your wanted nodes should have /resultset/result[1] as
ancestor (I have problems with your following::*)?
<xsl:template match="*"> <xsl:if test="generate-id(/resultset/result[1]) = generate-id((ancestor::*)[2])"> <!-- /resultset/result[1] is the ancestor --> </xsl:if> </xsl:template> Regards, Joerg KRokicki@xxxxxxxxxxxxx wrote: I'm writing a breadth-first parser but I want to restrict the parse to /resultset/result[1] So at any given node I need the subset of following::* that has /resultset/result[1] as an ancestor. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



