PyXsdCompiler¶
- class PyXsdCompiler¶
Bases:
objectHas no public constructor, use
PySaxonProcessor.new_xsd_compiler().- compile(**kwds)¶
Load a schema document from a given Source. Supplied as file name, schema text, or XDM node
- Keyword Arguments:
Only one of
xsd_text,xsd_file,xsd_node, orxsd_listshould be supplied.
- cwd¶
Property represents the current working directory
- empty_schema()¶
- import_components(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(name, value)¶
Set a property specific to the PyXsdCompiler in use.
Example
?? TODO:
- xsd_version¶
Property represents the XSD Version