Your dataset has the nice property that it is a tree, each node can be identified by this path in the tree. I would say that it is best to name the controls corresponding to each XML node, in a way that reflects this:
- NewDataSet_Cases_Case1_case_id1_rb.
- NewDataSet_Cases_Case1_case_id2_rb.
You just need a way to get the names of the parent nodes, for example:
<xsl:variable name="parent1Name"
select="name(parent::*)" />
kokos source
share