A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

DOM XSLTProcessor: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
(→‎IDL: LegacyNullToEmptyString)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Issue for standardization ==
== Issue for standardization ==


...
https://github.com/whatwg/dom/issues/181


== IDL ==
== IDL ==


<pre>
<pre class="idl">
Constructor]
[Exposed=Window]
interface XSLTProcessor {
interface XSLTProcessor {
   void importStylesheet(Node style);
   constructor();
   DocumentFragment transformToFragment(Node source, Document output);
  undefined importStylesheet(Node style);
   Document transformToDocument(Node source);
   [CEReactions] DocumentFragment transformToFragment(Node source, Document output);
   void setParameter([TreatNullAs=EmptyString] DOMString namespaceURI, DOMString localName, any value);
   [CEReactions] Document transformToDocument(Node source);
   any getParameter([TreatNullAs=EmptyString] DOMString namespaceURI, DOMString localName);
   undefined setParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName, any value);
   void removeParameter([TreatNullAs=EmptyString] DOMString namespaceURI, DOMString localName);
   any getParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName);
   void clearParameters();
   undefined removeParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName);
   void reset();
   undefined clearParameters();
   undefined reset();
};
};
</pre>
</pre>

Latest revision as of 12:37, 15 April 2021

Issue for standardization

https://github.com/whatwg/dom/issues/181

IDL

[Exposed=Window]
interface XSLTProcessor {
  constructor();
  undefined importStylesheet(Node style);
  [CEReactions] DocumentFragment transformToFragment(Node source, Document output);
  [CEReactions] Document transformToDocument(Node source);
  undefined setParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName, any value);
  any getParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName);
  undefined removeParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName);
  undefined clearParameters();
  undefined reset();
};

MDN

https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor