I have added a lot of things to my DOM4 implementation:

  • first, I have greatly improved the original Haxe xml parser adding support for XML namespaces; that required modifying completely the way elements and attributes are created since the resolution of a prefix can require the attributes to be already parsed...
  • then I added a xml serializer with pretty printing
  • I also added a content sink that will be useful to embedders.
  • I also revamped the associated test that is much cleaner and more readable now I have extracted the mini-serializer