/[suikacvs]/markup/slide/schema/module/hsml1-qname.mod
Suika

Contents of /markup/slide/schema/module/hsml1-qname.mod

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jun 20 01:45:57 2010 UTC (14 years, 4 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
current

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24