You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2004/11/28 01:46:50 UTC
svn commit: r106775 - /httpd/httpd/trunk/docs/manual/style/common.dtd /httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
Author: nd
Date: Sat Nov 27 16:46:49 2004
New Revision: 106775
URL: http://svn.apache.org/viewcvs?view=rev&rev=106775
Log:
add <program> element
Modified:
httpd/httpd/trunk/docs/manual/style/common.dtd
httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
Modified: httpd/httpd/trunk/docs/manual/style/common.dtd
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/style/common.dtd?view=diff&rev=106775&p1=httpd/httpd/trunk/docs/manual/style/common.dtd&r1=106774&p2=httpd/httpd/trunk/docs/manual/style/common.dtd&r2=106775
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/common.dtd (original)
+++ httpd/httpd/trunk/docs/manual/style/common.dtd Sat Nov 27 16:46:49 2004
@@ -35,8 +35,8 @@
<!-- Generic tag entities -->
-<!ENTITY % inlinetags "em | strong | code | a | br | directive | module | img
-| cite | q | dfn | var | transnote | glossary | phonetic">
+<!ENTITY % inlinetags "em | strong | code | a | br | directive | module |
+program | img | cite | q | dfn | var | transnote | glossary | phonetic">
<!ENTITY % blocktags "p | example | note | table | ul | ol | dl | pre
| blockquote">
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=106775&p1=httpd/httpd/trunk/docs/manual/style/xsl/common.xsl&r1=106774&p2=httpd/httpd/trunk/docs/manual/style/xsl/common.xsl&r2=106775
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/xsl/common.xsl (original)
+++ httpd/httpd/trunk/docs/manual/style/xsl/common.xsl Sat Nov 27 16:46:49 2004
@@ -693,6 +693,20 @@
<!-- ==================================================================== -->
+<!-- <program> -->
+<!-- Inserts a link to referred program -->
+<!-- ==================================================================== -->
+<xsl:template match="program">
+<code class="program">
+ <a href="{$path}/programs/{normalize-space(.)}.html">
+ <xsl:value-of select="normalize-space(.)" />
+ </a>
+</code>
+</xsl:template>
+<!-- /program -->
+
+
+<!-- ==================================================================== -->
<!-- <related> -->
<!-- ==================================================================== -->
<xsl:template match="related">