{"json_modified": "2016-03-28T08:20:59.332818", "uuid": "4bd256b9-e374-45f8-b9d3-d2481d766a48", "title": "JavaScript/XSLT Bindings", "url": "/en-US/docs/Web/XSLT/XSLT_JS_interface_in_Gecko/JavaScript_XSLT_Bindings", "tags": [], "translations": [{"uuid": "e9c5edc8-15bf-4de9-9ebb-69aa28e8964f", "title": "Les liaisons JavaScript/XSLT", "url": "/fr/docs/L'interface_XSLT_JavaScript_dans_Gecko/Les_liaisons_JavaScript_XSLT", "tags": ["Traduction_\u00e0_relire"], "summary": "JavaScript peut ex\u00e9cuter des transformations XSLT \u00e0 travers l'objet XSLTProcessor
. Un fois instanci\u00e9, un XSLTProcessor
a une m\u00e9thode importStylesheet
qui prend comme argument la feuille de style XSLT \u00e0 utiliser pour la transformation. La feuille de style doit \u00eatre pass\u00e9e comme un document XML, ce qui signifie que le fichier .xsl doit \u00eatre charg\u00e9 par la page avant d'appeler importStylesheet
. Cela peut \u00eatre fait par XMLHttpRequest
ou par XMLDocument.load
.", "localization_tags": [], "locale": "fr", "last_edit": "2016-02-15T03:42:48", "review_tags": []}, {"uuid": "ad6f779c-75b9-4ae1-a576-bc4e187f6244", "title": "JavaScript/XSLT Bindings", "url": "/ko/docs/The_XSLT_JavaScript_Interface_in_Gecko/JavaScript_XSLT_Bindings", "tags": [], "summary": "JavaScript can run XSLT transformations through the XSLTProcessor
object. Once instantiated, a XSLTProcessor
has an importStylesheet
method that takes as an argument the XSLT stylesheet to be used in the transformation. The stylesheet has to be passed in as an XML document, which means that the .xsl file has to be loaded by the page before calling importStylesheet
. This can be done via XMLHttpRequest
or XMLDocument.load
.", "localization_tags": [], "locale": "ko", "last_edit": "2014-05-19T03:21:37", "review_tags": []}], "modified": "2016-02-29T00:49:17", "label": "JavaScript/XSLT Bindings", "localization_tags": [], "locale": "en-US", "id": 40968, "last_edit": "2016-02-29T00:49:11", "summary": "JavaScript can run XSLT transformations through the XSLTProcessor
object. Once instantiated, an XSLTProcessor
has an XSLTProcessor.importStylesheet()
method that takes as an argument the XSLT stylesheet to be used in the transformation. The stylesheet has to be passed in as an XML document, which means that the .xsl file has to be loaded by the page before calling XSLTProcessor.importStylesheet()
. This can be done via XMLHttpRequest
or XMLDocument.load()
.", "sections": [{"id": "JavaScript.2FXSLT_Bindings", "title": "JavaScript/XSLT Bindings"}], "slug": "Web/XSLT/XSLT_JS_interface_in_Gecko/JavaScript_XSLT_Bindings", "review_tags": []}