Commit b2e17ec3 authored by Andre Malo's avatar Andre Malo
Browse files

add program element


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@106837 13f79535-47bb-0310-9956-ffa450edef68
parent 668313bf
Loading
Loading
Loading
Loading
+3 −1
Changes for docs/manual/style/common.dtd: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -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">
@@ -73,6 +73,8 @@ img | cite | q | dfn | var | transnote | glossary | phonetic">
                     type   CDATA  #IMPLIED
                     status CDATA  #IMPLIED >

<!ELEMENT program (#PCDATA)>

<!ELEMENT p %Inline;>
<!ATTLIST p class CDATA  #IMPLIED>

+14 −0
Changes for docs/manual/style/xsl/common.xsl: 14 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -699,6 +699,20 @@
<!-- /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>                                                            -->
<!-- ==================================================================== -->