XSLT Tutorial

From http://www.w3schools.com (Copyright Refsnes Data)

# XSLT Tutorial

XSL stands for EXtensible Stylesheet Language.

The World Wide Web Consortium (W3C) started to develop XSL because there was a need for an XML-based style sheet language.

XSLT stands for XSL Transformations. In this tutorial you will learn how to use XSLT to transform XML documents into other formats, like XHTML.

Start learning XSLT now!

## XSLT References

XSLT Elements
Description of all the XSLT elements from the W3C Recommendation, and information about browser support.

XSLT Functions
XSLT includes over 100 built-in functions. There are functions for string values, numeric values, date and time comparison, node and QName manipulation, sequence manipulation, Boolean values, and more.

## XML Exam - Get Your Diploma!

## Get Your Diploma!

W3Schools' Online Certification Program is the perfect solution for busy professionals who need to balance work, family, and career building.

The HTML Certificate is for developers who want to document their knowledge of HTML, XHTML, and CSS.

The JavaScript Certificate is for developers who want to document their knowledge of JavaScript and the HTML DOM.

The XML Certificate is for developers who want to document their knowledge of XML, XML DOM and XSLT.

The ASP Certificate is for developers who want to document their knowledge of ASP, SQL, and ADO.

The PHP Certificate is for developers who want to document their knowledge of PHP and SQL (MySQL).

## Table of Contents

XSL Languages
Defines the sub-languages of XSL: XSLT, XPath and XSL-FO.

XSLT Introduction
An introduction to XSLT. What it is, and what it can do.

XSLT Browsers
Overview of browser support for XSLT.

XSLT Transformation
How XSLT can be used to transform XML documents into XHTML documents.

XSLT Templates
The <xsl:template> element contains rules to apply when a specified node is matched.

XSLT <xsl:value-of> Element
The <xsl:value-of> element extracts the value of a selected node.

XSLT <xsl:for-each> Element
The <xsl:for-each> element allows you to do looping in XSL.

XSLT <xsl:sort> Element
The <xsl:sort> element is used to sort the output.

XSLT <xsl:if> Element
The <xsl:if> element is used to put a conditional test against the content of the XML file.

XSLT <xsl:choose> Element
The <xsl:choose> element is used in conjunction with <xsl:when> and <xsl:otherwise> to express multiple conditional tests.

XSLT <xsl:apply-templates> Element
The <xsl:apply-templates> element applies a template rule to the current element or to the current element's child nodes.

XSL on the Client
How to transform an XML document to an XHTML document on the client.

XSL on the Server
How to transform an XML document to an XHTML document on the server.

XSL Editing XML
Data stored in XML files can be edited from an Internet browser. This chapter shows how to open, edit, and save an XML file that is stored on the server.

XSL Editors
Why you should use an XML editor when you edit your XSL documents.

XSLT Summary
This chapter contains a summary on what you have learned in this tutorial and a recommendation on what subject you should study next.

### XSLT References

XSLT W3C Elements
All the XSLT elements from the W3C Recommendation, and information about browser support.

XSLT Functions
XSLT includes over 100 built-in functions. There are functions for string values, numeric values, date and time comparison, node and QName manipulation, sequence manipulation, Boolean values, and more.

From http://www.w3schools.com (Copyright Refsnes Data)