Hello,
I dig again to XML::Compile due to error above after some time of working.
My scenario is - I have xsd, and xml file and when reader is run it
produces the error.
How to get the element in which the value is wrong?
code looks like this (simplified)
my $xsd = 'file.xsd';
my $schema = XML::Compile::Schema->new();
$schema->addSchemaDirs('somedir');
$schema->importDefinitions("$xsd-file");
my $xml = "$path/$file";
my $reader = $schema->compile (
READER => 'rootelement',
elements_qualified => 'NONE');
my $data=$reader->("$xml");
thanks for help, documentation is complex and above my understandig a
little.
Radek Stastny
_______________________________________________
Xml-compile mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/xml-compile