Skip to main content
Module

x/evt/mod.ts>dom.XSLTProcessor

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.XSLTProcessor
import { type dom } from "https://deno.land/x/evt@v2.4.13/mod.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