How to remove an DOCTYPE tag with PHPQuery?
===

Please tell anybody how to remove the doctype from html. I need to remove following doctype

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

and add html5 doctype

    <!DOCTYPE>

How is it possible using PhpQuery (domparser)