1 |
w |
1.1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
|
|
<!-- ....................................................................... --> |
3 |
|
|
<!-- HLink Qname Module ................................................... --> |
4 |
|
|
<!-- URI: http://www.w3.org/2002/06/hlink-qname.mod |
5 |
|
|
|
6 |
|
|
This is HLink - a link recongnition mechanism for the XHTML Family. |
7 |
|
|
|
8 |
|
|
Copyright ©2002 W3C (MIT, INRIA, Keio), All Rights Reserved. |
9 |
|
|
|
10 |
|
|
Revision: Id: hlink-qname.mod,v 1.2 2002/09/06 16:43:51 mimasa Exp |
11 |
|
|
|
12 |
|
|
This DTD module is identified by the PUBLIC and SYSTEM identifiers: |
13 |
|
|
|
14 |
|
|
PUBLIC "-//W3C//ENTITIES HLink Qualified Names 1.0//EN" |
15 |
|
|
SYSTEM "http://www.w3.org/2002/06/hlink-qname.mod" |
16 |
|
|
|
17 |
|
|
Revisions: |
18 |
|
|
(none) |
19 |
|
|
....................................................................... --> |
20 |
|
|
|
21 |
|
|
<!-- HLink Qname (Qualified Name) Module |
22 |
|
|
|
23 |
|
|
This module is contained in two parts, labeled Section 'A' and 'B': |
24 |
|
|
|
25 |
|
|
Section A declares parameter entities to support namespace- |
26 |
|
|
qualified names, namespace declarations, and name prefixing |
27 |
|
|
for HLink and extensions. |
28 |
|
|
|
29 |
|
|
Section B declares parameter entities used to provide |
30 |
|
|
namespace-qualified names for all HLink element types: |
31 |
|
|
|
32 |
|
|
%HLINK.hlinks.qname; the xmlns-qualified name for <hlinks> |
33 |
|
|
... |
34 |
|
|
--> |
35 |
|
|
|
36 |
|
|
<!-- Section A: HLink XML Namespace Framework :::::::::::::::::::: --> |
37 |
|
|
|
38 |
|
|
<!-- 1. Declare a %HLINK.prefixed; conditional section keyword, used |
39 |
|
|
to activate namespace prefixing. The default value should |
40 |
|
|
inherit '%HLINK.NS.prefixed;' from the DTD driver, so that unless |
41 |
|
|
overridden, the default behaviour follows the overall DTD |
42 |
|
|
prefixing scheme. |
43 |
|
|
--> |
44 |
|
|
<!ENTITY % HLINK.NS.prefixed "IGNORE" > |
45 |
|
|
<!ENTITY % HLINK.prefixed "%HLINK.NS.prefixed;" > |
46 |
|
|
|
47 |
|
|
<!-- 2. Declare a parameter entity (eg., %HLINK.xmlns;) containing |
48 |
|
|
the URI reference used to identify the HLink namespace |
49 |
|
|
--> |
50 |
|
|
<!ENTITY % HLINK.xmlns "http://www.w3.org/2002/06/hlink" > |
51 |
|
|
|
52 |
|
|
<!-- 3. Declare parameter entities (eg., %MODULE.prefix;) containing |
53 |
|
|
the default namespace prefix string(s) to use when prefixing |
54 |
|
|
is enabled. This may be overridden in the DTD driver or the |
55 |
|
|
internal subset of an document instance. If no default prefix |
56 |
|
|
is desired, this may be declared as an empty string. |
57 |
|
|
|
58 |
|
|
NOTE: As specified in [XMLNAMES], the namespace prefix serves |
59 |
|
|
as a proxy for the URI reference, and is not in itself significant. |
60 |
|
|
--> |
61 |
|
|
<!ENTITY % HLINK.prefix "hlink" > |
62 |
|
|
|
63 |
|
|
<!-- 4. Declare parameter entities (eg., %HLINK.pfx;) containing the |
64 |
|
|
colonized prefix(es) (eg., '%HLINK.prefix;:') used when |
65 |
|
|
prefixing is active, an empty string when it is not. |
66 |
|
|
--> |
67 |
|
|
<![%HLINK.prefixed;[ |
68 |
|
|
<!ENTITY % HLINK.pfx "%HLINK.prefix;:" > |
69 |
|
|
]]> |
70 |
|
|
<!ENTITY % HLINK.pfx "" > |
71 |
|
|
|
72 |
|
|
<!-- declare qualified name extensions here ............ --> |
73 |
|
|
<!ENTITY % hlink-qname-extra.mod "" > |
74 |
|
|
%hlink-qname-extra.mod; |
75 |
|
|
|
76 |
|
|
<!-- 5. The parameter entity %HLINK.xmlns.extra.attrib; may be |
77 |
|
|
redeclared to contain any non-HLink namespace declaration |
78 |
|
|
attributes for namespaces embedded in XML. The default |
79 |
|
|
is an empty string. XLink should be included here if used |
80 |
|
|
in the DTD. |
81 |
|
|
--> |
82 |
|
|
<!ENTITY % HLINK.xmlns.extra.attrib "" > |
83 |
|
|
|
84 |
|
|
<![%HLINK.prefixed;[ |
85 |
|
|
<!ENTITY % HLINK.NS.decl.attrib |
86 |
|
|
"xmlns:%HLINK.prefix; %URI.datatype; #FIXED '%HLINK.xmlns;' |
87 |
|
|
%HLINK.xmlns.extra.attrib;" |
88 |
|
|
> |
89 |
|
|
]]> |
90 |
|
|
<!ENTITY % HLINK.NS.decl.attrib |
91 |
|
|
"%HLINK.xmlns.extra.attrib;" |
92 |
|
|
> |
93 |
|
|
|
94 |
|
|
<!-- Declare a parameter entity %HLINK.NS.decl.attrib; containing all |
95 |
|
|
XML namespace declaration attributes used by HLink, including |
96 |
|
|
a default xmlns declaration when prefixing is inactive. |
97 |
|
|
--> |
98 |
|
|
<![%HLINK.prefixed;[ |
99 |
|
|
<!ENTITY % HLINK.xmlns.attrib |
100 |
|
|
"%HLINK.NS.decl.attrib;" |
101 |
|
|
> |
102 |
|
|
]]> |
103 |
|
|
<!ENTITY % HLINK.xmlns.attrib |
104 |
|
|
"xmlns %URI.datatype; #FIXED '%HLINK.xmlns;' |
105 |
|
|
%HLINK.xmlns.extra.attrib;" |
106 |
|
|
> |
107 |
|
|
|
108 |
|
|
<!-- Section B: XML Qualified Names ::::::::::::::::::::::::::::: --> |
109 |
|
|
|
110 |
|
|
<!-- 6. This section declares parameter entities used to provide |
111 |
|
|
namespace-qualified names for all HLink element types. |
112 |
|
|
--> |
113 |
|
|
|
114 |
|
|
<!ENTITY % HLINK.hlinks.qname "%HLINK.pfx;hlinks" > |
115 |
|
|
<!ENTITY % HLINK.hlink.qname "%HLINK.pfx;hlink" > |
116 |
|
|
|
117 |
|
|
<!-- end of hlink-qname.mod --> |