Re: how to replace a segment in a XML file?

2007-09-10 Thread Chad.Chang
that this package/tool is a great addition to ant while working with xml structures. thanks, hth, Vijay Chad.Chang wrote: I have to replace a section in a xml file which can be identified by attribute "id". The section which id equals 100 is what i wanna replace with id="

how to replace a segment in a XML file?

2007-09-10 Thread Chad.Chang
I have to replace a section in a xml file which can be identified by attribute "id". The section which id equals 100 is what i wanna replace with id="100" name="test">. Could you guys give me some suggestions? Thanks, -Chad --