PyDocs

Nav

Structured Markup Processing Tools

default_loader

  • default_loader(href, parse, encoding=None)
Default loader. This default loader reads an included resource from disk. href is a URL. parse is for parse mode either “xml” or “text”. encoding is an optional text encoding. If not given, encoding is utf-8. Returns the expanded resource. If the parse mode is "xml", this is an Element instance. If the parse mode is "text", this is a string. If the loader fails, it can return None or raise an exception.
0 Examples
No examples for xml.etree.ElementInclude/default_loader.
See Also
No see-alsos for xml.etree.ElementInclude/default_loader
0 Notes
No notes for default_loader