From e49ccaf1803e3fb5dcbb5a93f95247d8f7586b75 Mon Sep 17 00:00:00 2001 From: Matt Farina Date: Wed, 26 Jun 2013 09:59:37 -0400 Subject: Added DOMDocumentFragment to the parser documentation. --- src/HTML5/Parser/README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/HTML5/Parser/README.md') diff --git a/src/HTML5/Parser/README.md b/src/HTML5/Parser/README.md index a21ee9a..2f5a84a 100644 --- a/src/HTML5/Parser/README.md +++ b/src/HTML5/Parser/README.md @@ -48,3 +48,6 @@ the DOMTree builder is a DOMDocument. PHP has a DOMDocument class built-in (technically, it's part of libxml.) We use that, thus rendering the output of this process compatible with SimpleXML, QueryPath, and many other XML/HTML processing tools. + +For cases where the HTML5 is a fragment of a HTML5 document a +DOMDocumentFragment is returned instead. This is another built-in class. -- cgit v1.2.3