Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

perl-programmer-john (6492)

perl-programmer-john
  (email not shown publicly)
http://johnbokma.com/

Started to use Perl somewhere around 1993, and since then have been using it in-house and in several projects for customers. I am available as a freelance Perl programmer.
Thursday March 09, 2006
11:33 PM

Removing Processing Instructions and Comments from XML using

[ #28944 ]
Ages ago, well... months ago, someone asked on Usenet for a small example that uses XML::Parser. I first gave a link to an example on my site: Finding the number of unique XML elements in files using XML::Parser but the author of the original post asked for a simple example showing how to remove processing instructions (PIs) and comments, so I posted a small working example, see Removing Processing Instructions and Comments from XML using XML::Parser