ocrd_validators.xsd_page_validator module

class ocrd_validators.xsd_page_validator.XsdPageValidator(schema_url)[source]

Bases: ocrd_validators.xsd_validator.XsdValidator

XML Schema validator.

classmethod validate(doc)[source]

Validate an XML document against a schema

Parameters

doc (etree.ElementTree|str|bytes) –