1 |
<!-- ...................................................................... --> |
2 |
<!-- Hypertext Markup Language 3.0 (draft 00) |
3 |
QName (Qualified Name) Module ................................ --> |
4 |
<!-- file: html30-00-qname.mod |
5 |
|
6 |
|
7 |
|
8 |
Copyright 2005 Wakaba <w@suika.fam.cx>, All Rights Reserved. |
9 |
|
10 |
Permission to use, copy, modify and distribute this DTD and its |
11 |
accompanying documentation for any purpose and without fee is hereby |
12 |
granted in perpetuity, provided that the above copyright notice and |
13 |
this paragraph appear in all copies. The copyright holders make no |
14 |
representation about the suitability of the DTD for any purpose. |
15 |
|
16 |
It is provided "as is" without expressed or implied warranty. |
17 |
|
18 |
Revision: 2005-04-05T01:46:48+00:00 (Generated by mkdtds/1.06) |
19 |
|
20 |
This DTD module is identified by the SYSTEM identifier: |
21 |
|
22 |
SYSTEM "http://suika.fam.cx/www/markup/html/dtd/module/html30-00-qname.mod" |
23 |
|
24 |
...................................................................... --> |
25 |
|
26 |
<!-- Hypertext Markup Language QName (Qualified Name) Module |
27 |
|
28 |
This module is contained in two parts, labeled Section 'A' and 'B': |
29 |
|
30 |
Section A declares parameter entities to support namespace-qualified |
31 |
names, namespace declarations, and name prefixing. |
32 |
|
33 |
Section B declares parameter entities used to provide namespace-qualified |
34 |
names for all element types and global attribute names. |
35 |
--> |
36 |
|
37 |
<!ENTITY % sgml.tag.minimizable "IGNORE"> |
38 |
|
39 |
<!ENTITY % NS.prefixed "IGNORE"> |
40 |
|
41 |
<!-- Section A: XML Namespace Framework :::::::::::::::::::::::::: --> |
42 |
|
43 |
<!-- 1. Declare a %html30-00.prefixed; conditional section keyword, used |
44 |
to activate namespace prefixing. --> |
45 |
<!ENTITY % html30-00.prefixed "%NS.prefixed;"> |
46 |
|
47 |
<!ENTITY % html30-00.global.attrs.prefixed "%NS.prefixed;"> |
48 |
|
49 |
<!ENTITY % html30-00.xsi.attrs "INCLUDE"> |
50 |
|
51 |
<!-- 2. Declare a parameter entity %html30-00.xmlns; containing |
52 |
the URI reference used to identity the namespace. --> |
53 |
<!ENTITY % html30-00.xmlns "urn:x-suika-fam-cx:markup:ietf:html:3:draft:00:"> |
54 |
|
55 |
<!-- 3. Declare parameter entity %html30-00.prefix; containing |
56 |
the default namespace prefix string to use when prefixing |
57 |
is enabled. This may be overridden in the DTD driver or the |
58 |
internal subset of a document instance. |
59 |
|
60 |
NOTE: As specified in XML Namespace speficications, the namespace |
61 |
prefix serves as a proxy for the URI reference, and is not in itself |
62 |
significant. --> |
63 |
<!ENTITY % html30-00.prefix "H3"> |
64 |
|
65 |
<!-- 4. Declare parameter entity %html30-00.pfx; containing the |
66 |
colonized prefix (e.g, '%html30-00.prefix;:') used when |
67 |
prefixing is active, an empty string when it is not. --> |
68 |
<![%html30-00.prefixed;[ |
69 |
<!ENTITY % html30-00.pfx "%html30-00.prefix;:"> |
70 |
]]> |
71 |
<!ENTITY % html30-00.pfx ""> |
72 |
|
73 |
<!-- declare qualified name extensions here ............ --> |
74 |
<!ENTITY % html30-00-qname-extra.mod ""> |
75 |
%html30-00-qname-extra.mod; |
76 |
|
77 |
<!-- 5. The parameter entity %html30-00.xmlns.extra.attrib; may be |
78 |
redeclared to contain any foreign namespace declaration |
79 |
attributes for namespaces embedded. The default |
80 |
is an empty string. --> |
81 |
<!ENTITY % html30-00.xmlns.extra.attrib ""> |
82 |
|
83 |
<!-- The parameter entity %URI.datatype; should already be defined in |
84 |
Datatype module. --> |
85 |
<!ENTITY % URI.datatype "CDATA"> |
86 |
|
87 |
<![%html30-00.prefixed;[ |
88 |
<!ENTITY % html30-00.xmlns.decl.attrib |
89 |
"xmlns:%html30-00.prefix; %URI.datatype; #FIXED '%html30-00.xmlns;'"> |
90 |
]]> |
91 |
<!ENTITY % html30-00.xmlns.decl.attrib |
92 |
"xmlns %URI.datatype; #FIXED '%html30-00.xmlns;'"> |
93 |
|
94 |
<!-- Declare a parameter entity %XSI.prefix as a prefix to use for |
95 |
XML Schema Instance attributes. --> |
96 |
<!ENTITY % XSI.prefix "xsi"> |
97 |
|
98 |
<!ENTITY % XSI.pfx "%XSI.prefix;:"> |
99 |
|
100 |
<!ENTITY % XSI.xmlns "http://www.w3.org/2001/XMLSchema-instance"> |
101 |
|
102 |
<!-- Declare a parameter entity %XSI.xmlns.attrib as support for |
103 |
the schemaLocation attribute. --> |
104 |
<!ENTITY % XSI.xmlns.attrib |
105 |
"xmlns:%XSI.prefix; %URI.datatype; #FIXED '%XSI.xmlns;'"> |
106 |
|
107 |
<![%html30-00.prefixed;[ |
108 |
<!ENTITY % NS.decl.attrib |
109 |
"%html30-00.xmlns.decl.attrib; |
110 |
%html30-00.xmlns.extra.attrib; |
111 |
%XSI.xmlns.attrib;"> |
112 |
]]> |
113 |
<!ENTITY % NS.decl.attrib |
114 |
"%html30-00.xmlns.extra.attrib; |
115 |
%XSI.xmlns.attrib;"> |
116 |
|
117 |
<!-- Declare a parameter entity containing all XML namespace declaration |
118 |
attributes used, including a default xmlns declaration when prefixing |
119 |
is inactive. --> |
120 |
<![%html30-00.prefixed;[ |
121 |
<!ENTITY % html30-00.xmlns.attrib |
122 |
"%NS.decl.attrib;"> |
123 |
]]> |
124 |
<!ENTITY % html30-00.xmlns.attrib |
125 |
"%html30-00.xmlns.decl.attrib; |
126 |
%NS.decl.attrib;"> |
127 |
|
128 |
<!-- Section B: Hypertext Markup Language Qualified Names ::::::::: --> |
129 |
|
130 |
<!-- placeholder for qualified name redeclarations --> |
131 |
<!ENTITY % html30-00-qname.redecl ""> |
132 |
%html30-00-qname.redecl; |
133 |
|
134 |
<!-- 6. This section declare parameter entities used to provide |
135 |
namespace-qualified names for all element types and global |
136 |
attribute names. --> |
137 |
<!ENTITY % html30-00.au.qname "%html30-00.pfx;au"> |
138 |
<!ENTITY % html30-00.banner.qname "%html30-00.pfx;banner"> |
139 |
<!ENTITY % html30-00.bodytext.qname "%html30-00.pfx;bodytext"> |
140 |
<!ENTITY % html30-00.credit.qname "%html30-00.pfx;credit"> |
141 |
<!ENTITY % html30-00.fig.qname "%html30-00.pfx;fig"> |
142 |
<!ENTITY % html30-00.figtext.qname "%html30-00.pfx;figtext"> |
143 |
<!ENTITY % html30-00.fn.qname "%html30-00.pfx;fn"> |
144 |
<!ENTITY % html30-00.lh.qname "%html30-00.pfx;lh"> |
145 |
<!ENTITY % html30-00.note.qname "%html30-00.pfx;note"> |
146 |
<!ENTITY % html30-00.overlay.qname "%html30-00.pfx;overlay"> |
147 |
<!ENTITY % html30-00.person.qname "%html30-00.pfx;person"> |
148 |
<!ENTITY % html30-00.tab.qname "%html30-00.pfx;tab"> |
149 |
|
150 |
|
151 |
|
152 |
<!-- end of html30-00-qname.mod --> |