Do anybody know how to replace a child tag value based on the parent tag�s attribute using
ant script.
Example,
...
<host name="123">
<alias>Hello</alias>
</host>
<host name="xyz">
<alias>abc</alias>
</host>...
I have to replace the value of alias tag based on the name of host tag
<host name="123">
<alias>Good Morning</alias>
</host>
Could anybody help me in this?
Appreciate your help.