XML.from_file

classmethod XML.from_file(source)

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

Parameters

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