obspy.core.util.xmlwrapper.XMLParser

class XMLParser(xml_doc, namespace=None)[source]

Unified wrapper around Python’s default xml module and the lxml module.

Attributes

__doc__ str(object=’‘) -> string
__module__ str(object=’‘) -> string

Public Methods

xpath Very limited XPath-like query.
xpath2obj Converts XPath-like query into an object given by convert_to.

Private Methods

_getElementNamespace
_getFirstChildNamespace
_getRootNamespace

Special Methods

__init__ Initializes a XMLPaser object.

This Page