Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.XMLSerializer

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.XMLSerializer
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { XMLSerializer } = dom;

Provides the serializeToString() method to construct an XML string representing a DOM tree.

Methods

serializeToString(root: Node): string