GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for XSLTProcessor.

Dictionary 0

Papers 0

Wikidata 0

Developer library 6

PI Parameters

XSLT supports the concept of passing parameters to a stylesheet when executing it. This has been possible for a while when using the XSLTProcessor in JavaScript. However when using an `<?xml-stylesheet?>` processing instruction (PI) there used to be no way to provide parameters. To solve this two new PIs are implemented in [Firefox 2](/docs/Mozilla/Firefox/Releases/2) (see [Supported versions](#supported_versions) b

XSLTProcessor

DOM An **`XSLTProcessor`** applies an [XSLT](/docs/Web/XML/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. ## Constructor - XSLTProcessor() - : Create a new `XSLTProcessor`. ## Instance properties _This are no properties for this in

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor

XSLTProcessor: getParameter() method

DOM The `getParameter()` method of the XSLTProcessor interface returns the value of a parameter (`<xsl:param>`) from the stylesheet imported in the processor. ## Syntax ```js-nolint getParameter(namespaceURI, localName) ``` ### Parameters - `namespaceURI` - : The namespace associated with the parameter name. A ["null"](/docs/Web/JavaScript/Reference/Operators/null) value is treated the same as the empty string

XSLTProcessor: transformToDocument() method

DOM The `transformToDocument()` method of the XSLTProcessor interface transforms the provided Node source to a Document using the XSLT stylesheet associated with `XSLTProcessor`. ## Syntax ```js-nolint transformToDocument(source) ``` ### Parameters - `source` - : The Node source to apply the XSLT stylesheet to. ### Return value A Document. The actual interface depends on the output method of the stylesheet,

XSLTProcessor: setParameter() method

DOM The `setParameter()` method of the XSLTProcessor interface sets the value of a parameter (`<xsl:param>`) in the stylesheet imported in the processor. ## Syntax ```js-nolint setParameter(namespaceURI, localName, value) ``` ### Parameters - `namespaceURI` - : The namespace associated with the parameter name. A ["null"](/docs/Web/JavaScript/Reference/Operators/null) value is treated the same as the empty stri

XSLTProcessor: XSLTProcessor() constructor

DOM The **`XSLTProcessor()`** constructor creates a new XSLTProcessor object instance. ## Syntax ```js-nolint new XSLTProcessor() ``` ### Parameters None. ### Return value A new XSLTProcessor object instance. ## Specifications ## Browser compatibility

JSON results · Services directory