Latest web development tutorials

XSLT tutorial

XSL means Extensible Stylesheet Language (EXtensible Stylesheet Language), which is a style sheet language of XML documents.

XSLT XSL transformation means. In this tutorial, you will learn how to use XSLT to transform XML documents into other documents, such as XHTML.

Get started now with XSLT!

XSLT examples


XSLT examples

<?xml version="1.0"?>

<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
All XSLT elements from the W3C standard are described, as well as information on browser support.

XSLT functions
XSLT includes over 100 built-in functions. These functions can be used for string, numeric, date and time comparison, node and QName manipulation, sequence manipulation, Boolean values, and so on.