How to get the value of same tag but used in different scena
Posted: Mon May 03, 2010 1:11 pm
If an XML file contains one tag that is used multiple times but in different context each time, it becomes a bit difficult extract and use each value programatically. In C# for instance, we could loop through the rows assigning values to variables but the same doesn't hold true for XML (basically in stylesheet of xml with extension .xsl, which is used for generating report of xml file). The for-each loop concept does exist in XML stylesheet but it wouldn't help as the loop would return the value of the last row only.
http://www.mindfiresolutions.com/How-to ... le-149.php
http://www.mindfiresolutions.com/How-to ... le-149.php