XSLT Tutorial

|  | Search W3Schools : |

HOME | HTML | CSS | XML | JAVASCRIPT | ASP | PHP | SQL | MORE... |  | References | Examples | Forum | About

ADVERTISEMENTS XML Certification Download XML editor Custom Programming |  |

Table of contents

XSLT Basic
XSLT HOME
XSL Languages
XSLT Introduction
XSLT Browsers
XSLT Transform
XSLT <template>
XSLT <value-of>
XSLT <for-each>
XSLT <sort>
XSLT <if>
XSLT <choose>
XSLT Apply
XSLT Advanced
XSLT on the Client
XSLT on the Server
XSLT Edit XML
XSLT Editors
XSLT Summary
Examples
XSLT Examples
References
XSLT Elements
XSLT Functions

Selected Reading

Web Statistics
Web Glossary
Web Hosting
Web Quality
W3Schools Tutorials
W3Schools Forum
Helping W3Schools

# 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.

## Altova® MissionKit® - Integrated suite of XML tools

The Altova MissionKit is a suite of intelligent XML tools, including:

XMLSpy® – industry-leading XML editor

- Support for all XML-based technologies
- Graphical editing views, powerful debuggers, code generation, & more

MapForce® – graphical data mapping tool

- Drag-and-drop data conversion with code generation
- Support for XML, DBs, EDI, Excel® 2007, text, Web services

StyleVision® – visual stylesheet designer

- Drag-and-drop stylesheet design for XML & databases
- Output to HTML, PDF, RTF, Word 2007, & more

And more…

Try before you buy with a free fully functional 30-day trial

Download today

WEB HOSTING
ASP.NET Web Hosting
$15 Domain Name Registration Save $20 / year!
Buy UK Domain Names Register Domain Names
Cheap Domain Names Cheap Web Hosting
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting

WEB BUILDING
Website Templates Flash Templates Website Builder Internet Business Opportunity
Custom Programming
FREE Trial or Demo Web Content Manager Forms,Web Alerts,RSS
Download XML editor
FREE Flash Website
FREE Web Templates

EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification

HOME or Top of Page |  | Printer Friendly
W3Schools is for training only. We do not warrant the correctness of its content. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy. Copyright 1999-2009 by Refsnes Data. All Rights Reserved.