httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject svn commit: r106837 - /httpd/httpd/branches/2.0.x/docs/manual/style/common.dtd /httpd/httpd/branches/2.0.x/docs/manual/style/xsl/common.xsl
Date Sun, 28 Nov 2004 19:20:49 GMT
Author: nd
Date: Sun Nov 28 11:20:48 2004
New Revision: 106837

URL: http://svn.apache.org/viewcvs?view=rev&rev=106837
Log:
add program element

Modified:
   httpd/httpd/branches/2.0.x/docs/manual/style/common.dtd
   httpd/httpd/branches/2.0.x/docs/manual/style/xsl/common.xsl

Modified: httpd/httpd/branches/2.0.x/docs/manual/style/common.dtd
Url: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/docs/manual/style/common.dtd?view=diff&rev=106837&p1=httpd/httpd/branches/2.0.x/docs/manual/style/common.dtd&r1=106836&p2=httpd/httpd/branches/2.0.x/docs/manual/style/common.dtd&r2=106837
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/style/common.dtd	(original)
+++ httpd/httpd/branches/2.0.x/docs/manual/style/common.dtd	Sun Nov 28 11:20:48 2004
@@ -36,7 +36,7 @@
 <!-- Generic tag entities -->
 
 <!ENTITY % inlinetags "em | strong | code | a | br | directive | module |
-img | cite | q | dfn | var | transnote | glossary | phonetic">
+program | img | cite | q | dfn | var | transnote | glossary | phonetic">
 
 <!ENTITY % blocktags "p | example | note | table | ul | ol | dl | pre
 | blockquote">
@@ -72,6 +72,8 @@
 <!ATTLIST directive  module CDATA  #IMPLIED
                      type   CDATA  #IMPLIED
                      status CDATA  #IMPLIED >
+
+<!ELEMENT program (#PCDATA)>
 
 <!ELEMENT p %Inline;>
 <!ATTLIST p class CDATA  #IMPLIED>

Modified: httpd/httpd/branches/2.0.x/docs/manual/style/xsl/common.xsl
Url: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/docs/manual/style/xsl/common.xsl?view=diff&rev=106837&p1=httpd/httpd/branches/2.0.x/docs/manual/style/xsl/common.xsl&r1=106836&p2=httpd/httpd/branches/2.0.x/docs/manual/style/xsl/common.xsl&r2=106837
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/style/xsl/common.xsl	(original)
+++ httpd/httpd/branches/2.0.x/docs/manual/style/xsl/common.xsl	Sun Nov 28 11:20:48 2004
@@ -700,6 +700,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">

Mime
View raw message