XSLT course


XSL Refers to the extended style sheet language (EXtensible Stylesheet Language), It's a XML The style sheet language of the document .

XSLT Means XSL transformation . In this tutorial , You will learn how to use XSLT Will XML Convert document to another document , such as XHTML.

Now start learning XSLT !

XSLT example


XSLT example

<? 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 >

Give it a try »

XSLT Reference manual

XSLT element
For all from W3C Standard XSLT Elements are described , And information about browser support .

XSLT function
XSLT Contains more than 100 A built-in function . These functions can be used for string 、 Values 、 Date and time comparison 、 Node and QName handle , Sequence processing , Logical values, etc .