PyXsdCompiler¶
- class PyXsdCompiler¶
Bases:
objectCreates a new instance, keeping a reference to its PySaxonProcessor :param processor:
- __init__()¶
Creates a new instance, keeping a reference to its PySaxonProcessor :param processor:
- classmethod __new__(*args, **kwargs)¶
- __reduce__()¶
Helper for pickle.
- __setstate__()¶
- compile(self, **kwds)¶
Load a schema document from a given Source. Supplied as file name, schema text, or XDM node :param **kwds: Possible keyword arguments: must be one of the following (xsd_text|xsd_file|xsd_node|xsd_list)
- cwd¶
Property represents the current working directory
- empty_schema()¶
- import_components(kwds)¶
import_component(self, **kwds) Import a precompiled Schema Component Model from a given Source. The schema components derived from this schema document are added to the cache of schema components maintained by this SchemaManager
- set_cwd(self, cwd)¶
Set the current working directory :param cwd: current working directory :type cwd: str
- set_property(self, name, str value)¶
Set a property specific to the PyXsdCompiler in use. :param name: The name of the property :type name: str :param value: The value of the property :type value: str
Example
?? TODO:
- set_xsd_version(self, version)¶
Set the XSD Version :param version: XSD Version :type version: str
- xsd_version¶
Property represents the XSD Version