Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

XSLTProcessor

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.

interface XSLTProcessor {
clearParameters(): void;
getParameter(namespaceURI: string | null, localName: string): any;
importStylesheet(style: Node): void;
removeParameter(namespaceURI: string | null, localName: string): void;
reset(): void;
setParameter(
namespaceURI: string | null,
localName: string,
value: any,
): void;
transformToDocument(source: Node): Document;
transformToFragment(source: Node, output: Document): DocumentFragment;
}
var XSLTProcessor: {
prototype: XSLTProcessor;
new (): XSLTProcessor;
}
;

§Methods

§
clearParameters(): void
[src]
§
getParameter(namespaceURI: string | null, localName: string): any
[src]
§
importStylesheet(style: Node): void
[src]
§
removeParameter(namespaceURI: string | null, localName: string): void
[src]
§
reset(): void
[src]
§
setParameter(
namespaceURI: string | null,
localName: string,
value: any,
): void
[src]
§
transformToDocument(source: Node): Document
[src]
§
transformToFragment(source: Node, output: Document): DocumentFragment
[src]