Definition at line 696 of file AtlRunQueryUtils.py.
◆ __init__()
def python.utils.AtlRunQueryUtils.XMLReader.__init__ |
( |
|
self, |
|
|
|
filename |
|
) |
| |
Definition at line 732 of file AtlRunQueryUtils.py.
733 import xml.etree.ElementTree
as ET
734 self.doc = ET.parse(filename)
735 root = XMLReader.XMLElement(self.doc.getroot())
736 self.__filename = filename
738 self.__dict__[root.tag] = root
◆ __getattr__()
def python.utils.AtlRunQueryUtils.XMLReader.__getattr__ |
( |
|
self, |
|
|
|
name |
|
) |
| |
Definition at line 740 of file AtlRunQueryUtils.py.
740 def __getattr__(self,name):
741 raise AttributeError (
"'%s'. XML document '%s' has root tag '%s'" % (name,self.__filename, self.__root.tag))
◆ __filename
python.utils.AtlRunQueryUtils.XMLReader.__filename |
|
private |
◆ __root
python.utils.AtlRunQueryUtils.XMLReader.__root |
|
private |
◆ doc
python.utils.AtlRunQueryUtils.XMLReader.doc |
The documentation for this class was generated from the following file: