XML.from_file

classmethod XML.from_file(source)

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

Parameters

source (str | file) – File path or file-like object.

Returns

XML