interface dom.XMLDocument
implements Document
import { type dom } from "https://deno.land/x/evt@v2.4.10/lib/types/index.ts";
const { XMLDocument } = dom;
An XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents.
Methods
addEventListener<K extends keyof DocumentEventMap>(): void
type: K,
listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof DocumentEventMap>(): void
type: K,
listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any,
options?: boolean | EventListenerOptions,