more useful options | |
PerlMonks |
Re: XML cleanup - regex or ?by dasgar (Priest) |
on Sep 21, 2010 at 14:46 UTC ( [id://861084]=note: print w/replies, xml ) | Need Help?? |
Here's one approach, if you want to do it by hand.
The process should work. However, if you have hundreds of tag/attribute combinations, you probably wouldn't want to hard code those combinations. Instead, you might prefer to do a subroutine and pass in the tag and attribute combo. Hope this helps.
In Section
Seekers of Perl Wisdom
|
|