Thank you all for your valuable inputs. I tried 'xmltask' for my solution and it is working really well. :jumping: I really appreciate your kind responses. =)
Please clarify one more doubt, I may have multiple tags and they can be random. For example, <TITLE> <ABC>abc</ABC> <XYZ>xyz</XYZ> <ABC>123</ABC> <XYZ>456</XYZ> ... ... </TITLE> How can I do loop through each tags, like for and while loop in java :-(( Thanks, Alpesh -- View this message in context: http://www.nabble.com/How-to-read-an-XML-file-and-extract-values-for-the-attributes-using-ANT-script-tp18648408p18730889.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]