ePages 7.17.0 - DE_EPAGES/XML/API/TestSchema.pm

Package DE_EPAGES::XML::API::TestSchema

XML Schema Tester (based on Test::More)

Base
Exporter
@EXPORT_OK
TestSchema

Functions

TestSchema

TestSchema

Validates an xml file via xml schema 1.0

Syntax
TestSchema( $XmlDir, $XmlFileGlob, $aXsdFiles );
Example
TestSchema('/Directory/','PageTypes*.xml', ['/Directory/to/My.xsd']);
Input
$XmlDir (string)
absolute directory to xml files
$XmlFileGlob (string)
Glob of xml files
$aXsdFiles (string or ref.array.string)
absolute path to one or many xml schema files
$ExcludePattern (string)
exclution pattern (optional)