Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.dom.d.ts>XSLTProcessor

Advanced Web Composition for Future
Latest
interface XSLTProcessor
import { type XSLTProcessor } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

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