XMLReader

class compas.files.XMLReader(root)[source]

Bases: object

Reads XML files and strings.

Parameters

root (xml.etree.ElementTree.Element) – Root XML element

Methods

__init__(root)

Initialize self.

from_file(source[, tree_parser])

from_string(text[, tree_parser])