summaryrefslogtreecommitdiffhomepage
path: root/docs/xslt/content.xslt
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2011-09-05 09:33:54 +0000
committerRuslan Ermilov <ru@nginx.com>2011-09-05 09:33:54 +0000
commit52d83a3c4af2f015fc56e5a97113e919844fa069 (patch)
treee4c3f77a2d0669f46e9cb10ec5b16d79461773b2 /docs/xslt/content.xslt
parentcd7b80a8bb8dd6eb3773e53e2b16441bf1670664 (diff)
downloadnginx-52d83a3c4af2f015fc56e5a97113e919844fa069.tar.gz
nginx-52d83a3c4af2f015fc56e5a97113e919844fa069.tar.bz2
XSLT regeneration for the previous commit.
Diffstat (limited to 'docs/xslt/content.xslt')
-rw-r--r--docs/xslt/content.xslt124
1 files changed, 116 insertions, 8 deletions
diff --git a/docs/xslt/content.xslt b/docs/xslt/content.xslt
index e691ad3d3..73e0aaff3 100644
--- a/docs/xslt/content.xslt
+++ b/docs/xslt/content.xslt
@@ -1,30 +1,30 @@
<?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]">
+ <xsl:template match="section[@id and @name]">
- <a name="{@name}"/>
+ <a name="{@id}"/>
<center>
<h4>
- <xsl:value-of select="@title"/>
+ <xsl:value-of select="@name"/>
</h4>
</center>
<xsl:apply-templates/>
</xsl:template>
- <xsl:template match="section[not(@name) and @title]">
+ <xsl:template match="section[not(@id) and @name]">
<center>
<h4>
- <xsl:value-of select="@title"/>
+ <xsl:value-of select="@name"/>
</h4>
</center>
<xsl:apply-templates/>
</xsl:template>
- <xsl:template match="section[not(@name) and not(@title)]">
+ <xsl:template match="section[not(@id) and not(@name)]">
<xsl:apply-templates/>
</xsl:template>
@@ -34,10 +34,118 @@
</p>
</xsl:template>
- <xsl:template match="value">
- <i>
+ <xsl:template match="c-def">
+ <code>
+ <xsl:apply-templates/>
+ </code>
+ </xsl:template>
+
+ <xsl:template match="c-func">
+ <code>
+ <xsl:apply-templates/>
+ <xsl:text>()</xsl:text>
+ </code>
+ </xsl:template>
+
+ <xsl:template match="code">
+ <code>
+ <xsl:apply-templates/>
+ </code>
+ </xsl:template>
+
+ <xsl:template match="command">
+ <code>
+ <xsl:apply-templates/>
+ </code>
+ </xsl:template>
+
+ <xsl:template match="example">
+ <blockquote>
+ <pre>
+ <xsl:apply-templates/>
+ </pre>
+ </blockquote>
+ </xsl:template>
+
+ <xsl:template match="emphasis">
+ <strong>
<xsl:apply-templates/>
+ </strong>
+ </xsl:template>
+
+ <xsl:template match="header">
+ <code>
+ <xsl:apply-templates/>
+ </code>
+ </xsl:template>
+
+ <xsl:template match="http-error">
+
+ <i>
+ <xsl:text>"</xsl:text>
+ <xsl:value-of select="@text"/>
+ <xsl:text>"</xsl:text>
</i>
+
+ <xsl:text> (</xsl:text>
+ <xsl:value-of select="@code"/>
+ <xsl:text>)</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="link[@id and not(@doc)]">
+ <a href="#{@id}">
+ <xsl:apply-templates/>
+ </a>
+ </xsl:template>
+
+ <xsl:template match="link">
+ <u>
+ <xsl:apply-templates/>
+ </u>
+ </xsl:template>
+
+ <xsl:template match="list[@type='bullet']">
+ <ul>
+ <xsl:apply-templates/>
+ </ul>
+ </xsl:template>
+
+ <xsl:template match="list[@type='enum']">
+ <ol>
+ <xsl:apply-templates/>
+ </ol>
+ </xsl:template>
+
+ <xsl:template match="listitem">
+ <li>
+ <xsl:apply-templates/>
+ </li>
+ </xsl:template>
+
+ <xsl:template match="argument">
+ <code>
+ <i>
+ <xsl:apply-templates/>
+ </i>
+ </code>
+ </xsl:template>
+
+ <xsl:template match="parameter">
+ <code>
+ <xsl:apply-templates/>
+ </code>
+ </xsl:template>
+
+ <xsl:template match="value">
+ <code>
+ <xsl:apply-templates/>
+ </code>
+ </xsl:template>
+
+ <xsl:template match="var">
+ <code>
+ <xsl:apply-templates/>
+ </code>
</xsl:template>
</xsl:stylesheet>