Subject: Re: [xsl] Problem:Counting specific type of nodes lying in between two nodes in a tree|
From: "Joris Gillis" <roac@xxxxxxxxxx>
Date: Mon, 07 Feb 2005 16:27:13 +0100
If the current node is ptr6 this should return 4 Herebs the piece of code that is not working:
<xsl:param name="Cnt" select="count(ancestor::decisiontree_answer[@answer='no'][ancestor::decisiontree_question[.=$stop_question]> 0])"/>
regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) "In the land of the blind, the one-eyed man is king"