Simple wrapper for PHP DOMDocument