in reply to Validating XML file with XML::Schematron::LibXSLT
Hi hiruzen,
I have not use XML::Schematron::LibXSLT before, but looking at the documentation on metacpan, I think you are not using the module as stated.
In the Synopsis, I didn't see anything like:
What I can see is ... = XML::Schematron::LibXSLT->new(schema => 'my_schema.xml') # note that Then did you notice this:... = XML::Schematron::LibXSLT->new() # empty new method
Note the ->>, but you used -> Maybe if you make those changes it would work. Just what I observed.use XML::Schematron; my $pseudotron = XML::Schematron->>new_with_traits( traits => ['LibXSL +T'], schema => 'my_schema.xml');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Validating XML file with XML::Schematron::LibXSLT
by Anonymous Monk on Jul 28, 2014 at 07:06 UTC | |
by 2teez (Vicar) on Jul 28, 2014 at 07:34 UTC | |
by Anonymous Monk on Jul 28, 2014 at 08:14 UTC | |
by 2teez (Vicar) on Jul 28, 2014 at 09:20 UTC | |
|
Re^2: Validating XML file with XML::Schematron::LibXSLT
by hiruzen (Novice) on Jul 28, 2014 at 08:42 UTC |