Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. XML
  3. XSLT

XSLT: Extensible Stylesheet Language Transformations

Extensible Stylesheet Language Transformations (XSLT) is anXML-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 asHTML 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.

Reference

TheXSLT reference provides detailed information about XSLT, including the available elements.

XSLT elements reference

This page describes XSLT elements, focusing on top-level elements used in<xsl:stylesheet> or<xsl:transform> and instructions for templates.It also briefly covers literal result elements (LREs), which copy non-instruction elements like<hr> directly to the output, and attribute value templates that use XPath expressions to set attribute values.

Guides

TheXSLT guides describe how to transform XML, how to use PI parameters, and common XSLT errors.

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.

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.

Common XSLT Errors

This article lists some common problems using XSLT in Firefox.

See also

  • XML
  • XPath
  • XSLT Introduction how to use XSLT to transform XML documents into other formats, like XHTML on w3schools.com
  • What is XSLT? introduction to XSLT and XPath, assuming no prior knowledge of the technologies

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp