You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Deepthi Ramachandran Nair <De...@infosys.com> on 2004/11/19 16:10:15 UTC

get the value in an XML tag

Hi All,
            
My xml is in the following format:
 
 
<root>
 
            <tag1 name="name1" id ="value1" />
 
            <tag1 name="name2" id="value2" />
            ......
 
</root>
 
 
I want to get both the values of name & id separately in a property or
buffer.
 
Any pointers for that...
 
 
Thanks in advance,
Deepthi Nair