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 <h2>Related links</h2>
21 <li><a href="http://www.m17n.org/FLIM/">FLIM</a></li>
22 <li><a href="http://www.m17n.org/SEMI/">SEMI</a></li>
23 <li><a href="http://cvs.m17n.org/">cvs.m17n.org</a></li>
24 <li><a href="http://cvs.m17n.org/cvs/anonymous.ja.html">How to explore cvs repository</a></li>
26 <xsl:apply-templates select="product"/>
28 <a href="http://jigsaw.w3.org/css-validator"><img
29 src="http://jigsaw.w3.org/css-validator/images/vcss.gif"
30 alt="Valid CSS!" height="31" width="88" /></a>
31 <a href="http://validator.w3.org/check/referer"><img
32 src="http://validator.w3.org/images/vxhtml10"
33 alt="Valid XHTML 1.0!" height="31" width="88" /></a>
39 <xsl:template match="product">
40 <h2><xsl:value-of select="@name"/>/<xsl:value-of select="@version"/></h2>
41 <xsl:apply-templates select="variant"/>
44 <xsl:template match="variant">
45 <table border="1" width="99%">
50 <td><xsl:value-of select="@name"/></td>
54 <td><xsl:value-of select="@version"/></td>
60 <xsl:when test="maintainer/@href">
61 <a href="{maintainer/@href}"><xsl:value-of select="maintainer"/></a>
64 <xsl:value-of select="maintainer"/>
69 <tr><th>description</th><td><xsl:value-of select="description"/></td></tr>
70 <xsl:apply-templates select="implementation"/>
75 <xsl:template match="implementation">
76 <xsl:apply-templates select="codebase"/>
77 <xsl:apply-templates select="dependency"/>
80 <xsl:template match="codebase">
85 <xsl:when test="@cvsroot">
88 <tr><th>CVSROOT</th><td><xsl:value-of select="@cvsroot"/></td></tr>
89 <tr><th>module</th><td><xsl:value-of select="@module"/></td></tr>
90 <tr><th>tag</th><td><xsl:value-of select="@tag"/></td></tr>
95 <a href="@href"><xsl:value-of select="@href"/></a>
102 <xsl:template name="separate">
103 <xsl:if test="position() < last()">
104 <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
108 <xsl:template match="variant|product" mode="dependency.mode">
109 <xsl:value-of select="@name"/> (<xsl:value-of select="@version"/>)
110 <xsl:call-template name="separate"/>
113 <xsl:template match="dependency">
117 <xsl:apply-templates select="./*" mode="dependency.mode"/>