libearth.xml.compat.clrxmlreader — XML parser implementation for CLR¶
Python xml.sax parser implementation and ElementTree builder using
CLR System.Xml.XmlReader.
-
libearth.compat.clrxmlreader.XMLNS_XMLNS= 'http://www.w3.org/2000/xmlns/'¶ (
str) The reserved namespace URI for XML namespace.
-
class
libearth.compat.clrxmlreader.IteratorStream(iterable)¶ System.IO.Streamimplementation that takes a Python iterable and then transforms it into CLR stream.Parameters: iterable ( collections.Iterable) – a Python iterable to transform
-
class
libearth.compat.clrxmlreader.TreeBuilder¶ ElementTree builder using
System.Xml.XmlReader.
-
class
libearth.compat.clrxmlreader.XmlReader¶ SAX
PullReaderimplementation using CLRSystem.Xml.XmlReader.
-
libearth.compat.clrxmlreader.create_parser()¶ Create a new
XmlReader()parser instance.Returns: a new parser instance Return type: XmlReader