xml structure as follow:
<root>
<parent>
<child1>
<child1>
<child2>
<child2>
<child2>
<child2>
</parent>
</root>
i uses xsl to transform to a html page.
i have a dropdown menu where user will be able to choose which node to count. Example a dropdown menu with option child1 and child2.
so when user choose child2, it will go on excute <xsl:value-of select="count(child2)"></xsl:value-of>, but the problem how do i retrieve the value from the dropdown menu and use it for the count()?
<root>
<parent>
<child1>
<child1>
<child2>
<child2>
<child2>
<child2>
</parent>
</root>
i uses xsl to transform to a html page.
i have a dropdown menu where user will be able to choose which node to count. Example a dropdown menu with option child1 and child2.
so when user choose child2, it will go on excute <xsl:value-of select="count(child2)"></xsl:value-of>, but the problem how do i retrieve the value from the dropdown menu and use it for the count()?