HTML5DOMDocument extends the native DOMDocument library. It fixes some bugs and adds some new functionality.
Version 2.3.0
2.2.9