XML.from_file

classmethod XML.from_file(source)[source]

Read XML from a file path or file-like object.

Parameters:
sourcestr | file

File path or file-like object.

Returns:
compas.files.XML