Hi,

Thanks for your quick response.
The solution is fine but not working when my XML file looks like this:

<TITLE>
     <XYZ>123</XYZ>
     <ABC>456</ABC>
</TITLE>
<TITLE>
     <XYZ>987</XYZ>
     <ABC>654</ABC>
</TITLE>
<TITLE>
     <XYZ>147</XYZ>
     <ABC>258</ABC>
</TITLE>

Thanks and Regards,
Alpesh


You should be able to do that with a param to call. i.e. identify the node
you're interested in with:

<call path="....">

and specify a param:

 questions, which may
be a better forum going forwards.

Brian
-- 
View this message in context: 
http://www.nabble.com/How-to-read-an-XML-file-and-extract-values-for-the-attributes-using-ANT-script-tp18648408p18750721.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to