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

From WHATWG Wiki
Revision as of 08:30, 29 February 2016 by Cvrebert (talk | contribs) (add missing [)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Issue for standardization

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

IDL

[Constructor]
interface XSLTProcessor {
  void importStylesheet(Node style);
  DocumentFragment transformToFragment(Node source, Document output);
  Document transformToDocument(Node source);
  void setParameter([TreatNullAs=EmptyString] DOMString namespaceURI, DOMString localName, any value);
  any getParameter([TreatNullAs=EmptyString] DOMString namespaceURI, DOMString localName);
  void removeParameter([TreatNullAs=EmptyString] DOMString namespaceURI, DOMString localName);
  void clearParameters();
  void reset();
};

MDN

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