in reply to Re^3: LibXML version
in thread LibXML version
Hi Marto..
I agree with your point that it may be a inefficient code. Let me give you a snippet here. Please let me know if I'm going wrong somewhere.
my $xsd_file = XML::LibXML::Schema->new(location => $xsd); my $parser = XML::LibXML->new; my $XML_file = $parser->parse_file($xml); eval { $schema->validate(XML_file) };
Any suggestion will be highly appreciated.
Thanks & Regards,
Sathya V.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: LibXML version
by marto (Cardinal) on Nov 28, 2013 at 12:54 UTC |