DOMDocumentWrapper combines all DOMDocument functionality in one reusable
class. Consider it's integration with rest of the code as an alpha quality.
Here are the benefits:
* fixed inserts
* added XML/XHTML compatibility
* contentType support
And now what's need are bugs, all of them.
All new methods:
* phpQuery
::newDocument($markup, $contentType = null) // new document from markup,
type autodetected)
::newDocumentHTML($html) // new document, type HTML
::newDocumentXML($xml) // new document, type XML
::newDocumentXHTML($xml) // new document, type XHTML
::newDocumentFile($file)
::newDocumentFileHTML($file)
::newDocumentFileXML($file)
::newDocumentFileXHTML($file)
* $pq
->isXML()
->isXHTML()
->isHTML()
->html()
->xml()
->htmlOuter()
->xmlOuter()
Original issue reported on code.google.com by tobiasz....@gmail.com on 16 Oct 2008 at 12:06
Original issue reported on code.google.com by
tobiasz....@gmail.com
on 16 Oct 2008 at 12:06