The API should reflect the name. Without breaking the existing API, we should proxy fromfile-type class methods to read methods that can take either an XML string or a file-like object or a path. Similarly, there should be a write method where params or context can determine what is output: file on disk or XML string.
The API should reflect the name. Without breaking the existing API, we should proxy
fromfile
-type class methods toread
methods that can take either an XML string or a file-like object or a path. Similarly, there should be awrite
method where params or context can determine what is output: file on disk or XML string.