mozilla

Revision 85976 of XSLT

  • Revision slug: XSLT
  • Revision title: XSLT
  • Revision id: 85976
  • Created:
  • Creator: Sicking
  • Is current revision? No
  • Comment one or more formatting changes
Tags: 

Revision Content

 

Extensible Stylesheet Language Transformations (XSLT) is an XML-based language used, in conjunction with specialized processing software, for the transformation of XML documents. Although the process is referred to as "transformation," the original document is not changed; rather, a new XML document is created based on the content of an existing document. Then, the new document may be serialized (output) by the processor in standard XML syntax or in another format, such as HTML or plain text. XSLT is most often used to convert data between different XML schemas or to convert XML data into web pages or PDF documents. {{ Ref("one") }}

Documentation

XSLT Element Reference
Transforming XML with XSLT
XSLT allows a stylesheet author to transform a primary XML document in two significant ways: manipulating and sorting the content, including a wholesale reordering of it if so desired, and transforming the content into a different format.
Using the Mozilla JavaScript interface to XSL Transformations
This document describes the JavaScript interface to the XSLT processing engine in Mozilla 1.2 and up.
Specifying parameters using processing instructions
Firefox allows stylesheet parameters to be specified when using the <?xml-stylesheet?> processing instruction. This is done using the <?xslt-param?> PI described in this document.
XSLT & XPath Tutorial
The TopXML XSLT tutorial introduces you to the basics of XSLT concepts, syntax, and programming.
XSLT Tutorial
This W3Schools tutorial teaches the reader how to use XSLT to transform XML documents into other formats, like XHTML.
What is XSLT?
This extensive introduction to XSLT and XPath assumes no prior knowledge of the technologies, and guides the reader through background, context, structure, concepts and introductory terminology.
Common XSLT Errors
This articles lists some common problems with using XSLT in Firefox.
XSLT 2.0 (new)

View All...

Community

View Mozilla forums...

{{ DiscussionList("dev-tech-xslt", "mozilla.dev.tech.xslt") }}

Related Topics

XML, XPath, XQuery

{{ endnote("one") }} This description of XSLT is obtained from the Wikipedia XSLT article.

{{ languages( { "de": "de/XSLT", "es": "es/XSLT", "fr": "fr/XSLT", "it": "it/XSLT", "ja": "ja/XSLT", "ko": "ko/XSLT", "pl": "pl/XSLT", "pt": "pt/XSLT" } ) }}

Revision Source

<p> </p>
<div><strong>Extensible Stylesheet Language Transformations (XSLT)</strong> is an <a href="/en/XML" title="en/XML">XML</a>-based language used, in conjunction with specialized processing software, for the transformation of XML documents. Although the process is referred to as "transformation," the original document is not changed; rather, a new XML document is created based on the content of an existing document. Then, the new document may be serialized (output) by the processor in standard XML syntax or in another format, such as <a href="/en/HTML" title="en/HTML">HTML</a> or plain text. XSLT is most often used to convert data between different XML schemas or to convert XML data into web pages or PDF documents. {{ Ref("one") }}</div>
<table class="topicpage-table"> <tbody> <tr> <td> <h4 name="Documentation"><a href="/Special:Tags?tag=XSLT&amp;language=en" title="Special:Tags?tag=XSLT&amp;language=en">Documentation</a></h4> <dl> <dt><a href="/en/XSLT/Elements" title="en/XSLT/Elements">XSLT Element Reference</a></dt> </dl> <dl> <dt><a href="/en/Transforming_XML_with_XSLT" title="en/Transforming_XML_with_XSLT">Transforming XML with XSLT</a></dt> <dd><small>XSLT allows a stylesheet author to transform a primary XML document in two significant ways: manipulating and sorting the content, including a wholesale reordering of it if so desired, and transforming the content into a different format.</small></dd> </dl> <dl> <dt><a href="/en/Using_the_Mozilla_JavaScript_interface_to_XSL_Transformations" title="en/Using_the_Mozilla_JavaScript_interface_to_XSL_Transformations">Using the Mozilla JavaScript interface to XSL Transformations</a></dt> <dd><small>This document describes the JavaScript interface to the XSLT processing engine in Mozilla 1.2 and up.</small></dd> </dl> <dl> <dt><a href="/en/XSLT/PI_Parameters" title="en/XSLT/PI_Parameters">Specifying parameters using processing instructions</a></dt> <dd><small>Firefox allows stylesheet parameters to be specified when using the <code>&lt;?xml-stylesheet?&gt;</code> processing instruction. This is done using the <code>&lt;?xslt-param?&gt;</code> PI described in this document.</small></dd> </dl> <dl> <dt><a class="external" href="http://www.topxml.com/xsl/tutorials/intro/">XSLT &amp; XPath Tutorial</a></dt> <dd><small>The TopXML XSLT tutorial introduces you to the basics of XSLT concepts, syntax, and programming.</small></dd> </dl> <dl> <dt><a class="external" href="http://www.w3schools.com/xsl/">XSLT Tutorial</a></dt> <dd><small>This <a class="external" href="http://www.w3schools.com">W3Schools</a> tutorial teaches the reader how to use XSLT to transform XML documents into other formats, like XHTML.</small></dd> </dl> <dl> <dt><a class="external" href="http://www.xml.com/pub/a/2000/08/holman/">What is XSLT?</a></dt> <dd><small>This extensive introduction to XSLT and XPath assumes no prior knowledge of the technologies, and guides the reader through background, context, structure, concepts and introductory terminology.</small></dd> <dt><a href="/en/Common_XSLT_Errors" title="en/Common XSLT Errors">Common XSLT Errors</a></dt> <dd><span style="font-size: x-small;">This articles lists some common problems with using XSLT in Firefox.</span></dd> </dl> <dl> <dt><a href="/en/XSLT_2.0" title="en/XSLT_2.0">XSLT 2.0</a> (new)</dt> </dl> <p><span class="alllinks"><a href="/Special:Tags?tag=XSLT&amp;language=en" title="Special:Tags?tag=XSLT&amp;language=en">View All...</a></span></p> </td> <td> <h4 name="Community">Community</h4> <p>View Mozilla forums...</p> <p>{{ DiscussionList("dev-tech-xslt", "mozilla.dev.tech.xslt") }}</p> <h4 name="Related_Topics">Related Topics</h4> <dl> <dd><a href="/en/XML" title="en/XML">XML</a>, <a href="/en/XPath" title="en/XPath">XPath</a>, <a href="/en/XQuery" title="en/XQuery">XQuery</a></dd> </dl> </td> </tr> </tbody>
</table>
<hr>
<p><small> {{ endnote("one") }} This description of XSLT is obtained from the <a class="external" href="http://en.wikipedia.org/wiki/Xslt">Wikipedia XSLT article</a>. </small></p>
<p>{{ languages( { "de": "de/XSLT", "es": "es/XSLT", "fr": "fr/XSLT", "it": "it/XSLT", "ja": "ja/XSLT", "ko": "ko/XSLT", "pl": "pl/XSLT", "pt": "pt/XSLT" } ) }}</p>
Revert to this revision