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

x/evt/lib/index.ts>dom.XSLTProcessor

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

An XSLTProcessor applies an XSLT stylesheet transformation to an XML document to produce a new XML document as output. It has methods to load the XSLT stylesheet, to manipulate xsl:param parameter values, and to apply the transformation to documents.

Methods

clearParameters(): void
getParameter(namespaceURI: string, localName: string): any
importStylesheet(style: Node): void
removeParameter(namespaceURI: string, localName: string): void
reset(): void
setParameter(
namespaceURI: string,
localName: string,
value: any,
): void
transformToDocument(source: Node): Document
transformToFragment(source: Node, document: Document): DocumentFragment