10.1.1.12.2. XmlFile¶
-
class
Patro.Common.Xml.XmlFile.
XmlFileMixin
(path, data=None)[source]¶ Bases:
object
Class mixin to parse a XML file using lxml module
-
classmethod
get_text_element
(root, path)[source]¶ Utility function to a text element from a xpath and a root
-
static
get_xpath_element
(root, path)[source]¶ Utility function to get an element from a xpath and a root
-
static
get_xpath_elements
(root, path)[source]¶ Utility function to get elements from a xpath and a root
-
path
¶
-
classmethod