lpod.xmlpart

class lpod.xmlpart.odf_xmlpart(part_name, container)

Bases: object

Representation of an XML part. Abstraction of the XML library behind.

clone()
delete_element(child)
get_element(xpath_query)
get_elements(xpath_query)
get_root()
serialize(pretty=False)
xpath(xpath_query)

Apply XPath query to the XML part. Return list of odf_element or odf_text instances translated from the nodes found.

Previous topic

lpod.variable

This Page