- Extensible Stylesheet Language Transformations
- Opera (peramban web)
- Layanan web
- Microsoft Expression Web
- Extensible Stylesheet Language
- Konsorsium World Wide Web
- Simfoni (disambiguasi)
- XPath
- XSL-FO
- Transformasi data
- XSLT
- XSLT elements
- XSL
- Java API for XML Processing
- Saxon XSLT
- Streaming Transformations for XML
- XQuery
- XSLT/Muenchian grouping
- XML
- XSL Formatting Objects
- XSLT Introduction - W3Schools
- XSLT - Wikipedia
- XML and XSLT - W3Schools
- XSLT: Extensible Stylesheet Language Transformations
- The Extensible Stylesheet Language Family (XSL) - World Wide …
- XSLT Tutorial
- XSLT - Transformation - W3Schools
- XSLT: Extensible Stylesheet Language Transformations - MDN
- XSLT Syntax - GeeksforGeeks
- The Extensible Stylesheet Language Family (XSL) - World Wide …
xslt
XSLT GudangMovies21 Rebahinxxi LK21
XSLT (Extensible Stylesheet Language Transformations) is a language originally designed for transforming XML documents into other XML documents, or other formats such as HTML for web pages, plain text, or XSL Formatting Objects. These formats can be subsequently converted to formats such as PDF, PostScript, and PNG. Support for JSON and plain-text transformation was added in later updates to the XSLT 1.0 specification.
As of August 2022, the most recent stable version of the language is XSLT 3.0, which achieved Recommendation status in June 2017.
XSLT 3.0 implementations support Java, .NET, C/C++, Python, PHP and NodeJS. An XSLT 3.0 JavaScript library can also be hosted within the web browser. Modern web browsers also include native support for XSLT 1.0.
The XSLT document transformation specifies how to transform an XML document into new document (usually XML, but other formats, such as plain text are supported). Typically, input documents are XML files, but anything from which the processor can build an XQuery and XPath Data Model can be used, such as relational database tables or geographical information systems.
While XSLT was originally designed as a special-purpose language for XML transformation, the language is Turing-complete, making it theoretically capable of arbitrary computations.
History
XSLT is influenced by functional languages, and by text-based pattern matching languages like SNOBOL and AWK. Its most direct predecessor is DSSSL, which did for SGML what XSLT does for XML.
XSLT 1.0: XSLT was part of the World Wide Web Consortium (W3C)'s eXtensible Stylesheet Language (XSL) development effort of 1998–1999, a project that also produced XSL-FO and XPath. Some members of the standards committee that developed XSLT, including James Clark, the editor, had previously worked on DSSSL. XSLT 1.0 was published as a W3C recommendation in November 1999. Despite its age, XSLT 1.0 is still widely used (as of 2018), since later versions are not supported natively in web browsers or for environments like LAMP.
XSLT 2.0: after an abortive attempt to create a version 1.1 in 2001, the XSL working group joined forces with the XQuery working group to create XPath 2.0, with a richer data model and type system based on XML Schema. Building on this is XSLT 2.0, developed under the editorship of Michael Kay, which reached recommendation status in January 2007. The most important innovations in XSLT 2.0 include:
String manipulation using regular expressions
Functions and operators for manipulating dates, times, and durations
Multiple output documents
Grouping (creating hierarchic structure from flat input sequences)
A richer type system and stronger type checking
XSLT 3.0: became a W3C Recommendation on 8 June 2017. The main new features are:
Streaming transformations: in previous versions the entire input document had to be read into memory before it could be processed, and output could not be written until processing had finished. XSLT 3.0 allows XML streaming which is useful for processing documents too large to fit in memory or when transformations are chained in XML Pipelines.
Packages, to improve the modularity of large stylesheets.
Improved handling of dynamic errors with, for example, an xsl:try instruction.
Support for maps and arrays, enabling XSLT to handle JSON as well as XML.
Functions can now be arguments to other (higher-order) functions.
Design and processing model
The XSLT processor takes one or more XML source documents, plus one or more XSLT stylesheets, and processes them to produce one or multiple output documents. In contrast to widely implemented imperative programming languages like C, XSLT is declarative. The basic processing paradigm is pattern matching. Rather than listing an imperative sequence of actions to perform in a stateful environment, template rules only define how to handle a node matching a particular XPath-like pattern, if the processor should happen to encounter one, and the contents of the templates effectively comprise functional expressions that directly represent their evaluated form: the result tree, which is the basis of the processor's output.
A typical processor behaves as follows. First, assuming a stylesheet has already been read and prepared, the processor builds a source tree from the input XML document. It then processes the source tree's root node, finds the best-matching template for that node in the stylesheet, and evaluates the template's contents. Instructions in each template generally direct the processor to either create nodes in the result tree, or to process more nodes in the source tree in the same way as the root node. Finally the result tree is serialized as XML or HTML text.
XPath
XSLT uses XPath to identify subsets of the source document tree and perform calculations. XPath also provides a range of functions, which XSLT itself further augments.
XSLT 1.0 uses XPath 1.0, while XSLT 2.0 uses XPath 2.0. XSLT 3.0 will work with either XPath 3.0 or 3.1. In the case of 1.0 and 2.0, the XSLT and XPath specifications were published on the same date. With 3.0, however, they were no longer synchronized; XPath 3.0 became a Recommendation in April 2014, followed by XPath 3.1 in February 2017; XSLT 3.0 followed in June 2017.
XQuery compared
XSLT functionalities overlap with those of XQuery, which was initially conceived as a query language for large collections of XML documents.
The XSLT 2.0 and XQuery 1.0 standards were developed by separate working groups within W3C, working together to ensure a common approach where appropriate. They share the same data model, type system, and function library, and both include XPath 2.0 as a sublanguage.
The two languages, however, are rooted in different traditions and serve the needs of different communities. XSLT was primarily conceived as a stylesheet language whose primary goal was to render XML for the human reader on screen, on the web (as a web template language), or on paper. XQuery was primarily conceived as a database query language in the tradition of SQL.
Because the two languages originate in different communities, XSLT is stronger in its handling
of narrative documents with more flexible structure, while XQuery is stronger in its data handling, for example when performing relational joins.
Media types
The
Kata Kunci Pencarian: xslt
xslt
Daftar Isi
XSLT Introduction - W3Schools
XSLT stands for XSL Transformations. This tutorial will teach you how to use XSLT to transform XML documents into other formats (like transforming XML into HTML).
XSLT - Wikipedia
XSLT (Extensible Stylesheet Language Transformations) is a language originally designed for transforming XML documents into other XML documents, [1] or other formats such as HTML for web pages, plain text, or XSL Formatting Objects. These formats can be subsequently converted to formats such as PDF, PostScript, and PNG. [2] .
XML and XSLT - W3Schools
XSLT (eXtensible Stylesheet Language Transformations) is the recommended style sheet language for XML. XSLT is far more sophisticated than CSS. With XSLT you can add/remove elements and attributes to or from the output file.
XSLT: Extensible Stylesheet Language Transformations
Feb 5, 2025 · 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.
The Extensible Stylesheet Language Family (XSL) - World Wide …
XSLT and XSL-FO are W3C Recommendations for defining XML document transformation and presentation. Use XSLT to transform documents into XSL-FO for printing or viewing; you can also use XSLT as a general XML-aware programming and transformation language, and you can use XSL-FO directly without XSLT.
XSLT Tutorial
XSLT Tutorial - EXtensible Stylesheet Language Transformation commonly known as XSLT is a way to transform the XML document into other formats such as XHTML. This tutorial explains the basics of XSLT. It contains chapters discussing all the basic components of …
XSLT - Transformation - W3Schools
Example study: How to transform XML into XHTML using XSLT? The details of this example will be explained in the next chapter. The root element that declares the document to be an XSL style sheet is <xsl:stylesheet> or <xsl:transform>. Note: <xsl:stylesheet> and <xsl:transform> are completely synonymous and either can be used!
XSLT: Extensible Stylesheet Language Transformations - MDN
Feb 5, 2025 · An XSLT stylesheet is marked as such by the inclusion of a standard XSLT heading. The outermost element in an XSLT stylesheet must be the <xsl:stylesheet> element (an acceptable alternate is the <xsl:transform> element). This element will include at least one namespace declaration and the mandatory version attribute.
XSLT Syntax - GeeksforGeeks
Sep 28, 2023 · XSLT stands for Extensible Stylesheet Language Transformation. It is an integrated concept with an XML. It is not used for Visual effects. However, it is used for extracting or transforming data from XML and using the combination of HTML and CSS to format them.
The Extensible Stylesheet Language Family (XSL) - World Wide …
An XSLT stylesheet specifies the presentation of a class of XML documents by describing how an instance of the class is transformed into an XML document that uses a formatting vocabulary, such as (X)HTML or XSL-FO.