summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAstrid Malo <kess@apache.org>2004-11-27 20:59:14 +0100
committerAstrid Malo <kess@apache.org>2004-11-27 20:59:14 +0100
commite41600008fc706c9e414d926e49e80f3eafb3fd6 (patch)
tree9f6f6562549f4b7762431c87043f01ca65f90ecb
parentAdd sample algorithm for scheduler and (diff)
downloadapache2-e41600008fc706c9e414d926e49e80f3eafb3fd6.tar.xz
apache2-e41600008fc706c9e414d926e49e80f3eafb3fd6.zip
add transformation for the two new elements <glossary> and <phonetic>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106752 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--docs/manual/style/xsl/common.xsl31
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/manual/style/xsl/common.xsl b/docs/manual/style/xsl/common.xsl
index 9a4e659ff9..da33da0048 100644
--- a/docs/manual/style/xsl/common.xsl
+++ b/docs/manual/style/xsl/common.xsl
@@ -915,6 +915,37 @@
</xsl:template>
<!-- /transnote -->
+<!-- ==================================================================== -->
+<!-- <phonetic> -->
+<!-- phonetics are enclosed in square brackets and displayed in a -->
+<!-- different color -->
+<!-- ==================================================================== -->
+<xsl:template match="phonetic">
+<span class="phonetic">
+ <xsl:text>[</xsl:text>
+ <xsl:apply-templates />
+ <xsl:text>]</xsl:text>
+</span>
+</xsl:template>
+<!-- /phonetic -->
+
+
+<!-- ==================================================================== -->
+<!-- <glossary> -->
+<!-- link to a glossary anchor -->
+<!-- ==================================================================== -->
+<xsl:template match="glossary">
+<span>
+ <xsl:attribute name="title">
+ <xsl:value-of select="$message[@id='glossarylink']" />
+ </xsl:attribute>
+ <xsl:text>&#x2192;</xsl:text>
+</span>&nbsp;
+<a href="{$path}/glossary.html#{@ref}">
+ <xsl:apply-templates />
+</a>
+</xsl:template>
+<!-- /glossary -->
<!-- ==================================================================== -->
<!-- Filter &#160; in text() nodes. -->