2 <!-- Copyright (C) 2000 Daiki Ueno. -->
4 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
5 <xsl:output method="xml" encoding="UTF-8"/>
6 <xsl:output doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
7 doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"/>
9 <xsl:template match="products">
10 <html xmlns="http://www.w3.org/1999/xhtml">
12 <title>SEMI family products</title>
13 <meta content="text/html" http-equiv="Content-Type"/>
14 <link href="default.css" type="text/css" rel="stylesheet" />
15 <meta content="text/css" http-equiv="Content-Style-Type" />
18 <h1>SEMI family products</h1>
19 <xsl:apply-templates select="product"/>
24 <xsl:template match="product">
25 <h2><xsl:value-of select="@name"/>/<xsl:value-of select="@version"/></h2>
26 <xsl:apply-templates select="variant"/>
29 <xsl:template match="variant">
30 <table border="1" width="99%">
33 <th width="17%">name</th>
34 <td><xsl:value-of select="@name"/></td>
38 <td><xsl:value-of select="@version"/></td>
44 <xsl:when test="maintainer/@href">
45 <a href="{maintainer/@href}"><xsl:value-of select="maintainer"/></a>
48 <xsl:value-of select="maintainer"/>
53 <tr><th>description</th><td><xsl:value-of select="description"/></td></tr>
54 <xsl:apply-templates select="implementation"/>
59 <xsl:template match="implementation">
60 <xsl:apply-templates select="codebase"/>
61 <xsl:apply-templates select="dependency"/>
64 <xsl:template match="codebase">
69 <xsl:when test="@cvsroot">
72 <tr><th>CVSROOT</th><td><xsl:value-of select="@cvsroot"/></td></tr>
73 <tr><th>module</th><td><xsl:value-of select="@module"/></td></tr>
74 <tr><th>tag</th><td><xsl:value-of select="@tag"/></td></tr>
79 <a href="@href"><xsl:value-of select="@href"/></a>
86 <xsl:template name="separate">
87 <xsl:if test="position() < last()">
88 <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
92 <xsl:template match="variant|product" mode="dependency.mode">
93 <xsl:value-of select="@name"/> (<xsl:value-of select="@version"/>)
94 <xsl:call-template name="separate"/>
97 <xsl:template match="dependency">
101 <xsl:apply-templates select="./*" mode="dependency.mode"/>