Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7859f17

Browse files
committed
A few scribbles toward the DTD.
1 parent 9f08666 commit 7859f17

2 files changed

Lines changed: 47 additions & 0 deletions

File tree

Doc/sgml/catalog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CATALOG "iso/catalog"
2+
CATALOG "oasis/catalog"
3+
4+
PUBLIC "+//IDN python.org//DTD Python Documentation 1.0//EN" "python.dtd"

Doc/sgml/python.dtd

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!ENTITY % common.att "
2+
id ID #IMPLIED
3+
role NMTOKEN #IMPLIED">
4+
5+
<!-- include the OASIS Exchange Table Model -->
6+
<!ENTITY oasis-tables.mod
7+
PUBLIC "-//OASIS//DTD Exchange Table Model 19960430//EN">
8+
&oasis-tables.mod;
9+
10+
<!ELEMENT input - - EMPTY>
11+
<!ATTLIST input
12+
%common.att;
13+
xml:link #FIXED "simple"
14+
show CDATA "embed"
15+
embed CDATA "auto"
16+
source CDATA #REQUIRED>
17+
18+
<!ELEMENT (function|constant) - - (#PCDATA)>
19+
<!ATTLIST (function|constant)
20+
%common.att;
21+
index (index|noindex) noindex
22+
module CDATA #IMPLIED>
23+
24+
<!ELEMENT method - - (#PCDATA)>
25+
<!ATTLIST method
26+
%common.att;
27+
index (index|noindex) noindex
28+
module CDATA #IMPLIED
29+
class CDATA #IMPLIED>
30+
31+
<!ELEMENT module - - (#PCDATA)>
32+
<!ATTLIST module
33+
%common.att;
34+
link (link|nolink) nolink
35+
package CDATA #IMPLIED>
36+
37+
<!ELEMENT signature - - (name, super*, args?)>
38+
<!ELEMENT name - - (#PCDATA)>
39+
<!ELEMENT super - - (#PCDATA)>
40+
<!ELEMENT args - - (#PCDATA)>
41+
42+
<!ELEMENT %descriptor.class; - - (sig+, description)>
43+
<!ELEMENT description - - (%para.mix;)>

0 commit comments

Comments
 (0)