]> granicus.if.org Git - apache/commitdiff
Add a DTD for the new module docs.
authorJoshua Slive <slive@apache.org>
Wed, 6 Mar 2002 16:19:35 +0000 (16:19 +0000)
committerJoshua Slive <slive@apache.org>
Wed, 6 Mar 2002 16:19:35 +0000 (16:19 +0000)
At the moment, not everything will validate with this DTD.  This could be
for a couple reasons:

1. The DTD needs some slight adjustments.

2. The xml needs some slight adjustments.

On the other hand, some things like mod_rewrite.xml are so far from this
DTD that I don't think I will bother trying to make it validate right
now.

Submitted By: Brad Miller <brad@beldamar.com>, Joshua Slive

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93728 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/modulesynopsis.dtd [new file with mode: 0644]

diff --git a/docs/manual/style/modulesynopsis.dtd b/docs/manual/style/modulesynopsis.dtd
new file mode 100644 (file)
index 0000000..65b3c30
--- /dev/null
@@ -0,0 +1,109 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!ENTITY nbsp "&#160;">
+
+<!ENTITY % inlinetags "em | strong | code | a | br | directive | module">
+
+<!ENTITY % blocktags "p | example | note | table | ul | ol | dl | pre
+| blockquote">
+
+<!ENTITY % Block "(%blocktags;)*">
+
+<!ENTITY % Inline "(#PCDATA | %inlinetags;)*">
+
+<!ENTITY % BlockOrInline "(#PCDATA | %inlinetags; | %blocktags;)*">
+
+<!ELEMENT modulesynopsis (name , description, status , sourcefile?,
+identifier? , compatibility? , summary? , seealso* , section*,
+directivesynopsis+)>
+
+<!ELEMENT directivesynopsis (name , description? , syntax? , default?
+, contextlist? , override? , modulelist?, compatibility? , usage?, seealso*)>
+
+<!ELEMENT name (#PCDATA)>
+
+<!ELEMENT status (#PCDATA)>
+
+<!ELEMENT identifier (#PCDATA)>
+
+<!ELEMENT sourcefile (#PCDATA)>
+
+<!ELEMENT compatibility %Inline;>
+
+<!ELEMENT description %Inline;>
+
+<!ELEMENT section (section | title | %blocktags;)*>
+
+<!ELEMENT module (#PCDATA)>
+
+<!ELEMENT example (#PCDATA | title | %inlinetags; | %blocktags;)*>
+
+<!ELEMENT seealso %Inline;>
+
+<!ELEMENT a %Inline;>
+
+<!ATTLIST a  href CDATA  #REQUIRED >
+
+<!ATTLIST directivesynopsis  type CDATA  #IMPLIED
+                             location CDATA  #IMPLIED >
+
+<!ELEMENT syntax %Inline;>
+
+<!ELEMENT default (#PCDATA)>
+
+<!ELEMENT contextlist (context+)+>
+
+<!ELEMENT modulelist (module)+>
+
+<!ELEMENT context (#PCDATA)>
+
+<!ELEMENT override (#PCDATA)>
+
+<!ELEMENT note (#PCDATA | title | %inlinetags; | %blocktags;)*>
+<!ATTLIST note type CDATA #IMPLIED>
+
+<!ELEMENT title %Inline;>
+
+<!ELEMENT p %Inline;>
+
+<!ELEMENT ul (li+)>
+
+<!ELEMENT ol (li+)>
+
+<!ELEMENT li %BlockOrInline;>
+
+<!ELEMENT strong %Inline;>
+
+<!ELEMENT br EMPTY>
+
+<!ELEMENT table (tr)+>
+
+<!ELEMENT tr (td)+>
+
+<!ELEMENT td %BlockOrInline;>
+
+<!ATTLIST td  colspan CDATA  #IMPLIED
+                rowspan CDATA  #IMPLIED
+                class   CDATA  #IMPLIED >
+<!ELEMENT directive (#PCDATA)>
+
+<!ATTLIST directive  module CDATA  #IMPLIED
+                     type   CDATA  #IMPLIED >
+
+<!ELEMENT code %Inline;>
+
+<!ELEMENT dl (dd | dt)+>
+
+<!ELEMENT dt %Inline;>
+
+<!ELEMENT dd %BlockOrInline;>
+
+<!ELEMENT em %Inline;>
+
+<!ELEMENT usage %Block;>
+
+<!ELEMENT summary %Block;>
+
+<!ELEMENT blockquote %BlockOrInline;>
+
+<!ELEMENT pre %Inline;>
\ No newline at end of file