Package gavo :: Package utils :: Module plainxml
[frames] | no frames]

Module plainxml

source code

Some XML hacks.

StartEndHandler simplifies the creation of SAX parsers, intended for client code or non-DC XML parsing.

iterparse is an elementtree-inspired thin expat layer; both VOTable and base.structure parsing builds on it.

Classes
  ErrorPosition
A wrapper for an error position.
  iterparse
iterates over start, data, and end events in source.
  StartEndHandler
This class provides startElement, endElement and characters methods that translate events into method calls.
Functions
 
traverseETree(eTree)
iterates the elements of an elementTree in postorder.
source code
Variables
  __package__ = 'gavo.utils'