]> granicus.if.org Git - apache/commitdiff
add <program> element
authorAndré Malo <nd@apache.org>
Sun, 28 Nov 2004 00:46:49 +0000 (00:46 +0000)
committerAndré Malo <nd@apache.org>
Sun, 28 Nov 2004 00:46:49 +0000 (00:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106775 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/common.dtd
docs/manual/style/xsl/common.xsl

index 48db6bdf1939cb79d317373a16a546ca89833239..6172b5a5badc9b039f3ba972c96a97096829ae67 100644 (file)
@@ -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">
index da33da00486f3c6af43f796c02630dfcaa0163f8..1873135cc1c7c0ad939902e4a76b94b133abd2b6 100644 (file)
 <!-- /module -->
 
 
+<!-- ==================================================================== -->
+<!-- <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>                                                            -->
 <!-- ==================================================================== -->