use different files for 'bcap' and 'ccap' for now
[util-vserver.git] / util-vserver / doc / compat-xhtml.xsl
1 <?xml version="1.0" encoding="utf-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3                 version="1.0">
4
5   <xsl:output method="xhtml"/>
6
7   <xsl:template match="/">
8     <html>
9       <head>
10         <title><xsl:apply-templates select="compatibility/title"/></title>
11       </head>
12       <body bgcolor="#FFFFFF">
13         <xsl:apply-templates select="compatibility/program">
14           <xsl:sort select="compatibility/program/location"/>
15           <xsl:sort select="compatibility/program[name]"/>
16         </xsl:apply-templates>
17       </body>
18     </html>
19   </xsl:template>
20
21   <xsl:template match="program">
22     <div class="program">
23       <h2>
24         <xsl:if test="@status">
25           <xsl:attribute name="class"><xsl:value-of select="@status"/></xsl:attribute>
26         </xsl:if>
27         <xsl:value-of select="location"/>/<xsl:value-of select="@name"/>
28       </h2>
29     </div>
30   </xsl:template>
31
32 </xsl:stylesheet>