SUPERB =)
I was trying,
/ :rules: XYZ/text()"/>
/ :rules: ABC/text()"/>
@{xyz} = @{abc}
Thanks a lot,
Alpesh
--
View this message in context:
http://www.nabble.com/How-to-read-an-XML-fil
Hi,
Thanks for your quick response.
The solution is fine but not working when my XML file looks like this:
123
456
987
654
147
258
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 wit
Hey one more twist has come with my requirement.
the above solution of xmltask requires separate 'call' to loop through 'XYZ'
and 'ABC'
Resulting in, I have first all the values of XYZ and then for ABC. and I
want values for both together.
e.g.
abc
xyz
123
456
Thanks Brian,
It works as per what I expected. :drunk:
Thank you very much,
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-tp18648408p18732640.html
Sent from the Ant - Users mailing list archive at Na
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,
abc
xyz
123
Hello Friends,
I have an XML file to read from it and extract values of some attributes.
These extracted values can further processed by the ANT script.
The Sample XML File is:
abc
xyz
I want to extract 'abc' and 'xyz' from this sample code. Please help me out,
how can I do t