1 <?xml version="1.0" encoding="utf-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns="http://www.w3.org/1999/xhtml"
6 <xsl:output method="xml"
8 doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
9 doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
11 <xsl:template match="/">
14 <title><xsl:apply-templates select="compatibility/title"/></title>
17 <xsl:apply-templates select="compatibility/program">
18 <xsl:sort select="compatibility/program/location"/>
19 <xsl:sort select="compatibility/program[name]"/>
20 </xsl:apply-templates>
25 <xsl:template match="program">
28 <xsl:if test="@status">
29 <xsl:attribute name="class"><xsl:value-of select="@status"/></xsl:attribute>
31 <xsl:value-of select="location"/>/<xsl:value-of select="@name"/>