You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ke...@apache.org on 2004/11/27 20:59:15 UTC
svn commit: r106752 - /httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
Author: kess
Date: Sat Nov 27 11:59:14 2004
New Revision: 106752
URL: http://svn.apache.org/viewcvs?view=rev&rev=106752
Log:
add transformation for the two new elements <glossary> and <phonetic>
Modified:
httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
Modified: httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/style/xsl/common.xsl?view=diff&rev=106752&p1=httpd/httpd/trunk/docs/manual/style/xsl/common.xsl&r1=106751&p2=httpd/httpd/trunk/docs/manual/style/xsl/common.xsl&r2=106752
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/xsl/common.xsl (original)
+++ httpd/httpd/trunk/docs/manual/style/xsl/common.xsl Sat Nov 27 11:59:14 2004
@@ -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>→</xsl:text>
+</span>
+<a href="{$path}/glossary.html#{@ref}">
+ <xsl:apply-templates />
+</a>
+</xsl:template>
+<!-- /glossary -->
<!-- ==================================================================== -->
<!-- Filter   in text() nodes. -->