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.2.3
License: Apache License 2.0
|
|||
|
|
|||
BIND Bundle data for automated binding generation. |
|||
ValidationConfig Class holding configuration related to validation. |
|||
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.
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Return an iterator producing the non-element content of the provided instance. The catenated text of the non-element content of an instance can be obtained with: text = u''.join(pyxb.NonElementContent(instance))
|
Control whether time values are converted to UTC during input. The specification makes clear that timezoned times are in UTC and that times in other timezones are to be translated to UTC when converted from literal to value form. Provide an option to bypass this step, so the input timezone is preserved. Note:
Naive processing of unnormalized times--i.e., ignoring the
|
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
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Sep 18 10:35:36 2013 | http://epydoc.sourceforge.net |