1 |
<!-- ...................................................................... --> |
2 |
<!-- SSML 1 QName (Qualified Name) Module ................................. --> |
3 |
<!-- file: ssml1-qname.mod |
4 |
|
5 |
This is Speech Synthesis Markup Language (SSML), 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-09-16T04:03:38+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/www/markup/voice/schema/module/ssml1-qname.mod" |
22 |
|
23 |
...................................................................... --> |
24 |
|
25 |
<!-- SSML 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 %ssml1.prefixed; conditional section keyword, used |
43 |
to activate namespace prefixing. --> |
44 |
<!ENTITY % ssml1.prefixed "%NS.prefixed;"> |
45 |
|
46 |
<!ENTITY % ssml1.global.attrs.prefixed "%NS.prefixed;"> |
47 |
|
48 |
<!ENTITY % ssml1.xsi.attrs "INCLUDE"> |
49 |
|
50 |
<!-- 2. Declare a parameter entity %ssml1.xmlns; containing |
51 |
the URI reference used to identity the namespace. --> |
52 |
<!ENTITY % ssml1.xmlns "http://www.w3.org/2001/10/synthesis"> |
53 |
|
54 |
<!-- 3. Declare parameter entity %ssml1.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 % ssml1.prefix "ssml"> |
63 |
|
64 |
<!-- 4. Declare parameter entity %ssml1.pfx; containing the |
65 |
colonized prefix (e.g, '%ssml1.prefix;:') used when |
66 |
prefixing is active, an empty string when it is not. --> |
67 |
<![%ssml1.prefixed;[ |
68 |
<!ENTITY % ssml1.pfx "%ssml1.prefix;:"> |
69 |
]]> |
70 |
<!ENTITY % ssml1.pfx ""> |
71 |
|
72 |
<!-- declare qualified name extensions here ............ --> |
73 |
<!ENTITY % ssml1-qname-extra.mod ""> |
74 |
%ssml1-qname-extra.mod; |
75 |
|
76 |
<!-- 5. The parameter entity %ssml1.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 % ssml1.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 |
<![%ssml1.prefixed;[ |
87 |
<!ENTITY % ssml1.xmlns.decl.attrib |
88 |
"xmlns:%ssml1.prefix; %URI.datatype; #FIXED '%ssml1.xmlns;'"> |
89 |
]]> |
90 |
<!ENTITY % ssml1.xmlns.decl.attrib |
91 |
"xmlns %URI.datatype; #FIXED '%ssml1.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 |
<![%ssml1.prefixed;[ |
107 |
<!ENTITY % NS.decl.attrib |
108 |
"%ssml1.xmlns.decl.attrib; |
109 |
%ssml1.xmlns.extra.attrib; |
110 |
%XSI.xmlns.attrib;"> |
111 |
]]> |
112 |
<!ENTITY % NS.decl.attrib |
113 |
"%ssml1.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 |
<![%ssml1.prefixed;[ |
120 |
<!ENTITY % ssml1.xmlns.attrib |
121 |
"%NS.decl.attrib;"> |
122 |
]]> |
123 |
<!ENTITY % ssml1.xmlns.attrib |
124 |
"%ssml1.xmlns.decl.attrib; |
125 |
%NS.decl.attrib;"> |
126 |
|
127 |
<!-- Section B: SSML Qualified Names :::::::::::::::::::::::::::::: --> |
128 |
|
129 |
<!-- placeholder for qualified name redeclarations --> |
130 |
<!ENTITY % ssml1-qname.redecl ""> |
131 |
%ssml1-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 % ssml1.audio.qname "%ssml1.pfx;audio"> |
137 |
<!ENTITY % ssml1.break.qname "%ssml1.pfx;break"> |
138 |
<!ENTITY % ssml1.desc.qname "%ssml1.pfx;desc"> |
139 |
<!ENTITY % ssml1.emphasis.qname "%ssml1.pfx;emphasis"> |
140 |
<!ENTITY % ssml1.lexicon.qname "%ssml1.pfx;lexicon"> |
141 |
<!ENTITY % ssml1.mark.qname "%ssml1.pfx;mark"> |
142 |
<!ENTITY % ssml1.meta.qname "%ssml1.pfx;meta"> |
143 |
<!ENTITY % ssml1.metadata.qname "%ssml1.pfx;metadata"> |
144 |
<!ENTITY % ssml1.p.qname "%ssml1.pfx;p"> |
145 |
<!ENTITY % ssml1.phoneme.qname "%ssml1.pfx;phoneme"> |
146 |
<!ENTITY % ssml1.prosody.qname "%ssml1.pfx;prosody"> |
147 |
<!ENTITY % ssml1.s.qname "%ssml1.pfx;s"> |
148 |
<!ENTITY % ssml1.say-as.qname "%ssml1.pfx;say-as"> |
149 |
<!ENTITY % ssml1.speak.qname "%ssml1.pfx;speak"> |
150 |
<!ENTITY % ssml1.sub.qname "%ssml1.pfx;sub"> |
151 |
<!ENTITY % ssml1.voice.qname "%ssml1.pfx;voice"> |
152 |
|
153 |
|
154 |
|
155 |
<!-- end of ssml1-qname.mod --> |