Fix Document XML serialization.
authortravil
Mon, 18 Nov 2013 17:47:59 -0800
changeset 21 75b83ca5f00c
parent 20 a00491801887
child 22 eed5e10aa64b
Fix Document XML serialization.
index.html
--- a/index.html	Mon Nov 18 16:48:40 2013 -0800
+++ b/index.html	Mon Nov 18 17:47:59 2013 -0800
@@ -417,9 +417,19 @@
 
             <dt><code><a title="document" data-spec="DOM4" class="externalDFN">Document</a></code>
             <dd>
-                <p>Run the
-                <a data-spec="HTML5" title="xml-fragment-serialization-algorithm" class="externalDFN">XML fragment serialization algorithm</a> on
-                <var>node</var>. Return the string this produced.
+                <p>Return the result of concatenating the following, in order:
+                <ol>
+                    <li>The string produced by running the steps to 
+                        <a title=concept-serialize-doctype>produce a DocumentType serialization</a>
+                        of <var>node</var>'s 
+                        <a title="dom-Document-doctype" data-spec="HTML5" class="externalDFN">doctype</a>
+                        attribute;
+                    <li>The string produced by an <a title=concept-serialize-xml>XML serialization</a>
+                        of <var>node</var>'s 
+                        <a title="dom-Document-documentElement" data-spec="HTML5" class="externalDFN">documentElement</a>
+                        attribute, providing <code>null</code> as the <var>namespace</var> and an 
+                        empty list as <var>prefixes</var>. 
+                </ol>
 
             <dt><code><a title="comment" data-spec="DOM4" class="externalDFN">Comment</a></code>
             <dd><ol>