in reply to Search and Replace in XML
Looks like a perfect task for XML::Rules in the filter mode. Create a new XML::Rules object with style => 'filter' and a custom rule for <REF> tags replacing the _content by the value of the EXT attribute and use the filter() or filterfile() method.
Jenda
Enoch was right!
Enjoy the last years of Rome.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Search and Replace in XML
by Anonymous Monk on Sep 14, 2009 at 17:39 UTC | |
by Jenda (Abbot) on Sep 14, 2009 at 22:50 UTC |