Compact syntax parsing fixes
[cxml-rng.git] / index.xsl
blob4ac997138e977b0d4f3c0338932ff3efb39d7e73
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 <div style="margin-left: 15px">
44 <b>
45 <span>cxml&#x2013;</span>
46 <span style="color: #ff9500">rng</span>
47 &#160;&#160;
48 Relax NG for Closure XML
49 </b>
50 </div>
51 </div>
52 </xsl:template>
53 </xsl:stylesheet>