1 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform" version=
"1.0">
2 <xsl:output method=
"html"
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()">
9 <xsl:apply-templates select=
"@*|node()"/>
13 <xsl:template match=
"/">
14 <xsl:apply-templates/>
17 <xsl:template match=
"pages">
18 <xsl:apply-templates/>
21 <xsl:template match=
"main-page">
22 <xsl:call-template name=
"page"/>
25 <xsl:template match=
"page">
26 <xsl:document href=
"{@pathname}"
29 doctype-public=
"-//W3C//DTD HTML 4.01 Transitional//EN"
30 doctype-system=
"http://www.w3.org/TR/html4/loose.dtd">
31 <xsl:call-template name=
"page"/>
35 <xsl:template name=
"page">
39 <xsl:value-of select=
"@title"/>
41 <link rel=
"stylesheet" type=
"text/css" href=
"{@base}doc.css"/>
42 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8"/>
45 <xsl:call-template name=
"header">
46 <xsl:with-param name=
"base" select=
"@base"/>
49 <xsl:apply-templates/>
55 <xsl:template name=
"header">
56 <xsl:param name=
"base"/>
58 <table cellspacing=
"0" cellpadding=
"0" width=
"100%">
61 <a id=
"headerlink" href=
"{$base}../index.html">
62 <img src=
"{$base}logo.png" border=
"0"/>
67 <b> Relax NG for Closure XML
</b>
69 <td valign=
"center" align=
"right">
70 <b>API documentation
</b>