XMLReader

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

Bases: object

Reads XML files and strings.

Parameters

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

Methods

from_file

Construct a reader from a source file.

from_string

Construct a reader from a source text.