posted 19 years ago
I have a XML configuration file which is something like this
<root>
<employee>
<name>XYZ</name>
<cube>123</cube>
</employee>
<root>
Now, I want to write a build.xml which modifies XYZ to say ABC
What's the bext way to do this? I tried using a ugly creation of
filterset with copy task. Howvever, I would prefer to use
<filterset id="myFilterSet" begintoken="<name>" endtoken="</name>">
<filter token="XYZ" value="ABC" />
</filterset>
but unfortunately doesn't work because of special characters ("<")
Any ideas?
TIA,
PJ
[ October 28, 2004: Message edited by: Prashanth Joisha ]