My main questions here is I have seen examples of <xsl:when> which access element values but not attributes. How do I use an element's attribute in the when clause.
My second question is if you see \India is common. So I want to set the same as a global variable & keep on modifying it as & when i go about transformation
My third & most important question is how do I distinguish between the inner node elements & the outer ones & take appropriate action in XSLT. Since the outer node (oid=10) is similar to the inner nodes (oid =20 & oid =30) how can i write a rule in xslt to distinguish the same