class documentation
class debug_color:
Takes XML, parses, reindents, strip_namespaces, returns a class that will render it in color in a jupyter notebook (using pygments).
Relies on pygments; CONSIDER: removing that dependency, we already have much of the code in the xml-color tool
Method | __init__ |
Takes either an etree object, or a bytestring yet to be parsed |
Instance Variable | xstr |
XML as a string (after reindent and namespace strip) |
Method | _repr |
Undocumented |