non-element\'-cache
[cxml-rng.git] / index.xsl
blob7e3fedcf60361a6a81c5d95f2447dffc656aebf8
1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
2 <xsl:output method="html"
3 indent="yes"
4 doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
5 doctype-system="http://www.w3.org/TR/html4/loose.dtd"/>
7 <xsl:template match="@*|node()">
8 <xsl:copy>
9 <xsl:apply-templates select="@*|node()"/>
10 </xsl:copy>
11 </xsl:template>
13 <xsl:template match="/">
14 <html>
15 <head>
16 <title>
17 cxml-rng: Relax NG for Closure XML
18 </title>
19 <link rel="stylesheet" type="text/css" href="index.css"/>
20 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
21 </head>
22 <body style="width: 62em">
23 <xsl:call-template name="header"/>
24 <xsl:apply-templates/>
25 </body>
26 </html>
27 </xsl:template>
29 <xsl:template match="page">
30 <div id="homepage" class="main">
31 <xsl:apply-templates/>
32 </div>
33 </xsl:template>
35 <xsl:template match="blau">
36 <span style="color: black">
37 <xsl:apply-templates/>
38 </span>
39 </xsl:template>
41 <xsl:template name="header">
42 <div id="header">
43 <table cellspacing="0" cellpadding="0" width="100%">
44 <tr>
45 <td width="176">
46 <img src="doc/logo.png"/>
47 </td>
48 <td valign="center">
49 &#x2014;
50 <b> Relax NG for Closure XML</b>
51 </td>
52 </tr>
53 </table>
54 </div>
55 </xsl:template>
56 </xsl:stylesheet>