A few scribbles toward the DTD.

This commit is contained in:
Fred Drake 1999-01-29 16:21:20 +00:00
parent 9f08666fae
commit 7859f17608
2 changed files with 47 additions and 0 deletions

4
Doc/sgml/catalog Normal file
View File

@ -0,0 +1,4 @@
CATALOG "iso/catalog"
CATALOG "oasis/catalog"
PUBLIC "+//IDN python.org//DTD Python Documentation 1.0//EN" "python.dtd"

43
Doc/sgml/python.dtd Normal file
View File

@ -0,0 +1,43 @@
<!ENTITY % common.att "
id ID #IMPLIED
role NMTOKEN #IMPLIED">
<!-- include the OASIS Exchange Table Model -->
<!ENTITY oasis-tables.mod
PUBLIC "-//OASIS//DTD Exchange Table Model 19960430//EN">
&oasis-tables.mod;
<!ELEMENT input - - EMPTY>
<!ATTLIST input
%common.att;
xml:link #FIXED "simple"
show CDATA "embed"
embed CDATA "auto"
source CDATA #REQUIRED>
<!ELEMENT (function|constant) - - (#PCDATA)>
<!ATTLIST (function|constant)
%common.att;
index (index|noindex) noindex
module CDATA #IMPLIED>
<!ELEMENT method - - (#PCDATA)>
<!ATTLIST method
%common.att;
index (index|noindex) noindex
module CDATA #IMPLIED
class CDATA #IMPLIED>
<!ELEMENT module - - (#PCDATA)>
<!ATTLIST module
%common.att;
link (link|nolink) nolink
package CDATA #IMPLIED>
<!ELEMENT signature - - (name, super*, args?)>
<!ELEMENT name - - (#PCDATA)>
<!ELEMENT super - - (#PCDATA)>
<!ELEMENT args - - (#PCDATA)>
<!ELEMENT %descriptor.class; - - (sig+, description)>
<!ELEMENT description - - (%para.mix;)>