Do you want the content of b.txt to be entered into the xml of a.txt, under what conditions?
To delete the content of the <!..> tag
$line=~s/<![^>]*>/<!>/;
In reply to Re: Search and Replace for XML
by Utilitarian
in thread Search and Replace for XML
by srprabu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |