From 201e21d279763d6ffee9cbbacdf8c0d19ea09171 Mon Sep 17 00:00:00 2001 From: Luke Warlow Date: Wed, 26 Feb 2025 19:42:14 +0000 Subject: [PATCH] Remove XMLSerializer interface Replace with link to HTML spec. --- index.html | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/index.html b/index.html index 1208e90..fdd3efa 100644 --- a/index.html +++ b/index.html @@ -219,30 +219,11 @@

Extensibility

The XMLSerializer interface

+ + + -
-    [Exposed=Window]
-    interface XMLSerializer {
-      constructor();
-      DOMString serializeToString(Node root);
-    };
-  
- -
-
xmlserializer = new XMLSerializer () -
Constructs a new XMLSerializer object. - -
string = xmlserializer . serializeToString ( root ) -
Serializes root into a string using an XML serialization. Throws a - TypeError exception if root is not a Node or an Attr object. -
- -

The XMLSerializer() constructor must return a new XMLSerializer - object. - -

The serializeToString(root) method must - produce an XML serialization of root passing a value of false for - the require well-formed parameter, and return the result. +

The definition of XMLSerializer has moved to the HTML Standard.