XMLNodeType
was removed due to not being used anywhere.beautify
parameter in allXML.dump_*()
functions was renamed topretty
.- Move
XMLDocument.to_dict()
toXMLNode.to_dict()
. - Make
XMLNode.to_dict()
opinionated by removing all controllability functions. - Change structure of
XMLNode.to_dict()
's output.
XML
can now handle semantically invalid XML.- Added
indent_level
andindent_length
to control initial indentation level and level width respectively. - Allow accessing
XMLNode
children by their name if their name is unqiue amongst thatXMLNode
's children. Works in the editor too. - Document structure of
XMLNode.to_dict()
's output.
- Fix empty standalone nodes geting two spaces before
>
when prettified. - Fix node content being on the same line as it's node when prettified.
- Remove pointless checks in parsing logic.
- Properly document code to make contributing easier.
- Reformat code to use 4-space indent instead of the previous tabs.
- Remove commented out code in some places.
- Refactor prettifier and dictionary converter to be recursive-descent, significantly simplifying logic.