summaryrefslogtreecommitdiff
path: root/src/HTML5/Parser
diff options
context:
space:
mode:
authorMatt Farina <[email protected]>2013-06-26 09:59:37 -0400
committerMatt Farina <[email protected]>2013-06-26 09:59:37 -0400
commite49ccaf1803e3fb5dcbb5a93f95247d8f7586b75 (patch)
tree469776c4d40a0ee224b09a23abd47041d23d23a4 /src/HTML5/Parser
parentb73ec8ad9becdadf091ddc1fbcc8cdcfde509abe (diff)
Added DOMDocumentFragment to the parser documentation.
Diffstat (limited to 'src/HTML5/Parser')
-rw-r--r--src/HTML5/Parser/README.md3
1 files changed, 3 insertions, 0 deletions
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.