Home | Trees | Indices | Help |
|
---|
|
xml.sax.handler.ContentHandler --+ | object --+ | utils.saxutils.BaseSAXHandler --+ | PyXBSAXHandler
A SAX handler class which generates a binding instance for a document through a streaming parser.
An example of using this to parse the document held in the (unicode)
text value xmlt
is:
import pyxb.binding.saxer import io saxer = pyxb.binding.saxer.make_parser() handler = saxer.getContentHandler() saxer.parse(io.StringIO(xmlt)) instance = handler.rootObject()
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
__trace = False
|
|||
__XSITypeTuple =
|
|||
__domHandler = None hash(x) |
|||
__domDepth = None hash(x) |
|||
__rootObject = None hash(x) |
|
|||
Inherited from |
|
Return the binding object corresponding to the top-most element in the document
|
Reset the state of the handler in preparation for processing a new document.
|
Create a parser instance for converting XML to bindings.
|
Process the start of an element.
|
Process the completion of an element.
|
|
__XSITypeTuple
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Sep 18 22:33:49 2016 | http://epydoc.sourceforge.net |