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
Jump to navigation
Jump to search
(new constructor syntax) |
(replace void into undefined, https://github.com/heycam/webidl/pull/906) |
||
Line 9: | Line 9: | ||
interface XSLTProcessor { | interface XSLTProcessor { | ||
constructor(); | constructor(); | ||
undefined importStylesheet(Node style); | |||
[CEReactions] DocumentFragment transformToFragment(Node source, Document output); | [CEReactions] DocumentFragment transformToFragment(Node source, Document output); | ||
[CEReactions] Document transformToDocument(Node source); | [CEReactions] Document transformToDocument(Node source); | ||
undefined setParameter([TreatNullAs=EmptyString] DOMString namespaceURI, DOMString localName, any value); | |||
any getParameter([TreatNullAs=EmptyString] DOMString namespaceURI, DOMString localName); | any getParameter([TreatNullAs=EmptyString] DOMString namespaceURI, DOMString localName); | ||
undefined removeParameter([TreatNullAs=EmptyString] DOMString namespaceURI, DOMString localName); | |||
undefined clearParameters(); | |||
undefined reset(); | |||
}; | }; | ||
</pre> | </pre> |
Revision as of 19:34, 20 December 2020
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([TreatNullAs=EmptyString] DOMString namespaceURI, DOMString localName, any value); any getParameter([TreatNullAs=EmptyString] DOMString namespaceURI, DOMString localName); undefined removeParameter([TreatNullAs=EmptyString] DOMString namespaceURI, DOMString localName); undefined clearParameters(); undefined reset(); };
MDN
https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor