package documentation

The ``lxml.isoschematron`` package implements ISO Schematron support on top of the pure-xslt 'skeleton' implementation.

From __init__.py:

Class Schematron An ISO Schematron validator.
Function stylesheet_params Convert keyword args to a dictionary of stylesheet parameters. XSL stylesheet parameters must be XPath expressions, i.e.:
Constant RELAXNG_NS Undocumented
Constant SCHEMATRON_NS Undocumented
Constant SVRL_NS Undocumented
Constant XML_SCHEMA_NS Undocumented
Variable extract_rng Undocumented
Variable extract_xsd Undocumented
Variable iso_abstract_expand Undocumented
Variable iso_dsdl_include Undocumented
Variable iso_svrl_for_xslt1 Undocumented
Variable schematron_schema_valid Undocumented
Variable svrl_validation_errors Undocumented
Function _stylesheet_param_dict Return a copy of paramsDict, updated with kwargsDict entries, wrapped as stylesheet arguments. kwargsDict entries with a value of None are ignored.
Variable _resources_dir Undocumented
Variable _schematron_root Undocumented
Variable _xml_schema_root Undocumented
XML_SCHEMA_NS: str = (source)

Undocumented

Value
'http://www.w3.org/2001/XMLSchema'
RELAXNG_NS: str = (source)

Undocumented

Value
'http://relaxng.org/ns/structure/1.0'
SCHEMATRON_NS: str = (source)

Undocumented

Value
'http://purl.oclc.org/dsdl/schematron'

Undocumented

Value
'http://purl.oclc.org/dsdl/svrl'
_schematron_root = (source)

Undocumented

_xml_schema_root = (source)

Undocumented

_resources_dir = (source)

Undocumented

extract_xsd = (source)

Undocumented

extract_rng = (source)

Undocumented

iso_dsdl_include = (source)

Undocumented

iso_abstract_expand = (source)

Undocumented

iso_svrl_for_xslt1 = (source)

Undocumented

svrl_validation_errors = (source)

Undocumented

schematron_schema_valid = (source)

Undocumented

def stylesheet_params(**kwargs): (source)

Convert keyword args to a dictionary of stylesheet parameters. XSL stylesheet parameters must be XPath expressions, i.e.: * string expressions, like "'5'" * simple (number) expressions, like "5" * valid XPath expressions, like "/a/b/text()" This function converts native Python keyword arguments to stylesheet parameters following these rules: If an arg is a string wrap it with XSLT.strparam(). If an arg is an XPath object use its path string. If arg is None raise TypeError. Else convert arg to string.

def _stylesheet_param_dict(paramsDict, kwargsDict): (source)

Return a copy of paramsDict, updated with kwargsDict entries, wrapped as stylesheet arguments. kwargsDict entries with a value of None are ignored.