summaryrefslogtreecommitdiffhomepage
path: root/docs/xslt
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2011-08-09 15:15:36 +0000
committerRuslan Ermilov <ru@nginx.com>2011-08-09 15:15:36 +0000
commitb0067b68537de308656799f795ab74401125b7e2 (patch)
tree8344c105ac5d1a3a32c2cf53fdf990e9e4aa31fc /docs/xslt
parentaa64c39b20c2e4d77392d9de4abf79a4c242a579 (diff)
downloadnginx-b0067b68537de308656799f795ab74401125b7e2.tar.gz
nginx-b0067b68537de308656799f795ab74401125b7e2.tar.bz2
Regen after makefile changes.
Diffstat (limited to 'docs/xslt')
-rw-r--r--docs/xslt/content.xslt24
-rw-r--r--docs/xslt/directive.xslt24
-rw-r--r--docs/xslt/module.xslt20
3 files changed, 37 insertions, 31 deletions
diff --git a/docs/xslt/content.xslt b/docs/xslt/content.xslt
index d772ecfdb..e691ad3d3 100644
--- a/docs/xslt/content.xslt
+++ b/docs/xslt/content.xslt
@@ -1,43 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
<xsl:template match="section[@name and @title]">
-
+
<a name="{@name}"/>
<center>
<h4>
- <xsl:value-of select="@title"/>
+ <xsl:value-of select="@title"/>
</h4>
</center>
+
<xsl:apply-templates/>
</xsl:template>
-
+
<xsl:template match="section[not(@name) and @title]">
-
+
<center>
<h4>
- <xsl:value-of select="@title"/>
+ <xsl:value-of select="@title"/>
</h4>
</center>
+
<xsl:apply-templates/>
</xsl:template>
-
+
<xsl:template match="section[not(@name) and not(@title)]">
<xsl:apply-templates/>
</xsl:template>
-
<xsl:template match="para">
<p>
- <xsl:apply-templates/>
+ <xsl:apply-templates/>
</p>
</xsl:template>
-
<xsl:template match="value">
<i>
- <xsl:apply-templates/>
+ <xsl:apply-templates/>
</i>
</xsl:template>
-</xsl:stylesheet> \ No newline at end of file
+
+</xsl:stylesheet>
diff --git a/docs/xslt/directive.xslt b/docs/xslt/directive.xslt
index bfadfd29b..786beb90a 100644
--- a/docs/xslt/directive.xslt
+++ b/docs/xslt/directive.xslt
@@ -1,36 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
<xsl:template match="directive">
-
+
<a name="{@name}"/>
<center>
<h4>
- <xsl:value-of select="@name"/>
+ <xsl:value-of select="@name"/>
</h4>
</center>
+
<xsl:apply-templates select="syntax"/>
+
<xsl:apply-templates select="default"/>
+
<xsl:apply-templates select="context"/>
+
<xsl:apply-templates select="para"/>
</xsl:template>
-
+
<xsl:template match="syntax">
<xsl:text>syntax: </xsl:text>
- <xsl:apply-templates/>
+ <xsl:apply-templates/>
<br/>
</xsl:template>
-
+
<xsl:template match="default">
<xsl:text>default: </xsl:text>
- <xsl:apply-templates/>
+ <xsl:apply-templates/>
<br/>
</xsl:template>
-
+
<xsl:template match="context">
<xsl:text>context: </xsl:text>
- <xsl:apply-templates/>
+ <xsl:apply-templates/>
<br/>
</xsl:template>
-</xsl:stylesheet> \ No newline at end of file
+
+</xsl:stylesheet>
diff --git a/docs/xslt/module.xslt b/docs/xslt/module.xslt
index c98ca697d..b9e041ce9 100644
--- a/docs/xslt/module.xslt
+++ b/docs/xslt/module.xslt
@@ -10,25 +10,27 @@
<xsl:variable select="/module/@link" name="LINK"/>
<xsl:include href="directive.xslt"/>
+
<xsl:include href="content.xslt"/>
-
+
<xsl:template match="/module">
-
+
<html>
<head>
-
+
<title>
- <xsl:value-of select="@title"/>
+ <xsl:value-of select="@title"/>
</title>
-
+
</head>
-
+
<body>
<xsl:apply-templates/>
-
+
</body>
-
+
</html>
</xsl:template>
-</xsl:stylesheet> \ No newline at end of file
+
+</xsl:stylesheet>