in reply to
Scrubbing XML
If you can do without any newlines at all:
s/\s+/ /g;
[download]
"\s" includes \r and \n.
Comment on
Re: Scrubbing XML
Download
Code
In Section
Seekers of Perl Wisdom