Model structured documents with elements, attributes, namespaces, schemas, parsing, and transformations.
Lessons
Transform XML into HTML or another XML structure.
XSLT & Transformations is easiest to learn by reading the example, changing it, and observing the result.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html><body>
<h1>Lessons</h1>
<ul>
<xsl:for-each select="lessons/lesson">
<xsl:sort select="title"/>
<li><xsl:value-of select="title"/></li>
</xsl:for-each>
</ul>
</body></html>
</xsl:template>
</xsl:stylesheet>Practice the XSLT & Transformations example in a small scratch file, then explain what changed and why.