in reply to Re^3: Removing XML comments with regex
in thread Removing XML comments with regex

If you use a perl module, I'd recommend XML::LibXSLT which uses the libxslt library under the hood, so perl's "speed" or lack thereof should not be an issue. I wouldn't recommend XML::XSLT for any serious XSLT processing though.