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 string
xmls
is:
import pyxb.binding.saxer import StringIO saxer = pyxb.binding.saxer.make_parser() handler = saxer.getContentHandler() saxer.parse(StringIO.StringIO(xml)) 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 Fri Sep 9 14:08:51 2011 | http://epydoc.sourceforge.net |