Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Which XML Validation to use, for Perl

by brycen (Monk)
on Nov 04, 2008 at 18:03 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-24 22:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found