XSLT Tutorial
XSL stands for EXtensible Stylesheet Language; it is a stylesheet language for XML documents.
XSLT stands for XSL Transformations. In this tutorial, you will learn how to use XSLT to transform XML documents into other documents, such as XHTML.
Start learning XSLT now!
Online XSLT Conversion Tool – XML to HTML Online Preview
XSLT Examples
XSLT Examples
<
xsl:stylesheet
version
=
"
1.0
"
xmlns:xsl
=
"
http://www.w3.org/1999/XSL/Transform
"
<
xsl:template
match
=
"
/
"
<
html
<
body
<
h2
My CD Collection
h2
<
table
border
=
"
1
"
<
tr
bgcolor
=
"
#9acd32
"
<
th
Title
th
<
th
Artist
th
tr
<
xsl:for-each
select
=
"
catalog/cd
"
<
tr
<
td
<
xsl:value-of
select
=
"
title
"
/>
td
<
td
<
xsl:value-of
select
=
"
artist
"
/>
td
tr
xsl:for-each
table
body
html
xsl:template
xsl:stylesheet
Try it »
XSLT Reference Manual
XSLT Elements
Describes all XSLT elements from the W3C standard, along with information about browser support.
XSLT Functions
XSLT contains more than 100 built-in functions. These functions can be used for strings, numeric values, date and time comparison, node and QName manipulation, sequence manipulation, logical values, and so on.