| 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 |
|||
|
|||
__trace = False
|
|||
__XSITypeTuple =
|
|||
__domHandler = None
|
|||
__domDepth = None
|
|||
__rootObject = None
|
|||
|
|||
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 Wed Sep 18 10:35:37 2013 | http://epydoc.sourceforge.net |