teknopaul/dom-js — pull request #10 by ianobermiller (2013-03-21 19:03:54+00:00)
Title: Preserve non-self closing tags, expose entities, add method Element.setText

Some simple changes to preserve the fidelity of the input xml, especially whether or not a tag was self closing. Also expose ENTITIES so more can be added, and add a setText method to Element.

The isSelfClosing requires sax >= 0.5.0, so I updated the package.json accordingly.