diff options
author | Fred Drake <fdrake@acm.org> | 1999-01-29 16:21:20 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-01-29 16:21:20 (GMT) |
commit | 7859f176085bd70a1f580b38624467524db5f701 (patch) | |
tree | 1f349094ae9a84440f7cbf49e5bc660019b9bc49 | |
parent | 9f08666faebb9c7f1688517c60f848e2b7483943 (diff) | |
download | cpython-7859f176085bd70a1f580b38624467524db5f701.zip cpython-7859f176085bd70a1f580b38624467524db5f701.tar.gz cpython-7859f176085bd70a1f580b38624467524db5f701.tar.bz2 |
A few scribbles toward the DTD.
-rw-r--r-- | Doc/sgml/catalog | 4 | ||||
-rw-r--r-- | Doc/sgml/python.dtd | 43 |
2 files changed, 47 insertions, 0 deletions
diff --git a/Doc/sgml/catalog b/Doc/sgml/catalog new file mode 100644 index 0000000..7546c22 --- /dev/null +++ b/Doc/sgml/catalog @@ -0,0 +1,4 @@ +CATALOG "iso/catalog" +CATALOG "oasis/catalog" + +PUBLIC "+//IDN python.org//DTD Python Documentation 1.0//EN" "python.dtd" diff --git a/Doc/sgml/python.dtd b/Doc/sgml/python.dtd new file mode 100644 index 0000000..e9bf50a --- /dev/null +++ b/Doc/sgml/python.dtd @@ -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;)> |