http://www.perlmonks.org?node_id=169527


in reply to XML parser

The Xerces c based parser is available as a Perl module. There is the Xerces-Perl home page, and the module can be found on CPAN XML::Xerces.

According to the Xerces-Perl home page the code is only supported on BSD/Linux/Solaris yet, though they plan to port it to Windows eventually.

Because Unicode support is a bit flakey in Perl 5.6.x it's best to have Perl 5.7.x or better for Unicode support, or better still the current 5.8.x version.

You don't say if you have to have Xerces, or if you are just looking at XML in general, but don't forget Perl's many other excellent XML tools (including):

Mirod has nice articles on Perl/XML - Ways To Rome and What's Wrong with Perl and XML?. Some of the above modules also have reviews in the Module Reviews Section here at PerlMonks.

Update: Updated to reflect recent changes.

Replies are listed 'Best First'.
Re: Re: Xerces XML parser
by cjf (Parson) on May 27, 2002 at 13:34 UTC

    Thank you for the excellent reply. I hadn't heard of Xerces before but I'm checking it out right now, it looks very useful. I hadn't used a few of the XML::* modules you list either but I'll definately take a look at them now.

    Thanks again for adding some educational value to the thread. I wish I could ++ this node more than once.