how can I replace the REF value with it's @EXT value using XML::TWIG and output as the same xml just replacing those for all documents? Thanks again for your clue.<DOC> <S Sid='1'> <REF ID='1' TYPE='ANAPHOR' EXT='NAME'>he</REF>is hardworking guy. </S> <S Sid='2'> <REF ID='2' TYPE='ANAPHOR' EXT='FAMILY'>he</REF> </S> </DOC>
In reply to Re^2: Search and Replace in XML
by Anonymous Monk
in thread Search and Replace in XML
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |