Skip to main content


💧EventEmitter's typesafe replacement
Go to Latest
interface dom.XSLTProcessor
import { type dom } from "";
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.


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