source : str or readable file-like object
output : writable file-like object, optional
Where to output the report. Defaults to sys.stdout.
If None, the output will be returned as a string.
xmllint : bool, optional
When True, also send the file to xmllint for schema and
DTD validation. Requires that xmllint is installed. The
default is False. source must be a file on the local
filesystem in order for xmllint to work.
filename : str, optional
A filename to use in the error messages. If not provided, one
will be automatically determined from source.
|