http://qs321.pair.com?node_id=169507

hotshot has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Xerces XML parser
by ajt (Prior) on May 27, 2002 at 09:26 UTC

    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.

      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.

Re: XML parser
by tadman (Prior) on May 27, 2002 at 07:22 UTC
    It probably took you longer to write a posting here than it did to search for it and get your answer, which if you ask me, isn't very productive.

    Google search for 'xerces'. It's the first item which means you could have hit the "I'm Feeling Lucky Button".

    What you get is this and a --.