[xsl] Count all the following nodes of a perticular parent

Subject: [xsl] Count all the following nodes of a perticular parent
From: Jayaranga Subasinghe <jayarangas@xxxxxxxxxxxxx>
Date: Fri, 29 Jun 2001 15:25:24 +0600
hello,
thanks for the previous solutions suggested.
how can i count following nodes of a perticular node, with a perticular
parent.
the xml is something like that:
<root>
	<branch>
		<subBranch>
			.
			.
	<branch>
		<subBranch>
			.
			.
	<branch_anotherType>
		
		<subBranch>
			.
	<branch_anotherType>
		
		<subBranch>
			.
			.
</root>	.
	
actually i want to count how many child nodes exists after 2nd <branch>
element.
i expected to have 2 as the result

thank you.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread