[Melbourne-pm] XML::Xerces

Toby Corkindale toby.corkindale at strategicdata.com.au
Mon May 21 21:13:51 PDT 2012


On 22/05/12 14:11, Toby Corkindale wrote:
> On 22/05/12 13:59, Christopher Short wrote:
>> Well, we've not managed to get this working.
>>
>> To give you some background, we've decided it's probably time to
>> upgrade our website from perl 5.8 to 5.14 ;-)
>>
>> I'm installing a copy of our site onto a fresh server and so am
>> methodically plodding through the site to find required modules etc.
>>
>> Part of the site uses XML::Xerces and XML::Xerces::DOMParser so I need
>> to get those working.
>
> It looks like they removed DOMParser from that module ten years ago, so
> it really doesn't look like it was popular enough to get reincarnated
> elsewhere.
>
> Could you re-write the bits of the site that use DOMParser to use a
> current API? (It doesn't look like DOMParser provided anything
> particularly special)

In case it helps, this is an example of how to use the newer 
XercesDOMParser API:

http://cpansearch.perl.org/src/JASONS/XML-Xerces-2.7.0-0/samples/DOMPrint.pl

Toby



More information about the Melbourne-pm mailing list