Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Which XML Validation to use, for Perl

by brycen (Monk)
on Nov 04, 2008 at 18:03 UTC ( #721473=note: print w/replies, xml ) Need Help??


in reply to Which XML Validation to use, for Perl

What do people think of XML::Checker::Parser?
#!/usr/bin/perl -w use strict; use XML::Parser; use XML::Checker::Parser; my $xml = qq(<?xml version='1.0' encoding='iso-8859-1' ?> <!DOCTYPE DISS_order SYSTEM 'umi_orders.dtd'> <DISS_order> </DISS_order> ); my ($p1, $result); $p1 = new XML::Checker::Parser(); eval { $p1->parse($xml); }; if ($@) { print "Error\n"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://721473]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2022-11-29 05:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?