1 |
<!-- ...................................................................... --> |
2 |
<!-- HSML 1.0 Document Model Module ....................................... --> |
3 |
<!-- file: hsml10-model.mod |
4 |
|
5 |
This is HSML - Hyper Slide Markup Language, Version 1.0. |
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:21+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/hsml10-model.mod" |
22 |
|
23 |
...................................................................... --> |
24 |
|
25 |
<!-- Document Model |
26 |
|
27 |
This model describes the groupings of element types that |
28 |
make up common content models. |
29 |
--> |
30 |
|
31 |
<!ENTITY % HeadOpts.mix ""> |
32 |
|
33 |
<!ENTITY % Edit.class ""> |
34 |
|
35 |
<!-- scripts and alternative content --> |
36 |
<!ENTITY % Script.class ""> |
37 |
|
38 |
<!ENTITY % Misc.extra.class ""> |
39 |
|
40 |
<!-- neither block nor inline, and can |
41 |
essentially be used anywhere in the document body --> |
42 |
<!ENTITY % Misc.class "%Edit.class;%Script.class;%Misc.extra.class;"> |
43 |
|
44 |
<!ENTITY % InlStruct.class "%h2.span.qname;"> |
45 |
|
46 |
<!ENTITY % hsml10.emphasis.class "%h2.em.qname;"> |
47 |
|
48 |
<!ENTITY % InlPhras.class "|%hsml10.emphasis.class;"> |
49 |
|
50 |
<!ENTITY % hsml10.vertical-align.class "%h2.sup.qname;|%h2.sub.qname;"> |
51 |
|
52 |
<!ENTITY % InlPres.class "|%hsml10.vertical-align.class;"> |
53 |
|
54 |
<!ENTITY % I18n.class ""> |
55 |
|
56 |
<!ENTITY % Anchor.class ""> |
57 |
|
58 |
<!ENTITY % InlSpecial.class "|%hsml10.seqNo.qname;"> |
59 |
|
60 |
<!ENTITY % InlForm.class ""> |
61 |
|
62 |
<!ENTITY % Ruby.class "|%h2.ruby.qname;"> |
63 |
|
64 |
<!ENTITY % Inline.extra.class ""> |
65 |
|
66 |
<!ENTITY % InlNoRuby.class "%InlStruct.class;%InlPhras.class;%InlPres.class;%I18n.class;%Anchor.class;%InlSpecial.class;%InlForm.class;%Inline.extra.class;"> |
67 |
|
68 |
<!-- includes all inline elements --> |
69 |
<!ENTITY % Inline.class "%InlNoRuby.class;%Ruby.class;"> |
70 |
|
71 |
<!-- all inline elements, including %Misc.class; --> |
72 |
<!ENTITY % Inline.mix "%Inline.class;%Misc.class;"> |
73 |
|
74 |
<!ENTITY % InlNoAnchor.class "%Inline.class;"> |
75 |
|
76 |
<!ENTITY % InlNoAnchor.mix "%InlNoAnchor.class;%Misc.class;"> |
77 |
|
78 |
<!ENTITY % NoRuby.content "(#PCDATA|%InlNoRuby.class;%Misc.class;)*"> |
79 |
|
80 |
<!ENTITY % List.class "%h2.ul.qname;|%h2.ol.qname;|%h2.nl.qname;|%h2.dl.qname;"> |
81 |
|
82 |
<!ENTITY % Heading.class "%h2.h.qname;"> |
83 |
|
84 |
<!ENTITY % Table.class "|%h2.table.qname;"> |
85 |
|
86 |
<!ENTITY % Form.class ""> |
87 |
|
88 |
<!ENTITY % Fieldset.class ""> |
89 |
|
90 |
<!ENTITY % BlkStruct.class "%h2.p.qname;|%h2.div.qname;"> |
91 |
|
92 |
<!ENTITY % BlkPhras.class "|%hsml10.fig.qname;"> |
93 |
|
94 |
<!ENTITY % BlkPres.class ""> |
95 |
|
96 |
<!ENTITY % BlkSpecial.class "%Table.class;%Form.class;%Fieldset.class;"> |
97 |
|
98 |
<!ENTITY % Block.extra.class ""> |
99 |
|
100 |
<!-- includes all block elements --> |
101 |
<!ENTITY % Block.class "%BlkStruct.class;%BlkPhras.class;%BlkPres.class;%BlkSpecial.class;%Block.extra.class;"> |
102 |
|
103 |
<!-- includes all block elements plus %Misc.class; --> |
104 |
<!ENTITY % Block.mix "%Heading.class;|%List.class;|%Block.class;%Misc.class;"> |
105 |
|
106 |
<!-- includes all text content, block and inline --> |
107 |
<!ENTITY % Flow.mix "%List.class;|%Block.class;|%Inline.class;%Misc.class;"> |
108 |
|
109 |
|
110 |
<!-- end of hsml10-model.mod --> |