Home | Trees | Indices | Help |
|
---|
|
PyXB stands for Python W3C XML Schema Bindings, and is pronounced "pixbee". It enables translation between XML instance documents and Python objects following rules specified by an XML Schema document.
This is the top-level entrypoint to the PyXB system. Importing this gets you all the exceptions, and pyxb.namespace. For more functionality, delve into these submodules:
Version: 1.1.3
License: Apache License 2.0
|
|||
|
|
|||
BIND Bundle data for automated binding generation. |
|||
cscRoot This little bundle of joy exists because in Python 2.6 it became an error to invoke object.__init__ with parameters
(unless you also override __new__ , in which case it's
only a warning.
|
|
|||
|
|||
|
|||
|
|
|||
XMLStyle_minidom = 0 Use xml.dom.minidom for XML processing. |
|||
XMLStyle_saxdom = 1 Use pyxb.utils.saxdom for XML processing. |
|||
XMLStyle_saxer = 2 Use pyxb.binding.saxer when converting documents to binding instances. |
|||
_CorruptionDetectionEnabled = True If True , blocks attempts to assign to attributes that
are reserved for PyXB methods.
|
|||
_GenerationRequiresValid = True
|
|||
_OptimizationActive = False
|
|||
_ParsingRequiresValid = True
|
|||
_XMLStyle = 2 The current XML processing style. |
|||
_XMLStyleMap =
|
|||
_XMLStyleMapReverse =
|
|||
_XMLStyle_envvar =
|
|||
__package__ =
|
|||
__url__ =
The URL for PyXB's homepage |
|||
__version__ =
The version of PyXB |
|||
_k =
|
|||
_v = 1
|
|
Query or set a flag that controls validation checking in XML generation. Normally any attempts to convert a binding instance to a DOM or XML representation requires that the binding validate against the content model, since only in this way can the content be generated in the correct order. In some cases it may be necessary or useful to generate a document from a binding that is incomplete. If validation is not required, the generated documents may not validate even if the content validates, because ordering constraints will be ignored.
|
Query or set a flag that controls validation checking in XML parsing. Normally any attempts to convert XML to a binding instance to a binding instance requires that the document validate against the content model. In some cases it may be necessary or useful to process a document that is incomplete. If validation is not required, the generated documents may not validate even if the content validates, because ordering constraints will be ignored.
|
Set the interface used to parse XML content. This can be invoked within code. The system default of XMLStyle_saxer
can also be overridden at runtime by setting the environment variable
|
|
XMLStyle_minidomUse xml.dom.minidom for XML processing. This is the fastest, but does not provide location information. It produces DOM instances.
|
XMLStyle_saxdomUse pyxb.utils.saxdom for XML processing. This is the slowest, but both provides location information and generates a DOM instance.
|
XMLStyle_saxerUse pyxb.binding.saxer when converting documents to binding instances. This style supports location information in the bindings. It produces binding instances directly, without going through a DOM stage, so is faster than XMLStyle_saxdom. However, since the pyxb.xmlschema.structures classes require a DOM model, XMLStyle_saxdom will be used for pyxb.utils.domutils.StringToDOM if this style is selected.
|
_CorruptionDetectionEnabledIf Applies only at compilation time; dynamic changes are ignored.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Sep 9 14:08:49 2011 | http://epydoc.sourceforge.net |