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