Today someone asked in the Usenet group comp.lang.perl.modules for examples of using XML::Parser. I gave a link to Finding the number of unique XML elements which has a small example on using the XML::Parser module. I also recommended to have a look at the other XML related Perl modules available on CPAN.
Read the rest of Removing PI and comments from XML.
Note that your comment doesn't show up immediately. I review each comment before I add it to this site.
Check the Follow this page option if you want to receive an email each time a comment is posted to this page, including yours. A link to turn this option off will be included with each email.
Internet adresses will be converted automatically. You can use the following notation to specify anchor text for a link: [url=http://example.com/]example text[/url].