Hi
I need to read the value of tag(<tr:Name>) which occurs in below xml, multiple times. Can anyone help me with java script code to read an XML file and pull all the values corresponding to a particular tag((<tr:Name>)). Below is the xml file.
[code]
<?xml version=”1.0″ encoding=”UTF-8″?>
<tr:TaskReport xmlns:tr=”http://www.xyz.com/2009/TaskReport”>
<tr:FormatVersion>1</tr:FormatVersion>
<tr:DefaultProfileDB>
<tr:Info>
<tr:Path>C:Documents and SettingsAll UsersApplication DataTest</tr:MutatorPath>
<tr:Name>test1</tr:Name>
</tr:Info>
<tr:Info>
<tr:Path>C:Documents and SettingsAll UsersApplication DataTest</tr:MutatorPath>
<tr:Name>test2</tr:Name>
</tr:Info>
<tr:DefaultProfileDB>
<tr:LocalProfileDB>
<tr:Info>
<tr:Path>C:Documents and SettingsAll UsersApplication DataLocalTest</tr:MutatorPath>
<tr:Name>test3</tr:Name>
</tr:Info>
<tr:Info>
<tr:Path>C:Documents and SettingsAll UsersApplication DataLocalTest</tr:MutatorPath>
<tr:Name>test4</tr:Name>
</tr:Info>
</tr:LocalProfileDB>
</tr:TaskReport >