Mercurial > emacs
annotate etc/schema/calstbl.rnc @ 106364:2f2ce7005c10
(gnus-group-prepare-flat): Check also whether groups with no unread article
should be listed if the 2nd arg `predicate' is given.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Wed, 02 Dec 2009 00:48:21 +0000 |
parents | c5b49767c96e |
children |
rev | line source |
---|---|
99429
c5b49767c96e
Add copyright notice.
Chong Yidong <cyd@stupidchicken.com>
parents:
86361
diff
changeset
|
1 # Copyright (C) 1992-2002 HaL Computer Systems, Inc., O'Reilly & |
c5b49767c96e
Add copyright notice.
Chong Yidong <cyd@stupidchicken.com>
parents:
86361
diff
changeset
|
2 # Associates, Inc., ArborText, Inc., Fujitsu Software Corporation, |
c5b49767c96e
Add copyright notice.
Chong Yidong <cyd@stupidchicken.com>
parents:
86361
diff
changeset
|
3 # Norman Walsh, Sun Microsystems, Inc., and the Organization for the |
c5b49767c96e
Add copyright notice.
Chong Yidong <cyd@stupidchicken.com>
parents:
86361
diff
changeset
|
4 # Advancement of Structured Information Standards (OASIS). |
c5b49767c96e
Add copyright notice.
Chong Yidong <cyd@stupidchicken.com>
parents:
86361
diff
changeset
|
5 # |
c5b49767c96e
Add copyright notice.
Chong Yidong <cyd@stupidchicken.com>
parents:
86361
diff
changeset
|
6 # Permission to use, copy, modify and distribute the DocBook DTD and |
c5b49767c96e
Add copyright notice.
Chong Yidong <cyd@stupidchicken.com>
parents:
86361
diff
changeset
|
7 # its accompanying documentation for any purpose and without fee is |
c5b49767c96e
Add copyright notice.
Chong Yidong <cyd@stupidchicken.com>
parents:
86361
diff
changeset
|
8 # hereby granted in perpetuity, provided that the above copyright |
c5b49767c96e
Add copyright notice.
Chong Yidong <cyd@stupidchicken.com>
parents:
86361
diff
changeset
|
9 # notice and this paragraph appear in all copies. The copyright |
c5b49767c96e
Add copyright notice.
Chong Yidong <cyd@stupidchicken.com>
parents:
86361
diff
changeset
|
10 # holders make no representation about the suitability of the DTD for |
c5b49767c96e
Add copyright notice.
Chong Yidong <cyd@stupidchicken.com>
parents:
86361
diff
changeset
|
11 # any purpose. It is provided "as is" without expressed or implied |
c5b49767c96e
Add copyright notice.
Chong Yidong <cyd@stupidchicken.com>
parents:
86361
diff
changeset
|
12 # warranty. |
c5b49767c96e
Add copyright notice.
Chong Yidong <cyd@stupidchicken.com>
parents:
86361
diff
changeset
|
13 |
86361 | 14 # This file was generated automatically by Trang, and then manually |
15 # edited to add back definitions for overridden parameter entities and | |
16 # undefined elements, specifically: bodyatt, secur, paracon, | |
17 # tbl.table.mdl, tbl.entry.mdl, caution, graphic, legend, note, para, | |
18 # title, warning. This makes the semantics of this module as close as | |
19 # possible to the original DTD and also allows this schema to be used | |
20 # independently of DocBook. | |
21 | |
22 # ...................................................................... | |
23 | |
24 # DocBook CALS Table Model V4.2 ........................................ | |
25 | |
26 # File calstblx.mod .................................................... | |
27 | |
28 # Copyright 1992-2002 HaL Computer Systems, Inc., | |
29 # O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software | |
30 # Corporation, Norman Walsh, Sun Microsystems, Inc., and the | |
31 # Organization for the Advancement of Structured Information | |
32 # Standards (OASIS). | |
33 # | |
34 # This DTD is based on the CALS Table Model | |
35 # PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" | |
36 # | |
99429
c5b49767c96e
Add copyright notice.
Chong Yidong <cyd@stupidchicken.com>
parents:
86361
diff
changeset
|
37 # $Id$ |
86361 | 38 # |
39 # Permission to use, copy, modify and distribute the DocBook DTD | |
40 # and its accompanying documentation for any purpose and without fee | |
41 # is hereby granted in perpetuity, provided that the above copyright | |
42 # notice and this paragraph appear in all copies. The copyright | |
43 # holders make no representation about the suitability of the DTD for | |
44 # any purpose. It is provided "as is" without expressed or implied | |
45 # warranty. | |
46 # | |
47 # If you modify the DocBook DTD in any way, except for declaring and | |
48 # referencing additional sets of general entities and declaring | |
49 # additional notations, label your DTD as a variant of DocBook. See | |
50 # the maintenance documentation for more information. | |
51 # | |
52 # Please direct all questions, bug reports, or suggestions for | |
53 # changes to the docbook@lists.oasis-open.org mailing list. For more | |
54 # information, see http://www.oasis-open.org/docbook/. | |
55 | |
56 # ...................................................................... | |
57 | |
58 # This module contains the definitions for the CALS Table Model | |
59 # converted to XML. | |
60 | |
61 # These definitions are not directly related to the table model, but are | |
62 # used in the default CALS table model and are usually defined elsewhere | |
63 # (and prior to the inclusion of this table module) in a CALS DTD. | |
64 | |
65 bodyatt = empty | |
66 secur = empty | |
67 | |
68 # no if zero(s), | |
69 # yes if any other digits value | |
70 | |
71 yesorno = string | |
72 titles = title? | |
73 # default for use in entry content | |
74 paracon = text | |
75 | |
76 # The parameter entities as defined below provide the CALS table model | |
77 # as published (as part of the Example DTD) in MIL-HDBK-28001. | |
78 # | |
79 # These following declarations provide the CALS-compliant default definitions | |
80 # for these entities. However, these entities can and should be redefined | |
81 # (by giving the appropriate parameter entity declaration(s) prior to the | |
82 # reference to this Table Model declaration set entity) to fit the needs | |
83 # of the current application. | |
84 tbl.table-titles.mdl = titles | |
85 tbl.table-main.mdl = tgroup+ | graphic+ | |
86 tbl.table.mdl = tbl.table-titles.mdl | tbl.table-main.mdl | |
87 tbl.table.att = | |
88 attribute tabstyle { text }?, | |
89 attribute tocentry { yesorno }?, | |
90 attribute shortentry { yesorno }?, | |
91 attribute orient { "port" | "land" }?, | |
92 attribute pgwide { yesorno }? | |
93 tbl.tgroup.mdl = colspec*, spanspec*, thead?, tfoot?, tbody | |
94 tbl.tgroup.att = attribute tgroupstyle { text }? | |
95 tbl.hdft.mdl = colspec*, row+ | |
96 tbl.row.mdl = (entry | entrytbl)+ | |
97 tbl.entrytbl.mdl = colspec*, spanspec*, thead?, tbody | |
98 tbl.entry.mdl = paracon | para | warning | caution | note | legend | |
99 # ===== Element and attribute declarations follow. ===== | |
100 start = table | |
101 table = element table { table.attlist, tbl.table.mdl } | |
102 table.attlist &= | |
103 attribute frame { | |
104 "top" | "bottom" | "topbot" | "all" | "sides" | "none" | |
105 }?, | |
106 attribute colsep { yesorno }?, | |
107 attribute rowsep { yesorno }?, | |
108 tbl.table.att, | |
109 bodyatt, | |
110 secur | |
111 tgroup = element tgroup { tgroup.attlist, tbl.tgroup.mdl } | |
112 tgroup.attlist &= | |
113 attribute cols { text }, | |
114 tbl.tgroup.att, | |
115 attribute colsep { yesorno }?, | |
116 attribute rowsep { yesorno }?, | |
117 attribute align { "left" | "right" | "center" | "justify" | "char" }?, | |
118 attribute char { text }?, | |
119 attribute charoff { text }?, | |
120 secur | |
121 colspec = element colspec { colspec.attlist, empty } | |
122 colspec.attlist &= | |
123 attribute colnum { text }?, | |
124 attribute colname { text }?, | |
125 attribute colwidth { text }?, | |
126 attribute colsep { yesorno }?, | |
127 attribute rowsep { yesorno }?, | |
128 attribute align { "left" | "right" | "center" | "justify" | "char" }?, | |
129 attribute char { text }?, | |
130 attribute charoff { text }? | |
131 spanspec = element spanspec { spanspec.attlist, empty } | |
132 spanspec.attlist &= | |
133 attribute namest { text }, | |
134 attribute nameend { text }, | |
135 attribute spanname { text }, | |
136 attribute colsep { yesorno }?, | |
137 attribute rowsep { yesorno }?, | |
138 attribute align { "left" | "right" | "center" | "justify" | "char" }?, | |
139 attribute char { text }?, | |
140 attribute charoff { text }? | |
141 thead = element thead { thead.attlist, tbl.hdft.mdl } | |
142 thead.attlist &= | |
143 attribute valign { "top" | "middle" | "bottom" }?, | |
144 secur | |
145 tfoot = element tfoot { tfoot.attlist, tbl.hdft.mdl } | |
146 tfoot.attlist &= | |
147 attribute valign { "top" | "middle" | "bottom" }?, | |
148 secur | |
149 tbody = element tbody { tbody.attlist, row+ } | |
150 tbody.attlist &= | |
151 attribute valign { "top" | "middle" | "bottom" }?, | |
152 secur | |
153 row = element row { row.attlist, tbl.row.mdl } | |
154 row.attlist &= | |
155 attribute rowsep { yesorno }?, | |
156 attribute valign { "top" | "middle" | "bottom" }?, | |
157 secur | |
158 entrytbl = element entrytbl { entrytbl.attlist, tbl.entrytbl.mdl } | |
159 entrytbl.attlist &= | |
160 attribute cols { text }, | |
161 tbl.tgroup.att, | |
162 attribute colname { text }?, | |
163 attribute spanname { text }?, | |
164 attribute namest { text }?, | |
165 attribute nameend { text }?, | |
166 attribute colsep { yesorno }?, | |
167 attribute rowsep { yesorno }?, | |
168 attribute align { "left" | "right" | "center" | "justify" | "char" }?, | |
169 attribute char { text }?, | |
170 attribute charoff { text }?, | |
171 secur | |
172 entry = element entry { entry.attlist, tbl.entry.mdl* } | |
173 entry.attlist &= | |
174 attribute colname { text }?, | |
175 attribute namest { text }?, | |
176 attribute nameend { text }?, | |
177 attribute spanname { text }?, | |
178 attribute morerows { text }?, | |
179 attribute colsep { yesorno }?, | |
180 attribute rowsep { yesorno }?, | |
181 attribute align { "left" | "right" | "center" | "justify" | "char" }?, | |
182 attribute char { text }?, | |
183 attribute charoff { text }?, | |
184 attribute rotate { yesorno }?, | |
185 attribute valign { "top" | "middle" | "bottom" }?, | |
186 secur | |
187 caution |= notAllowed | |
188 graphic |= notAllowed | |
189 legend |= notAllowed | |
190 note |= notAllowed | |
191 para |= notAllowed | |
192 title |= notAllowed | |
193 warning |= notAllowed | |
194 | |
195 # End of DocBook CALS Table Model V4.2 ................................. | |
196 | |
197 # ...................................................................... |