Debian Codegraph @

src/odf/grammar.py

raw
1 # Copyright (C) 2006-2010 Søren Roug, European Environment Agency
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 #
17 # Contributor(s):
18 #
19
20
21 __doc__ = ''' In principle the OpenDocument schema converted to python structures.
22 Currently it contains the legal child elements of a given element.
23 To be used for validation check in the API
24 '''
25
26 from .namespaces import (
27 ANIMNS,
28 CHARTNS,
29 CONFIGNS,
30 DCNS,
31 DR3DNS,
32 DRAWNS,
33 FONS,
34 FORMNS,
35 MANIFESTNS,
36 MATHNS,
37 METANS,
38 NUMBERNS,
39 OFFICENS,
40 PRESENTATIONNS,
41 SCRIPTNS,
42 SMILNS,
43 STYLENS,
44 SVGNS,
45 TABLENS,
46 TEXTNS,
47 XFORMSNS,
48 XLINKNS,
49 )
50
51 # The following code is generated from the RelaxNG schema with this notice:
52
53 # OASIS OpenDocument v1.1
54 # OASIS Standard, 1 Feb 2007
55 # Relax-NG Schema
56
57 # $Id$
58
59 # © 2002-2007 OASIS Open
60 # © 1999-2007 Sun Microsystems, Inc.
61
62 # This document and translations of it may be copied and furnished
63 # to others, and derivative works that comment on or otherwise explain
64 # it or assist in its implementation may be prepared, copied,
65 # published and distributed, in whole or in part, without restriction
66 # of any kind, provided that the above copyright notice and this
67 # paragraph are included on all such copies and derivative works.
68 # However, this document itself does not be modified in any way, such
69 # as by removing the copyright notice or references to OASIS, except
70 # as needed for the purpose of developing OASIS specifications, in
71 # which case the procedures for copyrights defined in the OASIS
72 # Intellectual Property Rights document must be followed, or as
73 # required to translate it into languages other than English.
74 #
75
76 allowed_children = {
77 (DCNS, 'creator'): (),
78 (DCNS, 'date'): (),
79 (DCNS, 'description'): (),
80 (DCNS, 'language'): (),
81 (DCNS, 'subject'): (),
82 (DCNS, 'title'): (),
83 # Completes Dublin Core start
84 # (DCNS,'contributor'): (
85 # ),
86 # (DCNS,'coverage'): (
87 # ),
88 # (DCNS,'format'): (
89 # ),
90 # (DCNS,'identifier'): (
91 # ),
92 # (DCNS,'publisher'): (
93 # ),
94 # (DCNS,'relation'): (
95 # ),
96 # (DCNS,'rights'): (
97 # ),
98 # (DCNS,'source'): (
99 # ),
100 # (DCNS,'type'): (
101 # ),
102 # Completes Dublin Core end
103 (MATHNS, 'math'): None,
104 (XFORMSNS, 'model'): None,
105 (ANIMNS, 'animate'): (),
106 (ANIMNS, 'animateColor'): (),
107 (ANIMNS, 'animateMotion'): (),
108 (ANIMNS, 'animateTransform'): (),
109 (ANIMNS, 'audio'): (),
110 (ANIMNS, 'command'): ((ANIMNS, 'param'),),
111 # allowed_children
112 (ANIMNS, 'iterate'): (
113 (ANIMNS, 'animate'),
114 (ANIMNS, 'animateColor'),
115 (ANIMNS, 'animateMotion'),
116 (ANIMNS, 'animateTransform'),
117 (ANIMNS, 'audio'),
118 (ANIMNS, 'command'),
119 (ANIMNS, 'iterate'),
120 (ANIMNS, 'par'),
121 (ANIMNS, 'seq'),
122 (ANIMNS, 'set'),
123 (ANIMNS, 'transitionFilter'),
124 ),
125 (ANIMNS, 'par'): (
126 (ANIMNS, 'animate'),
127 (ANIMNS, 'animateColor'),
128 (ANIMNS, 'animateMotion'),
129 (ANIMNS, 'animateTransform'),
130 (ANIMNS, 'audio'),
131 (ANIMNS, 'command'),
132 (ANIMNS, 'iterate'),
133 (ANIMNS, 'par'),
134 (ANIMNS, 'seq'),
135 (ANIMNS, 'set'),
136 (ANIMNS, 'transitionFilter'),
137 ),
138 # allowed_children
139 (ANIMNS, 'param'): (),
140 (ANIMNS, 'seq'): (
141 (ANIMNS, 'animate'),
142 (ANIMNS, 'animateColor'),
143 (ANIMNS, 'animateMotion'),
144 (ANIMNS, 'animateTransform'),
145 (ANIMNS, 'audio'),
146 (ANIMNS, 'command'),
147 (ANIMNS, 'iterate'),
148 (ANIMNS, 'par'),
149 (ANIMNS, 'seq'),
150 (ANIMNS, 'set'),
151 (ANIMNS, 'transitionFilter'),
152 ),
153 (ANIMNS, 'set'): (),
154 (ANIMNS, 'transitionFilter'): (),
155 (CHARTNS, 'axis'): (
156 (CHARTNS, 'categories'),
157 (CHARTNS, 'grid'),
158 (CHARTNS, 'title'),
159 ),
160 # allowed_children
161 (CHARTNS, 'categories'): (),
162 (CHARTNS, 'chart'): (
163 (CHARTNS, 'footer'),
164 (CHARTNS, 'legend'),
165 (CHARTNS, 'plot-area'),
166 (CHARTNS, 'subtitle'),
167 (CHARTNS, 'title'),
168 (TABLENS, 'table'),
169 ),
170 (CHARTNS, 'data-point'): (),
171 (CHARTNS, 'domain'): (),
172 (CHARTNS, 'error-indicator'): (),
173 (CHARTNS, 'floor'): (),
174 (CHARTNS, 'footer'): ((TEXTNS, 'p'),),
175 (CHARTNS, 'grid'): (),
176 (CHARTNS, 'legend'): (),
177 # allowed_children
178 (CHARTNS, 'mean-value'): (),
179 (CHARTNS, 'plot-area'): (
180 (CHARTNS, 'axis'),
181 (CHARTNS, 'floor'),
182 (CHARTNS, 'series'),
183 (CHARTNS, 'stock-gain-marker'),
184 (CHARTNS, 'stock-loss-marker'),
185 (CHARTNS, 'stock-range-line'),
186 (CHARTNS, 'wall'),
187 (DR3DNS, 'light'),
188 ),
189 (CHARTNS, 'regression-curve'): (),
190 (CHARTNS, 'series'): (
191 (CHARTNS, 'data-point'),
192 (CHARTNS, 'domain'),
193 (CHARTNS, 'error-indicator'),
194 (CHARTNS, 'mean-value'),
195 (CHARTNS, 'regression-curve'),
196 ),
197 (CHARTNS, 'stock-gain-marker'): (),
198 (CHARTNS, 'stock-loss-marker'): (),
199 # allowed_children
200 (CHARTNS, 'stock-range-line'): (),
201 (CHARTNS, 'subtitle'): ((TEXTNS, 'p'),),
202 (CHARTNS, 'symbol-image'): (),
203 (CHARTNS, 'title'): ((TEXTNS, 'p'),),
204 (CHARTNS, 'wall'): (),
205 (CONFIGNS, 'config-item'): (),
206 (CONFIGNS, 'config-item-map-entry'): (
207 (CONFIGNS, 'config-item'),
208 (CONFIGNS, 'config-item-map-indexed'),
209 (CONFIGNS, 'config-item-map-named'),
210 (CONFIGNS, 'config-item-set'),
211 ),
212 (CONFIGNS, 'config-item-map-indexed'): ((CONFIGNS, 'config-item-map-entry'),),
213 (CONFIGNS, 'config-item-map-named'): ((CONFIGNS, 'config-item-map-entry'),),
214 # allowed_children
215 (CONFIGNS, 'config-item-set'): (
216 (CONFIGNS, 'config-item'),
217 (CONFIGNS, 'config-item-map-indexed'),
218 (CONFIGNS, 'config-item-map-named'),
219 (CONFIGNS, 'config-item-set'),
220 ),
221 (MANIFESTNS, 'algorithm'): (),
222 (MANIFESTNS, 'encryption-data'): (
223 (MANIFESTNS, 'algorithm'),
224 (MANIFESTNS, 'key-derivation'),
225 ),
226 (MANIFESTNS, 'file-entry'): ((MANIFESTNS, 'encryption-data'),),
227 (MANIFESTNS, 'key-derivation'): (),
228 (MANIFESTNS, 'manifest'): ((MANIFESTNS, 'file-entry'),),
229 (NUMBERNS, 'am-pm'): (),
230 (NUMBERNS, 'boolean'): (),
231 # allowed_children
232 (NUMBERNS, 'boolean-style'): (
233 (NUMBERNS, 'boolean'),
234 (NUMBERNS, 'text'),
235 (STYLENS, 'map'),
236 (STYLENS, 'text-properties'),
237 ),
238 (NUMBERNS, 'currency-style'): (
239 (NUMBERNS, 'currency-symbol'),
240 (NUMBERNS, 'number'),
241 (NUMBERNS, 'text'),
242 (STYLENS, 'map'),
243 (STYLENS, 'text-properties'),
244 ),
245 (NUMBERNS, 'currency-symbol'): (),
246 (NUMBERNS, 'date-style'): (
247 (NUMBERNS, 'am-pm'),
248 (NUMBERNS, 'day'),
249 (NUMBERNS, 'day-of-week'),
250 (NUMBERNS, 'era'),
251 (NUMBERNS, 'hours'),
252 (NUMBERNS, 'minutes'),
253 (NUMBERNS, 'month'),
254 (NUMBERNS, 'quarter'),
255 (NUMBERNS, 'seconds'),
256 (NUMBERNS, 'text'),
257 (NUMBERNS, 'week-of-year'),
258 (NUMBERNS, 'year'),
259 (STYLENS, 'map'),
260 (STYLENS, 'text-properties'),
261 ),
262 # allowed_children
263 (NUMBERNS, 'day'): (),
264 (NUMBERNS, 'day-of-week'): (),
265 (NUMBERNS, 'embedded-text'): (),
266 (NUMBERNS, 'era'): (),
267 (NUMBERNS, 'fraction'): (),
268 (NUMBERNS, 'hours'): (),
269 (NUMBERNS, 'minutes'): (),
270 (NUMBERNS, 'month'): (),
271 (NUMBERNS, 'number'): ((NUMBERNS, 'embedded-text'),),
272 (NUMBERNS, 'number-style'): (
273 (NUMBERNS, 'fraction'),
274 (NUMBERNS, 'number'),
275 (NUMBERNS, 'scientific-number'),
276 (NUMBERNS, 'text'),
277 (STYLENS, 'map'),
278 (STYLENS, 'text-properties'),
279 ),
280 # allowed_children
281 (NUMBERNS, 'percentage-style'): (
282 (NUMBERNS, 'number'),
283 (NUMBERNS, 'text'),
284 (STYLENS, 'map'),
285 (STYLENS, 'text-properties'),
286 ),
287 (NUMBERNS, 'quarter'): (),
288 (NUMBERNS, 'scientific-number'): (),
289 (NUMBERNS, 'seconds'): (),
290 (NUMBERNS, 'text'): (),
291 (NUMBERNS, 'text-content'): (),
292 (NUMBERNS, 'text-style'): (
293 (NUMBERNS, 'text'),
294 (NUMBERNS, 'text-content'),
295 (STYLENS, 'map'),
296 (STYLENS, 'text-properties'),
297 ),
298 # allowed_children
299 (NUMBERNS, 'time-style'): (
300 (NUMBERNS, 'am-pm'),
301 (NUMBERNS, 'hours'),
302 (NUMBERNS, 'minutes'),
303 (NUMBERNS, 'seconds'),
304 (NUMBERNS, 'text'),
305 (STYLENS, 'map'),
306 (STYLENS, 'text-properties'),
307 ),
308 # allowed_children
309 (NUMBERNS, 'week-of-year'): (),
310 (NUMBERNS, 'year'): (),
311 (DR3DNS, 'cube'): (),
312 (DR3DNS, 'extrude'): (),
313 (DR3DNS, 'light'): (),
314 (DR3DNS, 'rotate'): (),
315 (DR3DNS, 'scene'): (
316 (DR3DNS, 'cube'),
317 (DR3DNS, 'extrude'),
318 (DR3DNS, 'light'),
319 (DR3DNS, 'rotate'),
320 (DR3DNS, 'scene'),
321 (DR3DNS, 'sphere'),
322 (SVGNS, 'title'),
323 (SVGNS, 'desc'),
324 ),
325 (DR3DNS, 'sphere'): (),
326 (DRAWNS, 'a'): ((DRAWNS, 'frame'),),
327 # allowed_children
328 (DRAWNS, 'applet'): ((DRAWNS, 'param'),),
329 (DRAWNS, 'area-circle'): (
330 (OFFICENS, 'event-listeners'),
331 (SVGNS, 'desc'),
332 (SVGNS, 'title'),
333 ),
334 (DRAWNS, 'area-polygon'): (
335 (OFFICENS, 'event-listeners'),
336 (SVGNS, 'desc'),
337 (SVGNS, 'title'),
338 ),
339 (DRAWNS, 'area-rectangle'): (
340 (OFFICENS, 'event-listeners'),
341 (SVGNS, 'desc'),
342 (SVGNS, 'title'),
343 ),
344 (DRAWNS, 'caption'): (
345 (DRAWNS, 'glue-point'),
346 (OFFICENS, 'event-listeners'),
347 (SVGNS, 'desc'),
348 (SVGNS, 'title'),
349 (TEXTNS, 'list'),
350 (TEXTNS, 'p'),
351 ),
352 (DRAWNS, 'circle'): (
353 (DRAWNS, 'glue-point'),
354 (OFFICENS, 'event-listeners'),
355 (SVGNS, 'desc'),
356 (SVGNS, 'title'),
357 (TEXTNS, 'list'),
358 (TEXTNS, 'p'),
359 ),
360 # allowed_children
361 (DRAWNS, 'connector'): (
362 (DRAWNS, 'glue-point'),
363 (OFFICENS, 'event-listeners'),
364 (SVGNS, 'desc'),
365 (SVGNS, 'title'),
366 (TEXTNS, 'list'),
367 (TEXTNS, 'p'),
368 ),
369 (DRAWNS, 'contour-path'): (),
370 (DRAWNS, 'contour-polygon'): (),
371 (DRAWNS, 'control'): (
372 (DRAWNS, 'glue-point'),
373 (SVGNS, 'desc'),
374 (SVGNS, 'title'),
375 ),
376 (DRAWNS, 'custom-shape'): (
377 (DRAWNS, 'enhanced-geometry'),
378 (DRAWNS, 'glue-point'),
379 (OFFICENS, 'event-listeners'),
380 (SVGNS, 'desc'),
381 (SVGNS, 'title'),
382 (TEXTNS, 'list'),
383 (TEXTNS, 'p'),
384 ),
385 # allowed_children
386 (DRAWNS, 'ellipse'): (
387 (DRAWNS, 'glue-point'),
388 (OFFICENS, 'event-listeners'),
389 (SVGNS, 'desc'),
390 (SVGNS, 'title'),
391 (TEXTNS, 'list'),
392 (TEXTNS, 'p'),
393 ),
394 (DRAWNS, 'enhanced-geometry'): (
395 (DRAWNS, 'equation'),
396 (DRAWNS, 'handle'),
397 ),
398 (DRAWNS, 'equation'): (),
399 # allowed_children
400 (DRAWNS, 'fill-image'): (),
401 (DRAWNS, 'floating-frame'): (),
402 (DRAWNS, 'frame'): (
403 (DRAWNS, 'applet'),
404 (DRAWNS, 'contour-path'),
405 (DRAWNS, 'contour-polygon'),
406 (DRAWNS, 'floating-frame'),
407 (DRAWNS, 'glue-point'),
408 (DRAWNS, 'image'),
409 (DRAWNS, 'image-map'),
410 (DRAWNS, 'object'),
411 (DRAWNS, 'object-ole'),
412 (DRAWNS, 'plugin'),
413 (DRAWNS, 'text-box'),
414 (OFFICENS, 'event-listeners'),
415 (SVGNS, 'desc'),
416 (SVGNS, 'title'),
417 ),
418 # allowed_children
419 (DRAWNS, 'g'): (
420 (DR3DNS, 'scene'),
421 (DRAWNS, 'caption'),
422 (DRAWNS, 'circle'),
423 (DRAWNS, 'connector'),
424 (DRAWNS, 'control'),
425 (DRAWNS, 'custom-shape'),
426 (DRAWNS, 'ellipse'),
427 (DRAWNS, 'frame'),
428 (DRAWNS, 'g'),
429 (DRAWNS, 'glue-point'),
430 (DRAWNS, 'line'),
431 (DRAWNS, 'measure'),
432 (DRAWNS, 'page-thumbnail'),
433 (DRAWNS, 'path'),
434 (DRAWNS, 'polygon'),
435 (DRAWNS, 'polyline'),
436 (DRAWNS, 'rect'),
437 (DRAWNS, 'regular-polygon'),
438 (SVGNS, 'desc'),
439 (SVGNS, 'title'),
440 (OFFICENS, 'event-listeners'),
441 ),
442 (DRAWNS, 'glue-point'): (),
443 (DRAWNS, 'gradient'): (),
444 (DRAWNS, 'handle'): (),
445 (DRAWNS, 'hatch'): (),
446 # allowed_children
447 (DRAWNS, 'image'): (
448 (OFFICENS, 'binary-data'),
449 (TEXTNS, 'list'),
450 (TEXTNS, 'p'),
451 ),
452 (DRAWNS, 'image-map'): (
453 (DRAWNS, 'area-circle'),
454 (DRAWNS, 'area-polygon'),
455 (DRAWNS, 'area-rectangle'),
456 ),
457 (DRAWNS, 'layer'): (
458 (SVGNS, 'desc'),
459 (SVGNS, 'title'),
460 ),
461 (DRAWNS, 'layer-set'): ((DRAWNS, 'layer'),),
462 (DRAWNS, 'line'): (
463 (DRAWNS, 'glue-point'),
464 (OFFICENS, 'event-listeners'),
465 (SVGNS, 'desc'),
466 (SVGNS, 'title'),
467 (TEXTNS, 'list'),
468 (TEXTNS, 'p'),
469 ),
470 (DRAWNS, 'marker'): (),
471 (DRAWNS, 'measure'): (
472 (DRAWNS, 'glue-point'),
473 (OFFICENS, 'event-listeners'),
474 (TEXTNS, 'list'),
475 (TEXTNS, 'p'),
476 (SVGNS, 'title'),
477 (SVGNS, 'desc'),
478 ),
479 (DRAWNS, 'object'): (
480 (MATHNS, 'math'),
481 (OFFICENS, 'document'),
482 ),
483 # allowed_children
484 (DRAWNS, 'object-ole'): ((OFFICENS, 'binary-data'),),
485 (DRAWNS, 'opacity'): (),
486 (DRAWNS, 'page'): (
487 (ANIMNS, 'animate'),
488 (ANIMNS, 'animateColor'),
489 (ANIMNS, 'animateMotion'),
490 (ANIMNS, 'animateTransform'),
491 (ANIMNS, 'audio'),
492 (ANIMNS, 'command'),
493 (ANIMNS, 'iterate'),
494 (ANIMNS, 'par'),
495 (ANIMNS, 'seq'),
496 (ANIMNS, 'set'),
497 (ANIMNS, 'transitionFilter'),
498 (DR3DNS, 'scene'),
499 (DRAWNS, 'caption'),
500 (DRAWNS, 'circle'),
501 (DRAWNS, 'connector'),
502 (DRAWNS, 'control'),
503 (DRAWNS, 'custom-shape'),
504 (DRAWNS, 'ellipse'),
505 (DRAWNS, 'frame'),
506 (DRAWNS, 'g'),
507 (DRAWNS, 'line'),
508 (DRAWNS, 'measure'),
509 (DRAWNS, 'page-thumbnail'),
510 (DRAWNS, 'path'),
511 (DRAWNS, 'polygon'),
512 (DRAWNS, 'polyline'),
513 (DRAWNS, 'rect'),
514 (DRAWNS, 'regular-polygon'),
515 (OFFICENS, 'forms'),
516 (PRESENTATIONNS, 'animations'),
517 (PRESENTATIONNS, 'notes'),
518 ),
519 # allowed_children
520 (DRAWNS, 'page-thumbnail'): (
521 (SVGNS, 'desc'),
522 (SVGNS, 'title'),
523 ),
524 (DRAWNS, 'param'): (),
525 (DRAWNS, 'path'): (
526 (DRAWNS, 'glue-point'),
527 (OFFICENS, 'event-listeners'),
528 (SVGNS, 'desc'),
529 (SVGNS, 'title'),
530 (TEXTNS, 'list'),
531 (TEXTNS, 'p'),
532 ),
533 (DRAWNS, 'plugin'): ((DRAWNS, 'param'),),
534 (DRAWNS, 'polygon'): (
535 (DRAWNS, 'glue-point'),
536 (OFFICENS, 'event-listeners'),
537 (SVGNS, 'title'),
538 (SVGNS, 'desc'),
539 (TEXTNS, 'list'),
540 (TEXTNS, 'p'),
541 ),
542 (DRAWNS, 'polyline'): (
543 (DRAWNS, 'glue-point'),
544 (OFFICENS, 'event-listeners'),
545 (SVGNS, 'desc'),
546 (SVGNS, 'title'),
547 (TEXTNS, 'list'),
548 (TEXTNS, 'p'),
549 ),
550 # allowed_children
551 (DRAWNS, 'rect'): (
552 (DRAWNS, 'glue-point'),
553 (OFFICENS, 'event-listeners'),
554 (SVGNS, 'desc'),
555 (SVGNS, 'title'),
556 (TEXTNS, 'list'),
557 (TEXTNS, 'p'),
558 ),
559 (DRAWNS, 'regular-polygon'): (
560 (DRAWNS, 'glue-point'),
561 (OFFICENS, 'event-listeners'),
562 (SVGNS, 'desc'),
563 (SVGNS, 'title'),
564 (TEXTNS, 'list'),
565 (TEXTNS, 'p'),
566 ),
567 (DRAWNS, 'stroke-dash'): (),
568 (DRAWNS, 'text-box'): (
569 (DR3DNS, 'scene'),
570 (DRAWNS, 'a'),
571 (DRAWNS, 'caption'),
572 (DRAWNS, 'circle'),
573 (DRAWNS, 'connector'),
574 (DRAWNS, 'control'),
575 (DRAWNS, 'custom-shape'),
576 (DRAWNS, 'ellipse'),
577 (DRAWNS, 'frame'),
578 (DRAWNS, 'g'),
579 (DRAWNS, 'line'),
580 (DRAWNS, 'measure'),
581 (DRAWNS, 'page-thumbnail'),
582 (DRAWNS, 'path'),
583 (DRAWNS, 'polygon'),
584 (DRAWNS, 'polyline'),
585 (DRAWNS, 'rect'),
586 (DRAWNS, 'regular-polygon'),
587 (TABLENS, 'table'),
588 (TEXTNS, 'alphabetical-index'),
589 (TEXTNS, 'bibliography'),
590 (TEXTNS, 'change'),
591 (TEXTNS, 'change-end'),
592 (TEXTNS, 'change-start'),
593 (TEXTNS, 'h'),
594 (TEXTNS, 'illustration-index'),
595 (TEXTNS, 'list'),
596 (TEXTNS, 'numbered-paragraph'),
597 (TEXTNS, 'object-index'),
598 (TEXTNS, 'p'),
599 (TEXTNS, 'section'),
600 (TEXTNS, 'soft-page-break'),
601 (TEXTNS, 'table-index'),
602 (TEXTNS, 'table-of-content'),
603 (TEXTNS, 'user-index'),
604 ),
605 # allowed_children
606 (FORMNS, 'button'): (
607 (FORMNS, 'properties'),
608 (OFFICENS, 'event-listeners'),
609 ),
610 (FORMNS, 'checkbox'): (
611 (FORMNS, 'properties'),
612 (OFFICENS, 'event-listeners'),
613 ),
614 (FORMNS, 'column'): (
615 (FORMNS, 'checkbox'),
616 (FORMNS, 'combobox'),
617 (FORMNS, 'date'),
618 (FORMNS, 'formatted-text'),
619 (FORMNS, 'listbox'),
620 (FORMNS, 'number'),
621 (FORMNS, 'text'),
622 (FORMNS, 'textarea'),
623 ),
624 (FORMNS, 'combobox'): (
625 (FORMNS, 'item'),
626 (FORMNS, 'properties'),
627 (OFFICENS, 'event-listeners'),
628 ),
629 (FORMNS, 'connection-resource'): (),
630 (FORMNS, 'date'): (
631 (FORMNS, 'properties'),
632 (OFFICENS, 'event-listeners'),
633 ),
634 (FORMNS, 'file'): (
635 (FORMNS, 'properties'),
636 (OFFICENS, 'event-listeners'),
637 ),
638 (FORMNS, 'fixed-text'): (
639 (FORMNS, 'properties'),
640 (OFFICENS, 'event-listeners'),
641 ),
642 # allowed_children
643 (FORMNS, 'form'): (
644 (FORMNS, 'button'),
645 (FORMNS, 'checkbox'),
646 (FORMNS, 'combobox'),
647 (FORMNS, 'connection-resource'),
648 (FORMNS, 'date'),
649 (FORMNS, 'file'),
650 (FORMNS, 'fixed-text'),
651 (FORMNS, 'form'),
652 (FORMNS, 'formatted-text'),
653 (FORMNS, 'frame'),
654 (FORMNS, 'generic-control'),
655 (FORMNS, 'grid'),
656 (FORMNS, 'hidden'),
657 (FORMNS, 'image'),
658 (FORMNS, 'image-frame'),
659 (FORMNS, 'listbox'),
660 (FORMNS, 'number'),
661 (FORMNS, 'password'),
662 (FORMNS, 'properties'),
663 (FORMNS, 'radio'),
664 (FORMNS, 'text'),
665 (FORMNS, 'textarea'),
666 (FORMNS, 'time'),
667 (FORMNS, 'value-range'),
668 (OFFICENS, 'event-listeners'),
669 ),
670 (FORMNS, 'formatted-text'): (
671 (FORMNS, 'properties'),
672 (OFFICENS, 'event-listeners'),
673 ),
674 (FORMNS, 'frame'): (
675 (FORMNS, 'properties'),
676 (OFFICENS, 'event-listeners'),
677 ),
678 (FORMNS, 'generic-control'): (
679 (FORMNS, 'properties'),
680 (OFFICENS, 'event-listeners'),
681 ),
682 (FORMNS, 'grid'): (
683 (FORMNS, 'column'),
684 (FORMNS, 'properties'),
685 (OFFICENS, 'event-listeners'),
686 ),
687 (FORMNS, 'hidden'): (
688 (FORMNS, 'properties'),
689 (OFFICENS, 'event-listeners'),
690 ),
691 (FORMNS, 'image'): (
692 (FORMNS, 'properties'),
693 (OFFICENS, 'event-listeners'),
694 ),
695 # allowed_children
696 (FORMNS, 'image-frame'): (
697 (FORMNS, 'properties'),
698 (OFFICENS, 'event-listeners'),
699 ),
700 (FORMNS, 'item'): (),
701 (FORMNS, 'list-property'): (
702 (FORMNS, 'list-value'),
703 (FORMNS, 'list-value'),
704 (FORMNS, 'list-value'),
705 (FORMNS, 'list-value'),
706 (FORMNS, 'list-value'),
707 (FORMNS, 'list-value'),
708 (FORMNS, 'list-value'),
709 ),
710 (FORMNS, 'list-value'): (),
711 (FORMNS, 'listbox'): (
712 (FORMNS, 'option'),
713 (FORMNS, 'properties'),
714 (OFFICENS, 'event-listeners'),
715 ),
716 (FORMNS, 'number'): (
717 (FORMNS, 'properties'),
718 (OFFICENS, 'event-listeners'),
719 ),
720 (FORMNS, 'option'): (),
721 (FORMNS, 'password'): (
722 (FORMNS, 'properties'),
723 (OFFICENS, 'event-listeners'),
724 ),
725 (FORMNS, 'properties'): (
726 (FORMNS, 'list-property'),
727 (FORMNS, 'property'),
728 ),
729 (FORMNS, 'property'): (),
730 (FORMNS, 'radio'): (
731 (FORMNS, 'properties'),
732 (OFFICENS, 'event-listeners'),
733 ),
734 (FORMNS, 'text'): (
735 (FORMNS, 'properties'),
736 (OFFICENS, 'event-listeners'),
737 ),
738 (FORMNS, 'textarea'): (
739 (FORMNS, 'properties'),
740 (OFFICENS, 'event-listeners'),
741 (TEXTNS, 'p'),
742 ),
743 (FORMNS, 'time'): (
744 (FORMNS, 'properties'),
745 (OFFICENS, 'event-listeners'),
746 ),
747 (FORMNS, 'value-range'): (
748 (FORMNS, 'properties'),
749 (OFFICENS, 'event-listeners'),
750 ),
751 (METANS, 'auto-reload'): (),
752 (METANS, 'creation-date'): (),
753 (METANS, 'date-string'): (),
754 (METANS, 'document-statistic'): (),
755 (METANS, 'editing-cycles'): (),
756 (METANS, 'editing-duration'): (),
757 (METANS, 'generator'): (),
758 (METANS, 'hyperlink-behaviour'): (),
759 (METANS, 'initial-creator'): (),
760 (METANS, 'keyword'): (),
761 (METANS, 'print-date'): (),
762 (METANS, 'printed-by'): (),
763 (METANS, 'template'): (),
764 (METANS, 'user-defined'): (),
765 # allowed_children
766 (OFFICENS, 'annotation'): (
767 (DCNS, 'creator'),
768 (DCNS, 'date'),
769 (METANS, 'date-string'),
770 (TEXTNS, 'list'),
771 (TEXTNS, 'p'),
772 ),
773 (OFFICENS, 'automatic-styles'): (
774 (NUMBERNS, 'boolean-style'),
775 (NUMBERNS, 'currency-style'),
776 (NUMBERNS, 'date-style'),
777 (NUMBERNS, 'number-style'),
778 (NUMBERNS, 'percentage-style'),
779 (NUMBERNS, 'text-style'),
780 (NUMBERNS, 'time-style'),
781 (STYLENS, 'page-layout'),
782 (STYLENS, 'style'),
783 (TEXTNS, 'list-style'),
784 ),
785 (OFFICENS, 'binary-data'): (),
786 (OFFICENS, 'body'): (
787 (OFFICENS, 'chart'),
788 (OFFICENS, 'drawing'),
789 (OFFICENS, 'image'),
790 (OFFICENS, 'presentation'),
791 (OFFICENS, 'spreadsheet'),
792 (OFFICENS, 'text'),
793 ),
794 (OFFICENS, 'change-info'): (
795 (DCNS, 'creator'),
796 (DCNS, 'date'),
797 (TEXTNS, 'p'),
798 ),
799 (OFFICENS, 'chart'): (
800 (CHARTNS, 'chart'),
801 (TABLENS, 'calculation-settings'),
802 (TABLENS, 'consolidation'),
803 (TABLENS, 'content-validations'),
804 (TABLENS, 'data-pilot-tables'),
805 (TABLENS, 'database-ranges'),
806 (TABLENS, 'dde-links'),
807 (TABLENS, 'label-ranges'),
808 (TABLENS, 'named-expressions'),
809 (TEXTNS, 'alphabetical-index-auto-mark-file'),
810 (TEXTNS, 'dde-connection-decls'),
811 (TEXTNS, 'sequence-decls'),
812 (TEXTNS, 'user-field-decls'),
813 (TEXTNS, 'variable-decls'),
814 ),
815 (OFFICENS, 'dde-source'): (),
816 (OFFICENS, 'document'): (
817 (OFFICENS, 'automatic-styles'),
818 (OFFICENS, 'body'),
819 (OFFICENS, 'font-face-decls'),
820 (OFFICENS, 'master-styles'),
821 (OFFICENS, 'meta'),
822 (OFFICENS, 'scripts'),
823 (OFFICENS, 'settings'),
824 (OFFICENS, 'styles'),
825 ),
826 (OFFICENS, 'document-content'): (
827 (OFFICENS, 'automatic-styles'),
828 (OFFICENS, 'body'),
829 (OFFICENS, 'font-face-decls'),
830 (OFFICENS, 'scripts'),
831 ),
832 (OFFICENS, 'document-meta'): ((OFFICENS, 'meta'),),
833 (OFFICENS, 'document-settings'): ((OFFICENS, 'settings'),),
834 (OFFICENS, 'document-styles'): (
835 (OFFICENS, 'automatic-styles'),
836 (OFFICENS, 'font-face-decls'),
837 (OFFICENS, 'master-styles'),
838 (OFFICENS, 'styles'),
839 ),
840 (OFFICENS, 'drawing'): (
841 (DRAWNS, 'page'),
842 (TABLENS, 'calculation-settings'),
843 (TABLENS, 'consolidation'),
844 (TABLENS, 'content-validations'),
845 (TABLENS, 'data-pilot-tables'),
846 (TABLENS, 'database-ranges'),
847 (TABLENS, 'dde-links'),
848 (TABLENS, 'label-ranges'),
849 (TABLENS, 'named-expressions'),
850 (TEXTNS, 'alphabetical-index-auto-mark-file'),
851 (TEXTNS, 'dde-connection-decls'),
852 (TEXTNS, 'sequence-decls'),
853 (TEXTNS, 'user-field-decls'),
854 (TEXTNS, 'variable-decls'),
855 ),
856 (OFFICENS, 'event-listeners'): (
857 (PRESENTATIONNS, 'event-listener'),
858 (SCRIPTNS, 'event-listener'),
859 ),
860 (OFFICENS, 'font-face-decls'): ((STYLENS, 'font-face'),),
861 # allowed_children
862 (OFFICENS, 'forms'): (
863 (XFORMSNS, 'model'),
864 (FORMNS, 'form'),
865 ),
866 (OFFICENS, 'image'): ((DRAWNS, 'frame'),),
867 (OFFICENS, 'master-styles'): (
868 (DRAWNS, 'layer-set'),
869 (STYLENS, 'handout-master'),
870 (STYLENS, 'master-page'),
871 (TABLENS, 'table-template'),
872 ),
873 (OFFICENS, 'meta'): (
874 (DCNS, 'creator'),
875 (DCNS, 'date'),
876 (DCNS, 'description'),
877 (DCNS, 'language'),
878 (DCNS, 'subject'),
879 (DCNS, 'title'),
880 # Completes Dublin Core start
881 # (DCNS,'contributor'),
882 # (DCNS,'coverage'),
883 # (DCNS,'format'),
884 # (DCNS,'identifier'),
885 # (DCNS,'publisher'),
886 # (DCNS,'relation'),
887 # (DCNS,'rights'),
888 # (DCNS,'source'),
889 # (DCNS,'type'),
890 # Completes Dublin Core end
891 (METANS, 'auto-reload'),
892 (METANS, 'creation-date'),
893 (METANS, 'document-statistic'),
894 (METANS, 'editing-cycles'),
895 (METANS, 'editing-duration'),
896 (METANS, 'generator'),
897 (METANS, 'hyperlink-behaviour'),
898 (METANS, 'initial-creator'),
899 (METANS, 'keyword'),
900 (METANS, 'print-date'),
901 (METANS, 'printed-by'),
902 (METANS, 'template'),
903 (METANS, 'user-defined'),
904 ),
905 (OFFICENS, 'presentation'): (
906 (DRAWNS, 'page'),
907 (PRESENTATIONNS, 'date-time-decl'),
908 (PRESENTATIONNS, 'footer-decl'),
909 (PRESENTATIONNS, 'header-decl'),
910 (PRESENTATIONNS, 'settings'),
911 (TABLENS, 'calculation-settings'),
912 (TABLENS, 'consolidation'),
913 (TABLENS, 'content-validations'),
914 (TABLENS, 'data-pilot-tables'),
915 (TABLENS, 'database-ranges'),
916 (TABLENS, 'dde-links'),
917 (TABLENS, 'label-ranges'),
918 (TABLENS, 'named-expressions'),
919 (TEXTNS, 'alphabetical-index-auto-mark-file'),
920 (TEXTNS, 'dde-connection-decls'),
921 (TEXTNS, 'sequence-decls'),
922 (TEXTNS, 'user-field-decls'),
923 (TEXTNS, 'variable-decls'),
924 ),
925 # allowed_children
926 (OFFICENS, 'script'): None,
927 (OFFICENS, 'scripts'): (
928 (OFFICENS, 'event-listeners'),
929 (OFFICENS, 'script'),
930 ),
931 (OFFICENS, 'settings'): ((CONFIGNS, 'config-item-set'),),
932 (OFFICENS, 'spreadsheet'): (
933 (TABLENS, 'calculation-settings'),
934 (TABLENS, 'consolidation'),
935 (TABLENS, 'content-validations'),
936 (TABLENS, 'data-pilot-tables'),
937 (TABLENS, 'database-ranges'),
938 (TABLENS, 'dde-links'),
939 (TABLENS, 'label-ranges'),
940 (TABLENS, 'named-expressions'),
941 (TABLENS, 'table'),
942 (TABLENS, 'tracked-changes'),
943 (TEXTNS, 'alphabetical-index-auto-mark-file'),
944 (TEXTNS, 'dde-connection-decls'),
945 (TEXTNS, 'sequence-decls'),
946 (TEXTNS, 'user-field-decls'),
947 (TEXTNS, 'variable-decls'),
948 ),
949 (OFFICENS, 'styles'): (
950 (NUMBERNS, 'boolean-style'),
951 (NUMBERNS, 'currency-style'),
952 (NUMBERNS, 'date-style'),
953 (NUMBERNS, 'number-style'),
954 (NUMBERNS, 'percentage-style'),
955 (NUMBERNS, 'text-style'),
956 (NUMBERNS, 'time-style'),
957 (DRAWNS, 'fill-image'),
958 (DRAWNS, 'gradient'),
959 (DRAWNS, 'hatch'),
960 (DRAWNS, 'marker'),
961 (DRAWNS, 'opacity'),
962 (DRAWNS, 'stroke-dash'),
963 (STYLENS, 'default-style'),
964 (STYLENS, 'presentation-page-layout'),
965 (STYLENS, 'style'),
966 (SVGNS, 'linearGradient'),
967 (SVGNS, 'radialGradient'),
968 (TEXTNS, 'bibliography-configuration'),
969 (TEXTNS, 'linenumbering-configuration'),
970 (TEXTNS, 'list-style'),
971 (TEXTNS, 'notes-configuration'),
972 (TEXTNS, 'outline-style'),
973 ),
974 (OFFICENS, 'text'): (
975 (DR3DNS, 'scene'),
976 (DRAWNS, 'a'),
977 (DRAWNS, 'caption'),
978 (DRAWNS, 'circle'),
979 (DRAWNS, 'connector'),
980 (DRAWNS, 'control'),
981 (DRAWNS, 'custom-shape'),
982 (DRAWNS, 'ellipse'),
983 (DRAWNS, 'frame'),
984 (DRAWNS, 'g'),
985 (DRAWNS, 'line'),
986 (DRAWNS, 'measure'),
987 (DRAWNS, 'page-thumbnail'),
988 (DRAWNS, 'path'),
989 (DRAWNS, 'polygon'),
990 (DRAWNS, 'polyline'),
991 (DRAWNS, 'rect'),
992 (DRAWNS, 'regular-polygon'),
993 (OFFICENS, 'forms'),
994 (TABLENS, 'calculation-settings'),
995 (TABLENS, 'consolidation'),
996 (TABLENS, 'content-validations'),
997 (TABLENS, 'data-pilot-tables'),
998 (TABLENS, 'database-ranges'),
999 (TABLENS, 'dde-links'),
1000 (TABLENS, 'label-ranges'),
1001 (TABLENS, 'named-expressions'),
1002 (TABLENS, 'table'),
1003 (TEXTNS, 'alphabetical-index'),
1004 (TEXTNS, 'alphabetical-index-auto-mark-file'),
1005 (TEXTNS, 'bibliography'),
1006 (TEXTNS, 'change'),
1007 (TEXTNS, 'change-end'),
1008 (TEXTNS, 'change-start'),
1009 (TEXTNS, 'dde-connection-decls'),
1010 (TEXTNS, 'h'),
1011 (TEXTNS, 'illustration-index'),
1012 (TEXTNS, 'list'),
1013 (TEXTNS, 'numbered-paragraph'),
1014 (TEXTNS, 'object-index'),
1015 (TEXTNS, 'p'),
1016 (TEXTNS, 'page-sequence'),
1017 (TEXTNS, 'section'),
1018 (TEXTNS, 'sequence-decls'),
1019 (TEXTNS, 'soft-page-break'),
1020 (TEXTNS, 'table-index'),
1021 (TEXTNS, 'table-of-content'),
1022 (TEXTNS, 'tracked-changes'),
1023 (TEXTNS, 'user-field-decls'),
1024 (TEXTNS, 'user-index'),
1025 (TEXTNS, 'variable-decls'),
1026 ),
1027 (PRESENTATIONNS, 'animation-group'): (
1028 (PRESENTATIONNS, 'dim'),
1029 (PRESENTATIONNS, 'hide-shape'),
1030 (PRESENTATIONNS, 'hide-text'),
1031 (PRESENTATIONNS, 'play'),
1032 (PRESENTATIONNS, 'show-shape'),
1033 (PRESENTATIONNS, 'show-text'),
1034 ),
1035 (PRESENTATIONNS, 'animations'): (
1036 (PRESENTATIONNS, 'animation-group'),
1037 (PRESENTATIONNS, 'dim'),
1038 (PRESENTATIONNS, 'hide-shape'),
1039 (PRESENTATIONNS, 'hide-text'),
1040 (PRESENTATIONNS, 'play'),
1041 (PRESENTATIONNS, 'show-shape'),
1042 (PRESENTATIONNS, 'show-text'),
1043 ),
1044 (PRESENTATIONNS, 'date-time'): (),
1045 (PRESENTATIONNS, 'date-time-decl'): (),
1046 (PRESENTATIONNS, 'dim'): ((PRESENTATIONNS, 'sound'),),
1047 (PRESENTATIONNS, 'event-listener'): ((PRESENTATIONNS, 'sound'),),
1048 (PRESENTATIONNS, 'footer'): (),
1049 (PRESENTATIONNS, 'footer-decl'): (),
1050 (PRESENTATIONNS, 'header'): (),
1051 (PRESENTATIONNS, 'header-decl'): (),
1052 (PRESENTATIONNS, 'hide-shape'): ((PRESENTATIONNS, 'sound'),),
1053 (PRESENTATIONNS, 'hide-text'): ((PRESENTATIONNS, 'sound'),),
1054 # allowed_children
1055 (PRESENTATIONNS, 'notes'): (
1056 (DR3DNS, 'scene'),
1057 (DRAWNS, 'caption'),
1058 (DRAWNS, 'circle'),
1059 (DRAWNS, 'connector'),
1060 (DRAWNS, 'control'),
1061 (DRAWNS, 'custom-shape'),
1062 (DRAWNS, 'ellipse'),
1063 (DRAWNS, 'frame'),
1064 (DRAWNS, 'g'),
1065 (DRAWNS, 'line'),
1066 (DRAWNS, 'measure'),
1067 (DRAWNS, 'page-thumbnail'),
1068 (DRAWNS, 'path'),
1069 (DRAWNS, 'polygon'),
1070 (DRAWNS, 'polyline'),
1071 (DRAWNS, 'rect'),
1072 (DRAWNS, 'regular-polygon'),
1073 (OFFICENS, 'forms'),
1074 ),
1075 (PRESENTATIONNS, 'placeholder'): (),
1076 (PRESENTATIONNS, 'play'): (),
1077 (PRESENTATIONNS, 'settings'): ((PRESENTATIONNS, 'show'),),
1078 (PRESENTATIONNS, 'show'): (),
1079 (PRESENTATIONNS, 'show-shape'): ((PRESENTATIONNS, 'sound'),),
1080 (PRESENTATIONNS, 'show-text'): ((PRESENTATIONNS, 'sound'),),
1081 (PRESENTATIONNS, 'sound'): (),
1082 (SCRIPTNS, 'event-listener'): (),
1083 (STYLENS, 'background-image'): ((OFFICENS, 'binary-data'),),
1084 (STYLENS, 'chart-properties'): ((CHARTNS, 'symbol-image'),),
1085 (STYLENS, 'column'): (),
1086 (STYLENS, 'column-sep'): (),
1087 (STYLENS, 'columns'): (
1088 (STYLENS, 'column'),
1089 (STYLENS, 'column-sep'),
1090 ),
1091 (STYLENS, 'default-style'): (
1092 (STYLENS, 'chart-properties'),
1093 (STYLENS, 'drawing-page-properties'),
1094 (STYLENS, 'graphic-properties'),
1095 (STYLENS, 'paragraph-properties'),
1096 (STYLENS, 'ruby-properties'),
1097 (STYLENS, 'section-properties'),
1098 (STYLENS, 'table-cell-properties'),
1099 (STYLENS, 'table-column-properties'),
1100 (STYLENS, 'table-properties'),
1101 (STYLENS, 'table-row-properties'),
1102 (STYLENS, 'text-properties'),
1103 ),
1104 (STYLENS, 'drawing-page-properties'): ((PRESENTATIONNS, 'sound'),),
1105 (STYLENS, 'drop-cap'): (),
1106 (STYLENS, 'font-face'): (
1107 (SVGNS, 'definition-src'),
1108 (SVGNS, 'font-face-src'),
1109 ),
1110 (STYLENS, 'footer'): (
1111 (STYLENS, 'region-center'),
1112 (STYLENS, 'region-left'),
1113 (STYLENS, 'region-right'),
1114 (TABLENS, 'table'),
1115 (TEXTNS, 'alphabetical-index'),
1116 (TEXTNS, 'alphabetical-index-auto-mark-file'),
1117 (TEXTNS, 'bibliography'),
1118 (TEXTNS, 'change'),
1119 (TEXTNS, 'change-end'),
1120 (TEXTNS, 'change-start'),
1121 (TEXTNS, 'dde-connection-decls'),
1122 (TEXTNS, 'h'),
1123 (TEXTNS, 'illustration-index'),
1124 (TEXTNS, 'index-title'),
1125 (TEXTNS, 'list'),
1126 (TEXTNS, 'object-index'),
1127 (TEXTNS, 'p'),
1128 (TEXTNS, 'section'),
1129 (TEXTNS, 'sequence-decls'),
1130 (TEXTNS, 'table-index'),
1131 (TEXTNS, 'table-of-content'),
1132 (TEXTNS, 'tracked-changes'),
1133 (TEXTNS, 'user-field-decls'),
1134 (TEXTNS, 'user-index'),
1135 (TEXTNS, 'variable-decls'),
1136 ),
1137 # allowed_children
1138 (STYLENS, 'footer-left'): (
1139 (STYLENS, 'region-center'),
1140 (STYLENS, 'region-left'),
1141 (STYLENS, 'region-right'),
1142 (TABLENS, 'table'),
1143 (TEXTNS, 'alphabetical-index'),
1144 (TEXTNS, 'alphabetical-index-auto-mark-file'),
1145 (TEXTNS, 'bibliography'),
1146 (TEXTNS, 'change'),
1147 (TEXTNS, 'change-end'),
1148 (TEXTNS, 'change-start'),
1149 (TEXTNS, 'dde-connection-decls'),
1150 (TEXTNS, 'h'),
1151 (TEXTNS, 'illustration-index'),
1152 (TEXTNS, 'index-title'),
1153 (TEXTNS, 'list'),
1154 (TEXTNS, 'object-index'),
1155 (TEXTNS, 'p'),
1156 (TEXTNS, 'section'),
1157 (TEXTNS, 'sequence-decls'),
1158 (TEXTNS, 'table-index'),
1159 (TEXTNS, 'table-of-content'),
1160 (TEXTNS, 'tracked-changes'),
1161 (TEXTNS, 'user-field-decls'),
1162 (TEXTNS, 'user-index'),
1163 (TEXTNS, 'variable-decls'),
1164 ),
1165 (STYLENS, 'footer-style'): ((STYLENS, 'header-footer-properties'),),
1166 (STYLENS, 'footnote-sep'): (),
1167 (STYLENS, 'graphic-properties'): (
1168 (STYLENS, 'background-image'),
1169 (STYLENS, 'columns'),
1170 (TEXTNS, 'list-style'),
1171 ),
1172 # allowed_children
1173 (STYLENS, 'handout-master'): (
1174 (DR3DNS, 'scene'),
1175 (DRAWNS, 'caption'),
1176 (DRAWNS, 'circle'),
1177 (DRAWNS, 'connector'),
1178 (DRAWNS, 'control'),
1179 (DRAWNS, 'custom-shape'),
1180 (DRAWNS, 'ellipse'),
1181 (DRAWNS, 'frame'),
1182 (DRAWNS, 'g'),
1183 (DRAWNS, 'line'),
1184 (DRAWNS, 'measure'),
1185 (DRAWNS, 'page-thumbnail'),
1186 (DRAWNS, 'path'),
1187 (DRAWNS, 'polygon'),
1188 (DRAWNS, 'polyline'),
1189 (DRAWNS, 'rect'),
1190 (DRAWNS, 'regular-polygon'),
1191 ),
1192 (STYLENS, 'header'): (
1193 (STYLENS, 'region-center'),
1194 (STYLENS, 'region-left'),
1195 (STYLENS, 'region-right'),
1196 (TABLENS, 'table'),
1197 (TEXTNS, 'alphabetical-index'),
1198 (TEXTNS, 'alphabetical-index-auto-mark-file'),
1199 (TEXTNS, 'bibliography'),
1200 (TEXTNS, 'change'),
1201 (TEXTNS, 'change-end'),
1202 (TEXTNS, 'change-start'),
1203 (TEXTNS, 'dde-connection-decls'),
1204 (TEXTNS, 'h'),
1205 (TEXTNS, 'illustration-index'),
1206 (TEXTNS, 'index-title'),
1207 (TEXTNS, 'list'),
1208 (TEXTNS, 'object-index'),
1209 (TEXTNS, 'p'),
1210 (TEXTNS, 'section'),
1211 (TEXTNS, 'sequence-decls'),
1212 (TEXTNS, 'table-index'),
1213 (TEXTNS, 'table-of-content'),
1214 (TEXTNS, 'tracked-changes'),
1215 (TEXTNS, 'user-field-decls'),
1216 (TEXTNS, 'user-index'),
1217 (TEXTNS, 'variable-decls'),
1218 ),
1219 # allowed_children
1220 (STYLENS, 'header-footer-properties'): ((STYLENS, 'background-image'),),
1221 (STYLENS, 'header-left'): (
1222 (STYLENS, 'region-center'),
1223 (STYLENS, 'region-left'),
1224 (STYLENS, 'region-right'),
1225 (TABLENS, 'table'),
1226 (TEXTNS, 'alphabetical-index'),
1227 (TEXTNS, 'alphabetical-index-auto-mark-file'),
1228 (TEXTNS, 'bibliography'),
1229 (TEXTNS, 'change'),
1230 (TEXTNS, 'change-end'),
1231 (TEXTNS, 'change-start'),
1232 (TEXTNS, 'dde-connection-decls'),
1233 (TEXTNS, 'h'),
1234 (TEXTNS, 'illustration-index'),
1235 (TEXTNS, 'index-title'),
1236 (TEXTNS, 'list'),
1237 (TEXTNS, 'object-index'),
1238 (TEXTNS, 'p'),
1239 (TEXTNS, 'section'),
1240 (TEXTNS, 'sequence-decls'),
1241 (TEXTNS, 'table-index'),
1242 (TEXTNS, 'table-of-content'),
1243 (TEXTNS, 'tracked-changes'),
1244 (TEXTNS, 'user-field-decls'),
1245 (TEXTNS, 'user-index'),
1246 (TEXTNS, 'variable-decls'),
1247 ),
1248 (STYLENS, 'header-style'): ((STYLENS, 'header-footer-properties'),),
1249 (STYLENS, 'list-level-properties'): (),
1250 (STYLENS, 'map'): (),
1251 (STYLENS, 'master-page'): (
1252 (DR3DNS, 'scene'),
1253 (DRAWNS, 'caption'),
1254 (DRAWNS, 'circle'),
1255 (DRAWNS, 'connector'),
1256 (DRAWNS, 'control'),
1257 (DRAWNS, 'custom-shape'),
1258 (DRAWNS, 'ellipse'),
1259 (DRAWNS, 'frame'),
1260 (DRAWNS, 'g'),
1261 (DRAWNS, 'line'),
1262 (DRAWNS, 'measure'),
1263 (DRAWNS, 'page-thumbnail'),
1264 (DRAWNS, 'path'),
1265 (DRAWNS, 'polygon'),
1266 (DRAWNS, 'polyline'),
1267 (DRAWNS, 'rect'),
1268 (DRAWNS, 'regular-polygon'),
1269 (OFFICENS, 'forms'),
1270 (PRESENTATIONNS, 'notes'),
1271 (STYLENS, 'footer'),
1272 (STYLENS, 'footer-left'),
1273 (STYLENS, 'header'),
1274 (STYLENS, 'header-left'),
1275 (STYLENS, 'style'),
1276 ),
1277 (STYLENS, 'page-layout'): (
1278 (STYLENS, 'footer-style'),
1279 (STYLENS, 'header-style'),
1280 (STYLENS, 'page-layout-properties'),
1281 ),
1282 (STYLENS, 'page-layout-properties'): (
1283 (STYLENS, 'background-image'),
1284 (STYLENS, 'columns'),
1285 (STYLENS, 'footnote-sep'),
1286 ),
1287 # allowed_children
1288 (STYLENS, 'paragraph-properties'): (
1289 (STYLENS, 'background-image'),
1290 (STYLENS, 'drop-cap'),
1291 (STYLENS, 'tab-stops'),
1292 ),
1293 (STYLENS, 'presentation-page-layout'): ((PRESENTATIONNS, 'placeholder'),),
1294 (STYLENS, 'region-center'): ((TEXTNS, 'p'),),
1295 (STYLENS, 'region-left'): ((TEXTNS, 'p'),),
1296 (STYLENS, 'region-right'): ((TEXTNS, 'p'),),
1297 (STYLENS, 'ruby-properties'): (),
1298 (STYLENS, 'section-properties'): (
1299 (STYLENS, 'background-image'),
1300 (STYLENS, 'columns'),
1301 (TEXTNS, 'notes-configuration'),
1302 ),
1303 (STYLENS, 'style'): (
1304 (STYLENS, 'chart-properties'),
1305 (STYLENS, 'drawing-page-properties'),
1306 (STYLENS, 'graphic-properties'),
1307 (STYLENS, 'map'),
1308 (STYLENS, 'paragraph-properties'),
1309 (STYLENS, 'ruby-properties'),
1310 (STYLENS, 'section-properties'),
1311 (STYLENS, 'table-cell-properties'),
1312 (STYLENS, 'table-column-properties'),
1313 (STYLENS, 'table-properties'),
1314 (STYLENS, 'table-row-properties'),
1315 (STYLENS, 'text-properties'),
1316 ),
1317 (STYLENS, 'tab-stop'): (),
1318 (STYLENS, 'tab-stops'): ((STYLENS, 'tab-stop'),),
1319 # allowed_children
1320 (STYLENS, 'table-cell-properties'): ((STYLENS, 'background-image'),),
1321 (STYLENS, 'table-column-properties'): (),
1322 (STYLENS, 'table-properties'): ((STYLENS, 'background-image'),),
1323 (STYLENS, 'table-row-properties'): ((STYLENS, 'background-image'),),
1324 (STYLENS, 'text-properties'): (),
1325 (SVGNS, 'definition-src'): (),
1326 (SVGNS, 'desc'): (),
1327 (SVGNS, 'font-face-format'): (),
1328 (SVGNS, 'font-face-name'): (),
1329 (SVGNS, 'font-face-src'): (
1330 (SVGNS, 'font-face-name'),
1331 (SVGNS, 'font-face-uri'),
1332 ),
1333 (SVGNS, 'font-face-uri'): ((SVGNS, 'font-face-format'),),
1334 (SVGNS, 'linearGradient'): ((SVGNS, 'stop'),),
1335 (SVGNS, 'radialGradient'): ((SVGNS, 'stop'),),
1336 (SVGNS, 'stop'): (),
1337 (SVGNS, 'title'): (),
1338 (TABLENS, 'body'): (),
1339 (TABLENS, 'calculation-settings'): (
1340 (TABLENS, 'iteration'),
1341 (TABLENS, 'null-date'),
1342 ),
1343 # allowed_children
1344 (TABLENS, 'cell-address'): (),
1345 (TABLENS, 'cell-content-change'): (
1346 (OFFICENS, 'change-info'),
1347 (TABLENS, 'cell-address'),
1348 (TABLENS, 'deletions'),
1349 (TABLENS, 'dependencies'),
1350 (TABLENS, 'previous'),
1351 ),
1352 (TABLENS, 'cell-content-deletion'): (
1353 (TABLENS, 'cell-address'),
1354 (TABLENS, 'change-track-table-cell'),
1355 ),
1356 (TABLENS, 'cell-range-source'): (),
1357 (TABLENS, 'change-deletion'): (),
1358 (TABLENS, 'change-track-table-cell'): ((TEXTNS, 'p'),),
1359 (TABLENS, 'consolidation'): (),
1360 (TABLENS, 'content-validation'): (
1361 (OFFICENS, 'event-listeners'),
1362 (TABLENS, 'error-macro'),
1363 (TABLENS, 'error-message'),
1364 (TABLENS, 'help-message'),
1365 ),
1366 # allowed_children
1367 (TABLENS, 'content-validations'): ((TABLENS, 'content-validation'),),
1368 (TABLENS, 'covered-table-cell'): (
1369 (DR3DNS, 'scene'),
1370 (DRAWNS, 'a'),
1371 (DRAWNS, 'caption'),
1372 (DRAWNS, 'circle'),
1373 (DRAWNS, 'connector'),
1374 (DRAWNS, 'control'),
1375 (DRAWNS, 'custom-shape'),
1376 (DRAWNS, 'ellipse'),
1377 (DRAWNS, 'frame'),
1378 (DRAWNS, 'g'),
1379 (DRAWNS, 'line'),
1380 (DRAWNS, 'measure'),
1381 (DRAWNS, 'page-thumbnail'),
1382 (DRAWNS, 'path'),
1383 (DRAWNS, 'polygon'),
1384 (DRAWNS, 'polyline'),
1385 (DRAWNS, 'rect'),
1386 (DRAWNS, 'regular-polygon'),
1387 (OFFICENS, 'annotation'),
1388 (TABLENS, 'cell-range-source'),
1389 (TABLENS, 'detective'),
1390 (TABLENS, 'table'),
1391 (TEXTNS, 'alphabetical-index'),
1392 (TEXTNS, 'bibliography'),
1393 (TEXTNS, 'change'),
1394 (TEXTNS, 'change-end'),
1395 (TEXTNS, 'change-start'),
1396 (TEXTNS, 'h'),
1397 (TEXTNS, 'illustration-index'),
1398 (TEXTNS, 'list'),
1399 (TEXTNS, 'numbered-paragraph'),
1400 (TEXTNS, 'object-index'),
1401 (TEXTNS, 'p'),
1402 (TEXTNS, 'section'),
1403 (TEXTNS, 'soft-page-break'),
1404 (TEXTNS, 'table-index'),
1405 (TEXTNS, 'table-of-content'),
1406 (TEXTNS, 'user-index'),
1407 ),
1408 # allowed_children
1409 (TABLENS, 'cut-offs'): (
1410 (TABLENS, 'insertion-cut-off'),
1411 (TABLENS, 'movement-cut-off'),
1412 ),
1413 (TABLENS, 'data-pilot-display-info'): (),
1414 (TABLENS, 'data-pilot-field'): (
1415 (TABLENS, 'data-pilot-field-reference'),
1416 (TABLENS, 'data-pilot-groups'),
1417 (TABLENS, 'data-pilot-level'),
1418 ),
1419 (TABLENS, 'data-pilot-field-reference'): (),
1420 (TABLENS, 'data-pilot-group'): ((TABLENS, 'data-pilot-group-member'),),
1421 (TABLENS, 'data-pilot-group-member'): (),
1422 (TABLENS, 'data-pilot-groups'): ((TABLENS, 'data-pilot-group'),),
1423 (TABLENS, 'data-pilot-layout-info'): (),
1424 (TABLENS, 'data-pilot-level'): (
1425 (TABLENS, 'data-pilot-display-info'),
1426 (TABLENS, 'data-pilot-layout-info'),
1427 (TABLENS, 'data-pilot-members'),
1428 (TABLENS, 'data-pilot-sort-info'),
1429 (TABLENS, 'data-pilot-subtotals'),
1430 ),
1431 (TABLENS, 'data-pilot-member'): (),
1432 (TABLENS, 'data-pilot-members'): ((TABLENS, 'data-pilot-member'),),
1433 (TABLENS, 'data-pilot-sort-info'): (),
1434 (TABLENS, 'data-pilot-subtotal'): (),
1435 (TABLENS, 'data-pilot-subtotals'): ((TABLENS, 'data-pilot-subtotal'),),
1436 # allowed_children
1437 (TABLENS, 'data-pilot-table'): (
1438 (TABLENS, 'data-pilot-field'),
1439 (TABLENS, 'database-source-query'),
1440 (TABLENS, 'database-source-sql'),
1441 (TABLENS, 'database-source-table'),
1442 (TABLENS, 'source-cell-range'),
1443 (TABLENS, 'source-service'),
1444 ),
1445 (TABLENS, 'data-pilot-tables'): ((TABLENS, 'data-pilot-table'),),
1446 (TABLENS, 'database-range'): (
1447 (TABLENS, 'database-source-query'),
1448 (TABLENS, 'database-source-sql'),
1449 (TABLENS, 'database-source-table'),
1450 (TABLENS, 'filter'),
1451 (TABLENS, 'sort'),
1452 (TABLENS, 'subtotal-rules'),
1453 ),
1454 (TABLENS, 'database-ranges'): ((TABLENS, 'database-range'),),
1455 (TABLENS, 'database-source-query'): (),
1456 (TABLENS, 'database-source-sql'): (),
1457 (TABLENS, 'database-source-table'): (),
1458 # allowed_children
1459 (TABLENS, 'dde-link'): (
1460 (OFFICENS, 'dde-source'),
1461 (TABLENS, 'table'),
1462 ),
1463 (TABLENS, 'dde-links'): ((TABLENS, 'dde-link'),),
1464 (TABLENS, 'deletion'): (
1465 (OFFICENS, 'change-info'),
1466 (TABLENS, 'cut-offs'),
1467 (TABLENS, 'deletions'),
1468 (TABLENS, 'dependencies'),
1469 ),
1470 (TABLENS, 'deletions'): (
1471 (TABLENS, 'cell-content-deletion'),
1472 (TABLENS, 'change-deletion'),
1473 ),
1474 (TABLENS, 'dependencies'): ((TABLENS, 'dependency'),),
1475 (TABLENS, 'dependency'): (),
1476 (TABLENS, 'detective'): (
1477 (TABLENS, 'highlighted-range'),
1478 (TABLENS, 'operation'),
1479 ),
1480 # allowed_children
1481 (TABLENS, 'error-macro'): (),
1482 (TABLENS, 'error-message'): ((TEXTNS, 'p'),),
1483 (TABLENS, 'even-columns'): (),
1484 (TABLENS, 'even-rows'): (),
1485 (TABLENS, 'filter'): (
1486 (TABLENS, 'filter-and'),
1487 (TABLENS, 'filter-condition'),
1488 (TABLENS, 'filter-or'),
1489 ),
1490 (TABLENS, 'filter-and'): (
1491 (TABLENS, 'filter-condition'),
1492 (TABLENS, 'filter-or'),
1493 ),
1494 (TABLENS, 'filter-condition'): (),
1495 (TABLENS, 'filter-or'): (
1496 (TABLENS, 'filter-and'),
1497 (TABLENS, 'filter-condition'),
1498 ),
1499 # allowed_children
1500 (TABLENS, 'first-column'): (),
1501 (TABLENS, 'first-row'): (),
1502 (TABLENS, 'help-message'): ((TEXTNS, 'p'),),
1503 (TABLENS, 'highlighted-range'): (),
1504 (TABLENS, 'insertion'): (
1505 (OFFICENS, 'change-info'),
1506 (TABLENS, 'deletions'),
1507 (TABLENS, 'dependencies'),
1508 ),
1509 (TABLENS, 'insertion-cut-off'): (),
1510 (TABLENS, 'iteration'): (),
1511 (TABLENS, 'label-range'): (),
1512 (TABLENS, 'label-ranges'): ((TABLENS, 'label-range'),),
1513 (TABLENS, 'last-column'): (),
1514 (TABLENS, 'last-row'): (),
1515 (TABLENS, 'movement'): (
1516 (OFFICENS, 'change-info'),
1517 (TABLENS, 'deletions'),
1518 (TABLENS, 'dependencies'),
1519 (TABLENS, 'source-range-address'),
1520 (TABLENS, 'target-range-address'),
1521 ),
1522 (TABLENS, 'movement-cut-off'): (),
1523 (TABLENS, 'named-expression'): (),
1524 (TABLENS, 'named-expressions'): (
1525 (TABLENS, 'named-expression'),
1526 (TABLENS, 'named-range'),
1527 ),
1528 # allowed_children
1529 (TABLENS, 'named-range'): (),
1530 (TABLENS, 'null-date'): (),
1531 (TABLENS, 'odd-columns'): (),
1532 (TABLENS, 'odd-rows'): (),
1533 (TABLENS, 'operation'): (),
1534 (TABLENS, 'previous'): ((TABLENS, 'change-track-table-cell'),),
1535 (TABLENS, 'scenario'): (),
1536 (TABLENS, 'shapes'): (
1537 (DR3DNS, 'scene'),
1538 (DRAWNS, 'caption'),
1539 (DRAWNS, 'circle'),
1540 (DRAWNS, 'connector'),
1541 (DRAWNS, 'control'),
1542 (DRAWNS, 'custom-shape'),
1543 (DRAWNS, 'ellipse'),
1544 (DRAWNS, 'frame'),
1545 (DRAWNS, 'g'),
1546 (DRAWNS, 'line'),
1547 (DRAWNS, 'measure'),
1548 (DRAWNS, 'page-thumbnail'),
1549 (DRAWNS, 'path'),
1550 (DRAWNS, 'polygon'),
1551 (DRAWNS, 'polyline'),
1552 (DRAWNS, 'rect'),
1553 (DRAWNS, 'regular-polygon'),
1554 ),
1555 # allowed_children
1556 (TABLENS, 'sort'): ((TABLENS, 'sort-by'),),
1557 (TABLENS, 'sort-by'): (),
1558 (TABLENS, 'sort-groups'): (),
1559 (TABLENS, 'source-cell-range'): ((TABLENS, 'filter'),),
1560 (TABLENS, 'source-range-address'): (),
1561 (TABLENS, 'source-service'): (),
1562 (TABLENS, 'subtotal-field'): (),
1563 (TABLENS, 'subtotal-rule'): ((TABLENS, 'subtotal-field'),),
1564 (TABLENS, 'subtotal-rules'): (
1565 (TABLENS, 'sort-groups'),
1566 (TABLENS, 'subtotal-rule'),
1567 ),
1568 # allowed_children
1569 (TABLENS, 'table'): (
1570 (OFFICENS, 'dde-source'),
1571 (OFFICENS, 'forms'),
1572 (TEXTNS, 'soft-page-break'),
1573 (TABLENS, 'scenario'),
1574 (TABLENS, 'shapes'),
1575 (TABLENS, 'table-column'),
1576 (TABLENS, 'table-column-group'),
1577 (TABLENS, 'table-columns'),
1578 (TABLENS, 'table-header-columns'),
1579 (TABLENS, 'table-header-rows'),
1580 (TABLENS, 'table-row'),
1581 (TABLENS, 'table-row-group'),
1582 (TABLENS, 'table-rows'),
1583 (TABLENS, 'table-source'),
1584 ),
1585 (TABLENS, 'table-cell'): (
1586 (DR3DNS, 'scene'),
1587 (DRAWNS, 'a'),
1588 (DRAWNS, 'caption'),
1589 (DRAWNS, 'circle'),
1590 (DRAWNS, 'connector'),
1591 (DRAWNS, 'control'),
1592 (DRAWNS, 'custom-shape'),
1593 (DRAWNS, 'ellipse'),
1594 (DRAWNS, 'frame'),
1595 (DRAWNS, 'g'),
1596 (DRAWNS, 'line'),
1597 (DRAWNS, 'measure'),
1598 (DRAWNS, 'page-thumbnail'),
1599 (DRAWNS, 'path'),
1600 (DRAWNS, 'polygon'),
1601 (DRAWNS, 'polyline'),
1602 (DRAWNS, 'rect'),
1603 (DRAWNS, 'regular-polygon'),
1604 (OFFICENS, 'annotation'),
1605 (TABLENS, 'cell-range-source'),
1606 (TABLENS, 'detective'),
1607 (TABLENS, 'table'),
1608 (TEXTNS, 'alphabetical-index'),
1609 (TEXTNS, 'bibliography'),
1610 (TEXTNS, 'change'),
1611 (TEXTNS, 'change-end'),
1612 (TEXTNS, 'change-start'),
1613 (TEXTNS, 'h'),
1614 (TEXTNS, 'illustration-index'),
1615 (TEXTNS, 'list'),
1616 (TEXTNS, 'numbered-paragraph'),
1617 (TEXTNS, 'object-index'),
1618 (TEXTNS, 'p'),
1619 (TEXTNS, 'section'),
1620 (TEXTNS, 'soft-page-break'),
1621 (TEXTNS, 'table-index'),
1622 (TEXTNS, 'table-of-content'),
1623 (TEXTNS, 'user-index'),
1624 ),
1625 # allowed_children
1626 (TABLENS, 'table-column'): (),
1627 (TABLENS, 'table-column-group'): (
1628 (TABLENS, 'table-column'),
1629 (TABLENS, 'table-column-group'),
1630 (TABLENS, 'table-columns'),
1631 (TABLENS, 'table-header-columns'),
1632 ),
1633 (TABLENS, 'table-columns'): ((TABLENS, 'table-column'),),
1634 (TABLENS, 'table-header-columns'): ((TABLENS, 'table-column'),),
1635 (TABLENS, 'table-header-rows'): (
1636 (TABLENS, 'table-row'),
1637 (TEXTNS, 'soft-page-break'),
1638 ),
1639 (TABLENS, 'table-row'): (
1640 (TABLENS, 'covered-table-cell'),
1641 (TABLENS, 'table-cell'),
1642 ),
1643 (TABLENS, 'table-row-group'): (
1644 (TABLENS, 'table-header-rows'),
1645 (TABLENS, 'table-row'),
1646 (TABLENS, 'table-row-group'),
1647 (TABLENS, 'table-rows'),
1648 (TEXTNS, 'soft-page-break'),
1649 ),
1650 (TABLENS, 'table-rows'): (
1651 (TABLENS, 'table-row'),
1652 (TEXTNS, 'soft-page-break'),
1653 ),
1654 # allowed_children
1655 (TABLENS, 'table-source'): (),
1656 (TABLENS, 'table-template'): (
1657 (TABLENS, 'body'),
1658 (TABLENS, 'even-columns'),
1659 (TABLENS, 'even-rows'),
1660 (TABLENS, 'first-column'),
1661 (TABLENS, 'first-row'),
1662 (TABLENS, 'last-column'),
1663 (TABLENS, 'last-row'),
1664 (TABLENS, 'odd-columns'),
1665 (TABLENS, 'odd-rows'),
1666 ),
1667 (TABLENS, 'target-range-address'): (),
1668 (TABLENS, 'tracked-changes'): (
1669 (TABLENS, 'cell-content-change'),
1670 (TABLENS, 'deletion'),
1671 (TABLENS, 'insertion'),
1672 (TABLENS, 'movement'),
1673 ),
1674 # allowed_children
1675 (TEXTNS, 'a'): (
1676 (DR3DNS, 'scene'),
1677 (DRAWNS, 'a'),
1678 (DRAWNS, 'caption'),
1679 (DRAWNS, 'circle'),
1680 (DRAWNS, 'connector'),
1681 (DRAWNS, 'control'),
1682 (DRAWNS, 'custom-shape'),
1683 (DRAWNS, 'ellipse'),
1684 (DRAWNS, 'frame'),
1685 (DRAWNS, 'g'),
1686 (DRAWNS, 'line'),
1687 (DRAWNS, 'measure'),
1688 (DRAWNS, 'page-thumbnail'),
1689 (DRAWNS, 'path'),
1690 (DRAWNS, 'polygon'),
1691 (DRAWNS, 'polyline'),
1692 (DRAWNS, 'rect'),
1693 (DRAWNS, 'regular-polygon'),
1694 (OFFICENS, 'annotation'),
1695 (OFFICENS, 'event-listeners'),
1696 (PRESENTATIONNS, 'date-time'),
1697 (PRESENTATIONNS, 'footer'),
1698 (PRESENTATIONNS, 'header'),
1699 (TEXTNS, 'a'),
1700 (TEXTNS, 'alphabetical-index-mark'),
1701 (TEXTNS, 'alphabetical-index-mark-end'),
1702 (TEXTNS, 'alphabetical-index-mark-start'),
1703 (TEXTNS, 'author-initials'),
1704 (TEXTNS, 'author-name'),
1705 (TEXTNS, 'bibliography-mark'),
1706 (TEXTNS, 'bookmark'),
1707 (TEXTNS, 'bookmark-end'),
1708 (TEXTNS, 'bookmark-ref'),
1709 (TEXTNS, 'bookmark-start'),
1710 (TEXTNS, 'change'),
1711 (TEXTNS, 'change-end'),
1712 (TEXTNS, 'change-start'),
1713 (TEXTNS, 'chapter'),
1714 (TEXTNS, 'conditional-text'),
1715 (TEXTNS, 'creation-date'),
1716 (TEXTNS, 'creation-time'),
1717 (TEXTNS, 'creator'),
1718 (TEXTNS, 'database-display'),
1719 (TEXTNS, 'database-name'),
1720 (TEXTNS, 'database-next'),
1721 (TEXTNS, 'database-row-number'),
1722 (TEXTNS, 'database-row-select'),
1723 (TEXTNS, 'date'),
1724 (TEXTNS, 'dde-connection'),
1725 (TEXTNS, 'description'),
1726 (TEXTNS, 'editing-cycles'),
1727 (TEXTNS, 'editing-duration'),
1728 (TEXTNS, 'execute-macro'),
1729 (TEXTNS, 'expression'),
1730 (TEXTNS, 'file-name'),
1731 (TEXTNS, 'hidden-paragraph'),
1732 (TEXTNS, 'hidden-text'),
1733 (TEXTNS, 'initial-creator'),
1734 (TEXTNS, 'keywords'),
1735 (TEXTNS, 'line-break'),
1736 (TEXTNS, 'measure'),
1737 (TEXTNS, 'modification-date'),
1738 (TEXTNS, 'modification-time'),
1739 (TEXTNS, 'note'),
1740 (TEXTNS, 'note-ref'),
1741 (TEXTNS, 'page-count'),
1742 (TEXTNS, 'paragraph-count'),
1743 (TEXTNS, 'word-count'),
1744 (TEXTNS, 'character-count'),
1745 (TEXTNS, 'table-count'),
1746 (TEXTNS, 'image-count'),
1747 (TEXTNS, 'object-count'),
1748 (TEXTNS, 'page-continuation'),
1749 (TEXTNS, 'page-number'),
1750 (TEXTNS, 'page-variable-get'),
1751 (TEXTNS, 'page-variable-set'),
1752 (TEXTNS, 'placeholder'),
1753 (TEXTNS, 'print-date'),
1754 (TEXTNS, 'print-time'),
1755 (TEXTNS, 'printed-by'),
1756 (TEXTNS, 'reference-mark'),
1757 (TEXTNS, 'reference-mark-end'),
1758 (TEXTNS, 'reference-mark-start'),
1759 (TEXTNS, 'reference-ref'),
1760 (TEXTNS, 'ruby'),
1761 (TEXTNS, 's'),
1762 (TEXTNS, 'script'),
1763 (TEXTNS, 'sender-city'),
1764 (TEXTNS, 'sender-company'),
1765 (TEXTNS, 'sender-country'),
1766 (TEXTNS, 'sender-email'),
1767 (TEXTNS, 'sender-fax'),
1768 (TEXTNS, 'sender-firstname'),
1769 (TEXTNS, 'sender-initials'),
1770 (TEXTNS, 'sender-lastname'),
1771 (TEXTNS, 'sender-phone-private'),
1772 (TEXTNS, 'sender-phone-work'),
1773 (TEXTNS, 'sender-position'),
1774 (TEXTNS, 'sender-postal-code'),
1775 (TEXTNS, 'sender-state-or-province'),
1776 (TEXTNS, 'sender-street'),
1777 (TEXTNS, 'sender-title'),
1778 (TEXTNS, 'sequence'),
1779 (TEXTNS, 'sequence-ref'),
1780 (TEXTNS, 'sheet-name'),
1781 (TEXTNS, 'soft-page-break'),
1782 (TEXTNS, 'span'),
1783 (TEXTNS, 'subject'),
1784 (TEXTNS, 'tab'),
1785 (TEXTNS, 'table-formula'),
1786 (TEXTNS, 'template-name'),
1787 (TEXTNS, 'text-input'),
1788 (TEXTNS, 'time'),
1789 (TEXTNS, 'title'),
1790 (TEXTNS, 'toc-mark'),
1791 (TEXTNS, 'toc-mark-end'),
1792 (TEXTNS, 'toc-mark-start'),
1793 (TEXTNS, 'user-defined'),
1794 (TEXTNS, 'user-field-get'),
1795 (TEXTNS, 'user-field-input'),
1796 (TEXTNS, 'user-index-mark'),
1797 (TEXTNS, 'user-index-mark-end'),
1798 (TEXTNS, 'user-index-mark-start'),
1799 (TEXTNS, 'variable-get'),
1800 (TEXTNS, 'variable-input'),
1801 (TEXTNS, 'variable-set'),
1802 ),
1803 # allowed_children
1804 (TEXTNS, 'alphabetical-index'): (
1805 (TEXTNS, 'alphabetical-index-source'),
1806 (TEXTNS, 'index-body'),
1807 ),
1808 (TEXTNS, 'alphabetical-index-auto-mark-file'): (),
1809 (TEXTNS, 'alphabetical-index-entry-template'): (
1810 (TEXTNS, 'index-entry-chapter'),
1811 (TEXTNS, 'index-entry-page-number'),
1812 (TEXTNS, 'index-entry-span'),
1813 (TEXTNS, 'index-entry-tab-stop'),
1814 (TEXTNS, 'index-entry-text'),
1815 ),
1816 (TEXTNS, 'alphabetical-index-mark'): (),
1817 (TEXTNS, 'alphabetical-index-mark-end'): (),
1818 (TEXTNS, 'alphabetical-index-mark-start'): (),
1819 (TEXTNS, 'alphabetical-index-source'): (
1820 (TEXTNS, 'alphabetical-index-entry-template'),
1821 (TEXTNS, 'index-title-template'),
1822 ),
1823 (TEXTNS, 'author-initials'): (),
1824 (TEXTNS, 'author-name'): (),
1825 (TEXTNS, 'bibliography'): (
1826 (TEXTNS, 'bibliography-source'),
1827 (TEXTNS, 'index-body'),
1828 ),
1829 (TEXTNS, 'bibliography-configuration'): ((TEXTNS, 'sort-key'),),
1830 (TEXTNS, 'bibliography-entry-template'): (
1831 (TEXTNS, 'index-entry-bibliography'),
1832 (TEXTNS, 'index-entry-span'),
1833 (TEXTNS, 'index-entry-tab-stop'),
1834 ),
1835 # allowed_children
1836 (TEXTNS, 'bibliography-mark'): (),
1837 (TEXTNS, 'bibliography-source'): (
1838 (TEXTNS, 'bibliography-entry-template'),
1839 (TEXTNS, 'index-title-template'),
1840 ),
1841 (TEXTNS, 'bookmark'): (),
1842 (TEXTNS, 'bookmark-end'): (),
1843 (TEXTNS, 'bookmark-ref'): (),
1844 (TEXTNS, 'bookmark-start'): (),
1845 (TEXTNS, 'change'): (),
1846 (TEXTNS, 'change-end'): (),
1847 (TEXTNS, 'change-start'): (),
1848 (TEXTNS, 'changed-region'): (
1849 (TEXTNS, 'deletion'),
1850 (TEXTNS, 'format-change'),
1851 (TEXTNS, 'insertion'),
1852 ),
1853 (TEXTNS, 'chapter'): (),
1854 (TEXTNS, 'character-count'): (),
1855 (TEXTNS, 'conditional-text'): (),
1856 (TEXTNS, 'creation-date'): (),
1857 (TEXTNS, 'creation-time'): (),
1858 (TEXTNS, 'creator'): (),
1859 (TEXTNS, 'database-display'): ((FORMNS, 'connection-resource'),),
1860 (TEXTNS, 'database-name'): ((FORMNS, 'connection-resource'),),
1861 (TEXTNS, 'database-next'): ((FORMNS, 'connection-resource'),),
1862 (TEXTNS, 'database-row-number'): ((FORMNS, 'connection-resource'),),
1863 (TEXTNS, 'database-row-select'): ((FORMNS, 'connection-resource'),),
1864 (TEXTNS, 'date'): (),
1865 (TEXTNS, 'dde-connection'): (),
1866 (TEXTNS, 'dde-connection-decl'): (),
1867 (TEXTNS, 'dde-connection-decls'): ((TEXTNS, 'dde-connection-decl'),),
1868 # allowed_children
1869 (TEXTNS, 'deletion'): (
1870 (DR3DNS, 'scene'),
1871 (DRAWNS, 'a'),
1872 (DRAWNS, 'caption'),
1873 (DRAWNS, 'circle'),
1874 (DRAWNS, 'connector'),
1875 (DRAWNS, 'control'),
1876 (DRAWNS, 'custom-shape'),
1877 (DRAWNS, 'ellipse'),
1878 (DRAWNS, 'frame'),
1879 (DRAWNS, 'g'),
1880 (DRAWNS, 'line'),
1881 (DRAWNS, 'measure'),
1882 (DRAWNS, 'page-thumbnail'),
1883 (DRAWNS, 'path'),
1884 (DRAWNS, 'polygon'),
1885 (DRAWNS, 'polyline'),
1886 (DRAWNS, 'rect'),
1887 (DRAWNS, 'regular-polygon'),
1888 (OFFICENS, 'change-info'),
1889 (TABLENS, 'table'),
1890 (TEXTNS, 'alphabetical-index'),
1891 (TEXTNS, 'bibliography'),
1892 (TEXTNS, 'change'),
1893 (TEXTNS, 'change-end'),
1894 (TEXTNS, 'change-start'),
1895 (TEXTNS, 'h'),
1896 (TEXTNS, 'illustration-index'),
1897 (TEXTNS, 'list'),
1898 (TEXTNS, 'numbered-paragraph'),
1899 (TEXTNS, 'object-index'),
1900 (TEXTNS, 'p'),
1901 (TEXTNS, 'section'),
1902 (TEXTNS, 'soft-page-break'),
1903 (TEXTNS, 'table-index'),
1904 (TEXTNS, 'table-of-content'),
1905 (TEXTNS, 'user-index'),
1906 ),
1907 (TEXTNS, 'description'): (),
1908 (TEXTNS, 'editing-cycles'): (),
1909 (TEXTNS, 'editing-duration'): (),
1910 (TEXTNS, 'execute-macro'): ((OFFICENS, 'event-listeners'),),
1911 (TEXTNS, 'expression'): (),
1912 (TEXTNS, 'file-name'): (),
1913 (TEXTNS, 'format-change'): ((OFFICENS, 'change-info'),),
1914 # allowed_children
1915 (TEXTNS, 'h'): (
1916 (DR3DNS, 'scene'),
1917 (DRAWNS, 'a'),
1918 (DRAWNS, 'caption'),
1919 (DRAWNS, 'circle'),
1920 (DRAWNS, 'connector'),
1921 (DRAWNS, 'control'),
1922 (DRAWNS, 'custom-shape'),
1923 (DRAWNS, 'ellipse'),
1924 (DRAWNS, 'frame'),
1925 (DRAWNS, 'g'),
1926 (DRAWNS, 'line'),
1927 (DRAWNS, 'measure'),
1928 (DRAWNS, 'page-thumbnail'),
1929 (DRAWNS, 'path'),
1930 (DRAWNS, 'polygon'),
1931 (DRAWNS, 'polyline'),
1932 (DRAWNS, 'rect'),
1933 (DRAWNS, 'regular-polygon'),
1934 (OFFICENS, 'annotation'),
1935 (PRESENTATIONNS, 'date-time'),
1936 (PRESENTATIONNS, 'footer'),
1937 (PRESENTATIONNS, 'header'),
1938 (TEXTNS, 'a'),
1939 (TEXTNS, 'alphabetical-index-mark'),
1940 (TEXTNS, 'alphabetical-index-mark-end'),
1941 (TEXTNS, 'alphabetical-index-mark-start'),
1942 (TEXTNS, 'author-initials'),
1943 (TEXTNS, 'author-name'),
1944 (TEXTNS, 'bibliography-mark'),
1945 (TEXTNS, 'bookmark'),
1946 (TEXTNS, 'bookmark-end'),
1947 (TEXTNS, 'bookmark-ref'),
1948 (TEXTNS, 'bookmark-start'),
1949 (TEXTNS, 'change'),
1950 (TEXTNS, 'change-end'),
1951 (TEXTNS, 'change-start'),
1952 (TEXTNS, 'chapter'),
1953 (TEXTNS, 'conditional-text'),
1954 (TEXTNS, 'creation-date'),
1955 (TEXTNS, 'creation-time'),
1956 (TEXTNS, 'creator'),
1957 (TEXTNS, 'database-display'),
1958 (TEXTNS, 'database-name'),
1959 (TEXTNS, 'database-next'),
1960 (TEXTNS, 'database-row-number'),
1961 (TEXTNS, 'database-row-select'),
1962 (TEXTNS, 'date'),
1963 (TEXTNS, 'dde-connection'),
1964 (TEXTNS, 'description'),
1965 (TEXTNS, 'editing-cycles'),
1966 (TEXTNS, 'editing-duration'),
1967 (TEXTNS, 'execute-macro'),
1968 (TEXTNS, 'expression'),
1969 (TEXTNS, 'file-name'),
1970 (TEXTNS, 'hidden-paragraph'),
1971 (TEXTNS, 'hidden-text'),
1972 (TEXTNS, 'initial-creator'),
1973 (TEXTNS, 'keywords'),
1974 (TEXTNS, 'line-break'),
1975 (TEXTNS, 'measure'),
1976 (TEXTNS, 'modification-date'),
1977 (TEXTNS, 'modification-time'),
1978 (TEXTNS, 'note'),
1979 (TEXTNS, 'note-ref'),
1980 (TEXTNS, 'number'),
1981 (TEXTNS, 'page-count'),
1982 (TEXTNS, 'paragraph-count'),
1983 (TEXTNS, 'word-count'),
1984 (TEXTNS, 'character-count'),
1985 (TEXTNS, 'table-count'),
1986 (TEXTNS, 'image-count'),
1987 (TEXTNS, 'object-count'),
1988 (TEXTNS, 'page-continuation'),
1989 (TEXTNS, 'page-number'),
1990 (TEXTNS, 'page-variable-get'),
1991 (TEXTNS, 'page-variable-set'),
1992 (TEXTNS, 'placeholder'),
1993 (TEXTNS, 'print-date'),
1994 (TEXTNS, 'print-time'),
1995 (TEXTNS, 'printed-by'),
1996 (TEXTNS, 'reference-mark'),
1997 (TEXTNS, 'reference-mark-end'),
1998 (TEXTNS, 'reference-mark-start'),
1999 (TEXTNS, 'reference-ref'),
2000 (TEXTNS, 'ruby'),
2001 (TEXTNS, 's'),
2002 (TEXTNS, 'script'),
2003 (TEXTNS, 'sender-city'),
2004 (TEXTNS, 'sender-company'),
2005 (TEXTNS, 'sender-country'),
2006 (TEXTNS, 'sender-email'),
2007 (TEXTNS, 'sender-fax'),
2008 (TEXTNS, 'sender-firstname'),
2009 (TEXTNS, 'sender-initials'),
2010 (TEXTNS, 'sender-lastname'),
2011 (TEXTNS, 'sender-phone-private'),
2012 (TEXTNS, 'sender-phone-work'),
2013 (TEXTNS, 'sender-position'),
2014 (TEXTNS, 'sender-postal-code'),
2015 (TEXTNS, 'sender-state-or-province'),
2016 (TEXTNS, 'sender-street'),
2017 (TEXTNS, 'sender-title'),
2018 (TEXTNS, 'sequence'),
2019 (TEXTNS, 'sequence-ref'),
2020 (TEXTNS, 'sheet-name'),
2021 (TEXTNS, 'soft-page-break'),
2022 (TEXTNS, 'span'),
2023 (TEXTNS, 'subject'),
2024 (TEXTNS, 'tab'),
2025 (TEXTNS, 'table-formula'),
2026 (TEXTNS, 'template-name'),
2027 (TEXTNS, 'text-input'),
2028 (TEXTNS, 'time'),
2029 (TEXTNS, 'title'),
2030 (TEXTNS, 'toc-mark'),
2031 (TEXTNS, 'toc-mark-end'),
2032 (TEXTNS, 'toc-mark-start'),
2033 (TEXTNS, 'user-defined'),
2034 (TEXTNS, 'user-field-get'),
2035 (TEXTNS, 'user-field-input'),
2036 (TEXTNS, 'user-index-mark'),
2037 (TEXTNS, 'user-index-mark-end'),
2038 (TEXTNS, 'user-index-mark-start'),
2039 (TEXTNS, 'variable-get'),
2040 (TEXTNS, 'variable-input'),
2041 (TEXTNS, 'variable-set'),
2042 ),
2043 # allowed_children
2044 (TEXTNS, 'hidden-paragraph'): (),
2045 (TEXTNS, 'hidden-text'): (),
2046 (TEXTNS, 'illustration-index'): (
2047 (TEXTNS, 'illustration-index-source'),
2048 (TEXTNS, 'index-body'),
2049 ),
2050 (TEXTNS, 'illustration-index-entry-template'): (
2051 (TEXTNS, 'index-entry-page-number'),
2052 (TEXTNS, 'index-entry-span'),
2053 (TEXTNS, 'index-entry-tab-stop'),
2054 (TEXTNS, 'index-entry-text'),
2055 ),
2056 (TEXTNS, 'illustration-index-source'): (
2057 (TEXTNS, 'illustration-index-entry-template'),
2058 (TEXTNS, 'index-title-template'),
2059 ),
2060 (TEXTNS, 'image-count'): (),
2061 # allowed_children
2062 (TEXTNS, 'index-body'): (
2063 (DR3DNS, 'scene'),
2064 (DRAWNS, 'a'),
2065 (DRAWNS, 'caption'),
2066 (DRAWNS, 'circle'),
2067 (DRAWNS, 'connector'),
2068 (DRAWNS, 'control'),
2069 (DRAWNS, 'custom-shape'),
2070 (DRAWNS, 'ellipse'),
2071 (DRAWNS, 'frame'),
2072 (DRAWNS, 'g'),
2073 (DRAWNS, 'line'),
2074 (DRAWNS, 'measure'),
2075 (DRAWNS, 'page-thumbnail'),
2076 (DRAWNS, 'path'),
2077 (DRAWNS, 'polygon'),
2078 (DRAWNS, 'polyline'),
2079 (DRAWNS, 'rect'),
2080 (DRAWNS, 'regular-polygon'),
2081 (TABLENS, 'table'),
2082 (TEXTNS, 'alphabetical-index'),
2083 (TEXTNS, 'bibliography'),
2084 (TEXTNS, 'change'),
2085 (TEXTNS, 'change-end'),
2086 (TEXTNS, 'change-start'),
2087 (TEXTNS, 'h'),
2088 (TEXTNS, 'illustration-index'),
2089 (TEXTNS, 'index-title'),
2090 (TEXTNS, 'list'),
2091 (TEXTNS, 'numbered-paragraph'),
2092 (TEXTNS, 'object-index'),
2093 (TEXTNS, 'p'),
2094 (TEXTNS, 'section'),
2095 (TEXTNS, 'soft-page-break'),
2096 (TEXTNS, 'table-index'),
2097 (TEXTNS, 'table-of-content'),
2098 (TEXTNS, 'user-index'),
2099 ),
2100 (TEXTNS, 'index-entry-bibliography'): (),
2101 (TEXTNS, 'index-entry-chapter'): (),
2102 (TEXTNS, 'index-entry-link-end'): (),
2103 (TEXTNS, 'index-entry-link-start'): (),
2104 (TEXTNS, 'index-entry-page-number'): (),
2105 (TEXTNS, 'index-entry-span'): (),
2106 (TEXTNS, 'index-entry-tab-stop'): (),
2107 (TEXTNS, 'index-entry-text'): (),
2108 (TEXTNS, 'index-source-style'): (),
2109 (TEXTNS, 'index-source-styles'): ((TEXTNS, 'index-source-style'),),
2110 # allowed_children
2111 (TEXTNS, 'index-title'): (
2112 (DR3DNS, 'scene'),
2113 (DRAWNS, 'a'),
2114 (DRAWNS, 'caption'),
2115 (DRAWNS, 'circle'),
2116 (DRAWNS, 'connector'),
2117 (DRAWNS, 'control'),
2118 (DRAWNS, 'custom-shape'),
2119 (DRAWNS, 'ellipse'),
2120 (DRAWNS, 'frame'),
2121 (DRAWNS, 'g'),
2122 (DRAWNS, 'line'),
2123 (DRAWNS, 'measure'),
2124 (DRAWNS, 'page-thumbnail'),
2125 (DRAWNS, 'path'),
2126 (DRAWNS, 'polygon'),
2127 (DRAWNS, 'polyline'),
2128 (DRAWNS, 'rect'),
2129 (DRAWNS, 'regular-polygon'),
2130 (TABLENS, 'table'),
2131 (TEXTNS, 'alphabetical-index'),
2132 (TEXTNS, 'bibliography'),
2133 (TEXTNS, 'change'),
2134 (TEXTNS, 'change-end'),
2135 (TEXTNS, 'change-start'),
2136 (TEXTNS, 'h'),
2137 (TEXTNS, 'illustration-index'),
2138 (TEXTNS, 'index-title'),
2139 (TEXTNS, 'list'),
2140 (TEXTNS, 'numbered-paragraph'),
2141 (TEXTNS, 'object-index'),
2142 (TEXTNS, 'p'),
2143 (TEXTNS, 'section'),
2144 (TEXTNS, 'soft-page-break'),
2145 (TEXTNS, 'table-index'),
2146 (TEXTNS, 'table-of-content'),
2147 (TEXTNS, 'user-index'),
2148 ),
2149 (TEXTNS, 'index-title-template'): (),
2150 (TEXTNS, 'initial-creator'): (),
2151 (TEXTNS, 'insertion'): ((OFFICENS, 'change-info'),),
2152 (TEXTNS, 'keywords'): (),
2153 (TEXTNS, 'line-break'): (),
2154 (TEXTNS, 'linenumbering-configuration'): ((TEXTNS, 'linenumbering-separator'),),
2155 (TEXTNS, 'linenumbering-separator'): (),
2156 (TEXTNS, 'list'): (
2157 (TEXTNS, 'list-header'),
2158 (TEXTNS, 'list-item'),
2159 ),
2160 (TEXTNS, 'list-header'): (
2161 (TEXTNS, 'h'),
2162 (TEXTNS, 'list'),
2163 (TEXTNS, 'number'),
2164 (TEXTNS, 'p'),
2165 (TEXTNS, 'soft-page-break'),
2166 ),
2167 (TEXTNS, 'list-item'): (
2168 (TEXTNS, 'h'),
2169 (TEXTNS, 'list'),
2170 (TEXTNS, 'number'),
2171 (TEXTNS, 'p'),
2172 (TEXTNS, 'soft-page-break'),
2173 ),
2174 (TEXTNS, 'list-level-style-bullet'): (
2175 (STYLENS, 'list-level-properties'),
2176 (STYLENS, 'text-properties'),
2177 ),
2178 (TEXTNS, 'list-level-style-image'): (
2179 (OFFICENS, 'binary-data'),
2180 (STYLENS, 'list-level-properties'),
2181 ),
2182 (TEXTNS, 'list-level-style-number'): (
2183 (STYLENS, 'list-level-properties'),
2184 (STYLENS, 'text-properties'),
2185 ),
2186 (TEXTNS, 'list-style'): (
2187 (TEXTNS, 'list-level-style-bullet'),
2188 (TEXTNS, 'list-level-style-image'),
2189 (TEXTNS, 'list-level-style-number'),
2190 ),
2191 (TEXTNS, 'measure'): (),
2192 (TEXTNS, 'modification-date'): (),
2193 (TEXTNS, 'modification-time'): (),
2194 (TEXTNS, 'note'): (
2195 (TEXTNS, 'note-body'),
2196 (TEXTNS, 'note-citation'),
2197 ),
2198 # allowed_children
2199 (TEXTNS, 'note-body'): (
2200 (DR3DNS, 'scene'),
2201 (DRAWNS, 'a'),
2202 (DRAWNS, 'caption'),
2203 (DRAWNS, 'circle'),
2204 (DRAWNS, 'connector'),
2205 (DRAWNS, 'control'),
2206 (DRAWNS, 'custom-shape'),
2207 (DRAWNS, 'ellipse'),
2208 (DRAWNS, 'frame'),
2209 (DRAWNS, 'g'),
2210 (DRAWNS, 'line'),
2211 (DRAWNS, 'measure'),
2212 (DRAWNS, 'page-thumbnail'),
2213 (DRAWNS, 'path'),
2214 (DRAWNS, 'polygon'),
2215 (DRAWNS, 'polyline'),
2216 (DRAWNS, 'rect'),
2217 (DRAWNS, 'regular-polygon'),
2218 (TABLENS, 'table'),
2219 (TEXTNS, 'alphabetical-index'),
2220 (TEXTNS, 'bibliography'),
2221 (TEXTNS, 'change'),
2222 (TEXTNS, 'change-end'),
2223 (TEXTNS, 'change-start'),
2224 (TEXTNS, 'h'),
2225 (TEXTNS, 'illustration-index'),
2226 (TEXTNS, 'list'),
2227 (TEXTNS, 'numbered-paragraph'),
2228 (TEXTNS, 'object-index'),
2229 (TEXTNS, 'p'),
2230 (TEXTNS, 'section'),
2231 (TEXTNS, 'soft-page-break'),
2232 (TEXTNS, 'table-index'),
2233 (TEXTNS, 'table-of-content'),
2234 (TEXTNS, 'user-index'),
2235 ),
2236 (TEXTNS, 'note-citation'): (),
2237 (TEXTNS, 'note-continuation-notice-backward'): (),
2238 (TEXTNS, 'note-continuation-notice-forward'): (),
2239 (TEXTNS, 'note-ref'): (),
2240 (TEXTNS, 'notes-configuration'): (
2241 (TEXTNS, 'note-continuation-notice-backward'),
2242 (TEXTNS, 'note-continuation-notice-forward'),
2243 ),
2244 (TEXTNS, 'number'): (),
2245 (TEXTNS, 'numbered-paragraph'): (
2246 (TEXTNS, 'h'),
2247 (TEXTNS, 'number'),
2248 (TEXTNS, 'p'),
2249 ),
2250 (TEXTNS, 'object-count'): (),
2251 (TEXTNS, 'object-index'): (
2252 (TEXTNS, 'index-body'),
2253 (TEXTNS, 'object-index-source'),
2254 ),
2255 (TEXTNS, 'object-index-entry-template'): (
2256 (TEXTNS, 'index-entry-page-number'),
2257 (TEXTNS, 'index-entry-span'),
2258 (TEXTNS, 'index-entry-tab-stop'),
2259 (TEXTNS, 'index-entry-text'),
2260 ),
2261 (TEXTNS, 'object-index-source'): (
2262 (TEXTNS, 'index-title-template'),
2263 (TEXTNS, 'object-index-entry-template'),
2264 ),
2265 (TEXTNS, 'outline-level-style'): (
2266 (STYLENS, 'list-level-properties'),
2267 (STYLENS, 'text-properties'),
2268 ),
2269 (TEXTNS, 'outline-style'): ((TEXTNS, 'outline-level-style'),),
2270 # allowed_children
2271 (TEXTNS, 'p'): (
2272 (DR3DNS, 'scene'),
2273 (DRAWNS, 'a'),
2274 (DRAWNS, 'caption'),
2275 (DRAWNS, 'circle'),
2276 (DRAWNS, 'connector'),
2277 (DRAWNS, 'control'),
2278 (DRAWNS, 'custom-shape'),
2279 (DRAWNS, 'ellipse'),
2280 (DRAWNS, 'frame'),
2281 (DRAWNS, 'g'),
2282 (DRAWNS, 'line'),
2283 (DRAWNS, 'measure'),
2284 (DRAWNS, 'page-thumbnail'),
2285 (DRAWNS, 'path'),
2286 (DRAWNS, 'polygon'),
2287 (DRAWNS, 'polyline'),
2288 (DRAWNS, 'rect'),
2289 (DRAWNS, 'regular-polygon'),
2290 (OFFICENS, 'annotation'),
2291 (PRESENTATIONNS, 'date-time'),
2292 (PRESENTATIONNS, 'footer'),
2293 (PRESENTATIONNS, 'header'),
2294 (TEXTNS, 'a'),
2295 (TEXTNS, 'alphabetical-index-mark'),
2296 (TEXTNS, 'alphabetical-index-mark-end'),
2297 (TEXTNS, 'alphabetical-index-mark-start'),
2298 (TEXTNS, 'author-initials'),
2299 (TEXTNS, 'author-name'),
2300 (TEXTNS, 'bibliography-mark'),
2301 (TEXTNS, 'bookmark'),
2302 (TEXTNS, 'bookmark-end'),
2303 (TEXTNS, 'bookmark-ref'),
2304 (TEXTNS, 'bookmark-start'),
2305 (TEXTNS, 'change'),
2306 (TEXTNS, 'change-end'),
2307 (TEXTNS, 'change-start'),
2308 (TEXTNS, 'chapter'),
2309 (TEXTNS, 'character-count'),
2310 (TEXTNS, 'conditional-text'),
2311 (TEXTNS, 'creation-date'),
2312 (TEXTNS, 'creation-time'),
2313 (TEXTNS, 'creator'),
2314 (TEXTNS, 'database-display'),
2315 (TEXTNS, 'database-name'),
2316 (TEXTNS, 'database-next'),
2317 (TEXTNS, 'database-row-number'),
2318 (TEXTNS, 'database-row-select'),
2319 (TEXTNS, 'date'),
2320 (TEXTNS, 'dde-connection'),
2321 (TEXTNS, 'description'),
2322 (TEXTNS, 'editing-cycles'),
2323 (TEXTNS, 'editing-duration'),
2324 (TEXTNS, 'execute-macro'),
2325 (TEXTNS, 'expression'),
2326 (TEXTNS, 'file-name'),
2327 (TEXTNS, 'hidden-paragraph'),
2328 (TEXTNS, 'hidden-text'),
2329 (TEXTNS, 'image-count'),
2330 (TEXTNS, 'initial-creator'),
2331 (TEXTNS, 'keywords'),
2332 (TEXTNS, 'line-break'),
2333 (TEXTNS, 'measure'),
2334 (TEXTNS, 'modification-date'),
2335 (TEXTNS, 'modification-time'),
2336 (TEXTNS, 'note'),
2337 (TEXTNS, 'note-ref'),
2338 (TEXTNS, 'object-count'),
2339 (TEXTNS, 'page-continuation'),
2340 (TEXTNS, 'page-count'),
2341 (TEXTNS, 'page-number'),
2342 (TEXTNS, 'page-variable-get'),
2343 (TEXTNS, 'page-variable-set'),
2344 (TEXTNS, 'paragraph-count'),
2345 (TEXTNS, 'placeholder'),
2346 (TEXTNS, 'print-date'),
2347 (TEXTNS, 'printed-by'),
2348 (TEXTNS, 'print-time'),
2349 (TEXTNS, 'reference-mark'),
2350 (TEXTNS, 'reference-mark-end'),
2351 (TEXTNS, 'reference-mark-start'),
2352 (TEXTNS, 'reference-ref'),
2353 (TEXTNS, 'ruby'),
2354 (TEXTNS, 's'),
2355 (TEXTNS, 'script'),
2356 (TEXTNS, 'sender-city'),
2357 (TEXTNS, 'sender-company'),
2358 (TEXTNS, 'sender-country'),
2359 (TEXTNS, 'sender-email'),
2360 (TEXTNS, 'sender-fax'),
2361 (TEXTNS, 'sender-firstname'),
2362 (TEXTNS, 'sender-initials'),
2363 (TEXTNS, 'sender-lastname'),
2364 (TEXTNS, 'sender-phone-private'),
2365 (TEXTNS, 'sender-phone-work'),
2366 (TEXTNS, 'sender-position'),
2367 (TEXTNS, 'sender-postal-code'),
2368 (TEXTNS, 'sender-state-or-province'),
2369 (TEXTNS, 'sender-street'),
2370 (TEXTNS, 'sender-title'),
2371 (TEXTNS, 'sequence'),
2372 (TEXTNS, 'sequence-ref'),
2373 (TEXTNS, 'sheet-name'),
2374 (TEXTNS, 'soft-page-break'),
2375 (TEXTNS, 'span'),
2376 (TEXTNS, 'subject'),
2377 (TEXTNS, 'tab'),
2378 (TEXTNS, 'table-count'),
2379 (TEXTNS, 'table-formula'),
2380 (TEXTNS, 'template-name'),
2381 (TEXTNS, 'text-input'),
2382 (TEXTNS, 'time'),
2383 (TEXTNS, 'title'),
2384 (TEXTNS, 'toc-mark'),
2385 (TEXTNS, 'toc-mark-end'),
2386 (TEXTNS, 'toc-mark-start'),
2387 (TEXTNS, 'user-defined'),
2388 (TEXTNS, 'user-field-get'),
2389 (TEXTNS, 'user-field-input'),
2390 (TEXTNS, 'user-index-mark'),
2391 (TEXTNS, 'user-index-mark-end'),
2392 (TEXTNS, 'user-index-mark-start'),
2393 (TEXTNS, 'variable-get'),
2394 (TEXTNS, 'variable-input'),
2395 (TEXTNS, 'variable-set'),
2396 (TEXTNS, 'word-count'),
2397 ),
2398 (TEXTNS, 'page'): (),
2399 (TEXTNS, 'page-count'): (),
2400 (TEXTNS, 'page-continuation'): (),
2401 (TEXTNS, 'page-number'): (),
2402 (TEXTNS, 'page-sequence'): ((TEXTNS, 'page'),),
2403 (TEXTNS, 'page-variable-get'): (),
2404 (TEXTNS, 'page-variable-set'): (),
2405 (TEXTNS, 'paragraph-count'): (),
2406 (TEXTNS, 'placeholder'): (),
2407 (TEXTNS, 'print-date'): (),
2408 (TEXTNS, 'print-time'): (),
2409 (TEXTNS, 'printed-by'): (),
2410 (TEXTNS, 'reference-mark'): (),
2411 (TEXTNS, 'reference-mark-end'): (),
2412 # allowed_children
2413 (TEXTNS, 'reference-mark-start'): (),
2414 (TEXTNS, 'reference-ref'): (),
2415 (TEXTNS, 'ruby'): (
2416 (TEXTNS, 'ruby-base'),
2417 (TEXTNS, 'ruby-text'),
2418 ),
2419 (TEXTNS, 'ruby-base'): (
2420 (DR3DNS, 'scene'),
2421 (DRAWNS, 'a'),
2422 (DRAWNS, 'caption'),
2423 (DRAWNS, 'circle'),
2424 (DRAWNS, 'connector'),
2425 (DRAWNS, 'control'),
2426 (DRAWNS, 'custom-shape'),
2427 (DRAWNS, 'ellipse'),
2428 (DRAWNS, 'frame'),
2429 (DRAWNS, 'g'),
2430 (DRAWNS, 'line'),
2431 (DRAWNS, 'measure'),
2432 (DRAWNS, 'page-thumbnail'),
2433 (DRAWNS, 'path'),
2434 (DRAWNS, 'polygon'),
2435 (DRAWNS, 'polyline'),
2436 (DRAWNS, 'rect'),
2437 (DRAWNS, 'regular-polygon'),
2438 (OFFICENS, 'annotation'),
2439 (PRESENTATIONNS, 'date-time'),
2440 (PRESENTATIONNS, 'footer'),
2441 (PRESENTATIONNS, 'header'),
2442 (TEXTNS, 'a'),
2443 (TEXTNS, 'alphabetical-index-mark'),
2444 (TEXTNS, 'alphabetical-index-mark-end'),
2445 (TEXTNS, 'alphabetical-index-mark-start'),
2446 (TEXTNS, 'author-initials'),
2447 (TEXTNS, 'author-name'),
2448 (TEXTNS, 'bibliography-mark'),
2449 (TEXTNS, 'bookmark'),
2450 (TEXTNS, 'bookmark-end'),
2451 (TEXTNS, 'bookmark-ref'),
2452 (TEXTNS, 'bookmark-start'),
2453 (TEXTNS, 'change'),
2454 (TEXTNS, 'change-end'),
2455 (TEXTNS, 'change-start'),
2456 (TEXTNS, 'chapter'),
2457 (TEXTNS, 'conditional-text'),
2458 (TEXTNS, 'creation-date'),
2459 (TEXTNS, 'creation-time'),
2460 (TEXTNS, 'creator'),
2461 (TEXTNS, 'database-display'),
2462 (TEXTNS, 'database-name'),
2463 (TEXTNS, 'database-next'),
2464 (TEXTNS, 'database-row-number'),
2465 (TEXTNS, 'database-row-select'),
2466 (TEXTNS, 'date'),
2467 (TEXTNS, 'dde-connection'),
2468 (TEXTNS, 'description'),
2469 (TEXTNS, 'editing-cycles'),
2470 (TEXTNS, 'editing-duration'),
2471 (TEXTNS, 'execute-macro'),
2472 (TEXTNS, 'expression'),
2473 (TEXTNS, 'file-name'),
2474 (TEXTNS, 'hidden-paragraph'),
2475 (TEXTNS, 'hidden-text'),
2476 (TEXTNS, 'initial-creator'),
2477 (TEXTNS, 'keywords'),
2478 (TEXTNS, 'line-break'),
2479 (TEXTNS, 'measure'),
2480 (TEXTNS, 'modification-date'),
2481 (TEXTNS, 'modification-time'),
2482 (TEXTNS, 'note'),
2483 (TEXTNS, 'note-ref'),
2484 (TEXTNS, 'page-count'),
2485 (TEXTNS, 'paragraph-count'),
2486 (TEXTNS, 'word-count'),
2487 (TEXTNS, 'character-count'),
2488 (TEXTNS, 'table-count'),
2489 (TEXTNS, 'image-count'),
2490 (TEXTNS, 'object-count'),
2491 (TEXTNS, 'page-continuation'),
2492 (TEXTNS, 'page-number'),
2493 (TEXTNS, 'page-variable-get'),
2494 (TEXTNS, 'page-variable-set'),
2495 (TEXTNS, 'placeholder'),
2496 (TEXTNS, 'print-date'),
2497 (TEXTNS, 'print-time'),
2498 (TEXTNS, 'printed-by'),
2499 (TEXTNS, 'reference-mark'),
2500 (TEXTNS, 'reference-mark-end'),
2501 (TEXTNS, 'reference-mark-start'),
2502 (TEXTNS, 'reference-ref'),
2503 (TEXTNS, 'ruby'),
2504 (TEXTNS, 's'),
2505 (TEXTNS, 'script'),
2506 (TEXTNS, 'sender-city'),
2507 (TEXTNS, 'sender-company'),
2508 (TEXTNS, 'sender-country'),
2509 (TEXTNS, 'sender-email'),
2510 (TEXTNS, 'sender-fax'),
2511 (TEXTNS, 'sender-firstname'),
2512 (TEXTNS, 'sender-initials'),
2513 (TEXTNS, 'sender-lastname'),
2514 (TEXTNS, 'sender-phone-private'),
2515 (TEXTNS, 'sender-phone-work'),
2516 (TEXTNS, 'sender-position'),
2517 (TEXTNS, 'sender-postal-code'),
2518 (TEXTNS, 'sender-state-or-province'),
2519 (TEXTNS, 'sender-street'),
2520 (TEXTNS, 'sender-title'),
2521 (TEXTNS, 'sequence'),
2522 (TEXTNS, 'sequence-ref'),
2523 (TEXTNS, 'sheet-name'),
2524 (TEXTNS, 'soft-page-break'),
2525 (TEXTNS, 'span'),
2526 (TEXTNS, 'subject'),
2527 (TEXTNS, 'tab'),
2528 (TEXTNS, 'table-formula'),
2529 (TEXTNS, 'template-name'),
2530 (TEXTNS, 'text-input'),
2531 (TEXTNS, 'time'),
2532 (TEXTNS, 'title'),
2533 (TEXTNS, 'toc-mark'),
2534 (TEXTNS, 'toc-mark-end'),
2535 (TEXTNS, 'toc-mark-start'),
2536 (TEXTNS, 'user-defined'),
2537 (TEXTNS, 'user-field-get'),
2538 (TEXTNS, 'user-field-input'),
2539 (TEXTNS, 'user-index-mark'),
2540 (TEXTNS, 'user-index-mark-end'),
2541 (TEXTNS, 'user-index-mark-start'),
2542 (TEXTNS, 'variable-get'),
2543 (TEXTNS, 'variable-input'),
2544 (TEXTNS, 'variable-set'),
2545 ),
2546 # allowed_children
2547 (TEXTNS, 'ruby-text'): (),
2548 (TEXTNS, 's'): (),
2549 (TEXTNS, 'script'): (),
2550 (TEXTNS, 'section'): (
2551 (DR3DNS, 'scene'),
2552 (DRAWNS, 'a'),
2553 (DRAWNS, 'caption'),
2554 (DRAWNS, 'circle'),
2555 (DRAWNS, 'connector'),
2556 (DRAWNS, 'control'),
2557 (DRAWNS, 'custom-shape'),
2558 (DRAWNS, 'ellipse'),
2559 (DRAWNS, 'frame'),
2560 (DRAWNS, 'g'),
2561 (DRAWNS, 'line'),
2562 (DRAWNS, 'measure'),
2563 (DRAWNS, 'page-thumbnail'),
2564 (DRAWNS, 'path'),
2565 (DRAWNS, 'polygon'),
2566 (DRAWNS, 'polyline'),
2567 (DRAWNS, 'rect'),
2568 (DRAWNS, 'regular-polygon'),
2569 (OFFICENS, 'dde-source'),
2570 (TABLENS, 'table'),
2571 (TEXTNS, 'alphabetical-index'),
2572 (TEXTNS, 'bibliography'),
2573 (TEXTNS, 'change'),
2574 (TEXTNS, 'change-end'),
2575 (TEXTNS, 'change-start'),
2576 (TEXTNS, 'h'),
2577 (TEXTNS, 'illustration-index'),
2578 (TEXTNS, 'list'),
2579 (TEXTNS, 'numbered-paragraph'),
2580 (TEXTNS, 'object-index'),
2581 (TEXTNS, 'p'),
2582 (TEXTNS, 'section'),
2583 (TEXTNS, 'section-source'),
2584 (TEXTNS, 'soft-page-break'),
2585 (TEXTNS, 'table-index'),
2586 (TEXTNS, 'table-of-content'),
2587 (TEXTNS, 'user-index'),
2588 ),
2589 (TEXTNS, 'section-source'): (),
2590 (TEXTNS, 'sender-city'): (),
2591 (TEXTNS, 'sender-company'): (),
2592 (TEXTNS, 'sender-country'): (),
2593 # allowed_children
2594 (TEXTNS, 'sender-email'): (),
2595 (TEXTNS, 'sender-fax'): (),
2596 (TEXTNS, 'sender-firstname'): (),
2597 (TEXTNS, 'sender-initials'): (),
2598 (TEXTNS, 'sender-lastname'): (),
2599 (TEXTNS, 'sender-phone-private'): (),
2600 (TEXTNS, 'sender-phone-work'): (),
2601 (TEXTNS, 'sender-position'): (),
2602 (TEXTNS, 'sender-postal-code'): (),
2603 (TEXTNS, 'sender-state-or-province'): (),
2604 (TEXTNS, 'sender-street'): (),
2605 (TEXTNS, 'sender-title'): (),
2606 (TEXTNS, 'sequence'): (),
2607 (TEXTNS, 'sequence-decl'): (),
2608 (TEXTNS, 'sequence-decls'): ((TEXTNS, 'sequence-decl'),),
2609 (TEXTNS, 'sequence-ref'): (),
2610 (TEXTNS, 'sheet-name'): (),
2611 (TEXTNS, 'soft-page-break'): (),
2612 (TEXTNS, 'sort-key'): (),
2613 # allowed_children
2614 (TEXTNS, 'span'): (
2615 (DR3DNS, 'scene'),
2616 (DRAWNS, 'a'),
2617 (DRAWNS, 'caption'),
2618 (DRAWNS, 'circle'),
2619 (DRAWNS, 'connector'),
2620 (DRAWNS, 'control'),
2621 (DRAWNS, 'custom-shape'),
2622 (DRAWNS, 'ellipse'),
2623 (DRAWNS, 'frame'),
2624 (DRAWNS, 'g'),
2625 (DRAWNS, 'line'),
2626 (DRAWNS, 'measure'),
2627 (DRAWNS, 'page-thumbnail'),
2628 (DRAWNS, 'path'),
2629 (DRAWNS, 'polygon'),
2630 (DRAWNS, 'polyline'),
2631 (DRAWNS, 'rect'),
2632 (DRAWNS, 'regular-polygon'),
2633 (OFFICENS, 'annotation'),
2634 (PRESENTATIONNS, 'date-time'),
2635 (PRESENTATIONNS, 'footer'),
2636 (PRESENTATIONNS, 'header'),
2637 (TEXTNS, 'a'),
2638 (TEXTNS, 'alphabetical-index-mark'),
2639 (TEXTNS, 'alphabetical-index-mark-end'),
2640 (TEXTNS, 'alphabetical-index-mark-start'),
2641 (TEXTNS, 'author-initials'),
2642 (TEXTNS, 'author-name'),
2643 (TEXTNS, 'bibliography-mark'),
2644 (TEXTNS, 'bookmark'),
2645 (TEXTNS, 'bookmark-end'),
2646 (TEXTNS, 'bookmark-ref'),
2647 (TEXTNS, 'bookmark-start'),
2648 (TEXTNS, 'change'),
2649 (TEXTNS, 'change-end'),
2650 (TEXTNS, 'change-start'),
2651 (TEXTNS, 'chapter'),
2652 (TEXTNS, 'conditional-text'),
2653 (TEXTNS, 'creation-date'),
2654 (TEXTNS, 'creation-time'),
2655 (TEXTNS, 'creator'),
2656 (TEXTNS, 'database-display'),
2657 (TEXTNS, 'database-name'),
2658 (TEXTNS, 'database-next'),
2659 (TEXTNS, 'database-row-number'),
2660 (TEXTNS, 'database-row-select'),
2661 (TEXTNS, 'date'),
2662 (TEXTNS, 'dde-connection'),
2663 (TEXTNS, 'description'),
2664 (TEXTNS, 'editing-cycles'),
2665 (TEXTNS, 'editing-duration'),
2666 (TEXTNS, 'execute-macro'),
2667 (TEXTNS, 'expression'),
2668 (TEXTNS, 'file-name'),
2669 (TEXTNS, 'hidden-paragraph'),
2670 (TEXTNS, 'hidden-text'),
2671 (TEXTNS, 'initial-creator'),
2672 (TEXTNS, 'keywords'),
2673 (TEXTNS, 'line-break'),
2674 (TEXTNS, 'measure'),
2675 (TEXTNS, 'modification-date'),
2676 (TEXTNS, 'modification-time'),
2677 (TEXTNS, 'note'),
2678 (TEXTNS, 'note-ref'),
2679 (TEXTNS, 'page-count'),
2680 (TEXTNS, 'paragraph-count'),
2681 (TEXTNS, 'word-count'),
2682 (TEXTNS, 'character-count'),
2683 (TEXTNS, 'table-count'),
2684 (TEXTNS, 'image-count'),
2685 (TEXTNS, 'object-count'),
2686 (TEXTNS, 'page-continuation'),
2687 (TEXTNS, 'page-number'),
2688 (TEXTNS, 'page-variable-get'),
2689 (TEXTNS, 'page-variable-set'),
2690 (TEXTNS, 'placeholder'),
2691 (TEXTNS, 'print-date'),
2692 (TEXTNS, 'print-time'),
2693 (TEXTNS, 'printed-by'),
2694 (TEXTNS, 'reference-mark'),
2695 (TEXTNS, 'reference-mark-end'),
2696 (TEXTNS, 'reference-mark-start'),
2697 (TEXTNS, 'reference-ref'),
2698 (TEXTNS, 'ruby'),
2699 (TEXTNS, 's'),
2700 (TEXTNS, 'script'),
2701 (TEXTNS, 'sender-city'),
2702 (TEXTNS, 'sender-company'),
2703 (TEXTNS, 'sender-country'),
2704 (TEXTNS, 'sender-email'),
2705 (TEXTNS, 'sender-fax'),
2706 (TEXTNS, 'sender-firstname'),
2707 (TEXTNS, 'sender-initials'),
2708 (TEXTNS, 'sender-lastname'),
2709 (TEXTNS, 'sender-phone-private'),
2710 (TEXTNS, 'sender-phone-work'),
2711 (TEXTNS, 'sender-position'),
2712 (TEXTNS, 'sender-postal-code'),
2713 (TEXTNS, 'sender-state-or-province'),
2714 (TEXTNS, 'sender-street'),
2715 (TEXTNS, 'sender-title'),
2716 (TEXTNS, 'sequence'),
2717 (TEXTNS, 'sequence-ref'),
2718 (TEXTNS, 'sheet-name'),
2719 (TEXTNS, 'soft-page-break'),
2720 (TEXTNS, 'span'),
2721 (TEXTNS, 'subject'),
2722 (TEXTNS, 'tab'),
2723 (TEXTNS, 'table-formula'),
2724 (TEXTNS, 'template-name'),
2725 (TEXTNS, 'text-input'),
2726 (TEXTNS, 'time'),
2727 (TEXTNS, 'title'),
2728 (TEXTNS, 'toc-mark'),
2729 (TEXTNS, 'toc-mark-end'),
2730 (TEXTNS, 'toc-mark-start'),
2731 (TEXTNS, 'user-defined'),
2732 (TEXTNS, 'user-field-get'),
2733 (TEXTNS, 'user-field-input'),
2734 (TEXTNS, 'user-index-mark'),
2735 (TEXTNS, 'user-index-mark-end'),
2736 (TEXTNS, 'user-index-mark-start'),
2737 (TEXTNS, 'variable-get'),
2738 (TEXTNS, 'variable-input'),
2739 (TEXTNS, 'variable-set'),
2740 ),
2741 # allowed_children
2742 (TEXTNS, 'subject'): (),
2743 (TEXTNS, 'tab'): (),
2744 (TEXTNS, 'table-count'): (),
2745 (TEXTNS, 'table-formula'): (),
2746 (TEXTNS, 'table-index'): (
2747 (TEXTNS, 'index-body'),
2748 (TEXTNS, 'table-index-source'),
2749 ),
2750 (TEXTNS, 'table-index-entry-template'): (
2751 (TEXTNS, 'index-entry-page-number'),
2752 (TEXTNS, 'index-entry-span'),
2753 (TEXTNS, 'index-entry-tab-stop'),
2754 (TEXTNS, 'index-entry-text'),
2755 ),
2756 (TEXTNS, 'table-index-source'): (
2757 (TEXTNS, 'index-title-template'),
2758 (TEXTNS, 'table-index-entry-template'),
2759 ),
2760 (TEXTNS, 'table-of-content'): (
2761 (TEXTNS, 'index-body'),
2762 (TEXTNS, 'table-of-content-source'),
2763 ),
2764 (TEXTNS, 'table-of-content-entry-template'): (
2765 (TEXTNS, 'index-entry-chapter'),
2766 (TEXTNS, 'index-entry-link-end'),
2767 (TEXTNS, 'index-entry-link-start'),
2768 (TEXTNS, 'index-entry-page-number'),
2769 (TEXTNS, 'index-entry-span'),
2770 (TEXTNS, 'index-entry-tab-stop'),
2771 (TEXTNS, 'index-entry-text'),
2772 ),
2773 (TEXTNS, 'table-of-content-source'): (
2774 (TEXTNS, 'index-source-styles'),
2775 (TEXTNS, 'index-title-template'),
2776 (TEXTNS, 'table-of-content-entry-template'),
2777 ),
2778 (TEXTNS, 'template-name'): (),
2779 (TEXTNS, 'text-input'): (),
2780 (TEXTNS, 'time'): (),
2781 (TEXTNS, 'title'): (),
2782 (TEXTNS, 'toc-mark'): (),
2783 (TEXTNS, 'toc-mark-end'): (),
2784 (TEXTNS, 'toc-mark-start'): (),
2785 # allowed_children
2786 (TEXTNS, 'tracked-changes'): ((TEXTNS, 'changed-region'),),
2787 (TEXTNS, 'user-defined'): (),
2788 (TEXTNS, 'user-field-decl'): (),
2789 (TEXTNS, 'user-field-decls'): ((TEXTNS, 'user-field-decl'),),
2790 (TEXTNS, 'user-field-get'): (),
2791 (TEXTNS, 'user-field-input'): (),
2792 (TEXTNS, 'user-index'): (
2793 (TEXTNS, 'index-body'),
2794 (TEXTNS, 'user-index-source'),
2795 ),
2796 (TEXTNS, 'user-index-entry-template'): (
2797 (TEXTNS, 'index-entry-chapter'),
2798 (TEXTNS, 'index-entry-page-number'),
2799 (TEXTNS, 'index-entry-span'),
2800 (TEXTNS, 'index-entry-tab-stop'),
2801 (TEXTNS, 'index-entry-text'),
2802 ),
2803 # allowed_children
2804 (TEXTNS, 'user-index-mark'): (),
2805 (TEXTNS, 'user-index-mark-end'): (),
2806 (TEXTNS, 'user-index-mark-start'): (),
2807 (TEXTNS, 'user-index-source'): (
2808 (TEXTNS, 'index-source-styles'),
2809 (TEXTNS, 'index-title-template'),
2810 (TEXTNS, 'user-index-entry-template'),
2811 ),
2812 (TEXTNS, 'variable-decl'): (),
2813 (TEXTNS, 'variable-decls'): ((TEXTNS, 'variable-decl'),),
2814 (TEXTNS, 'variable-get'): (),
2815 (TEXTNS, 'variable-input'): (),
2816 (TEXTNS, 'variable-set'): (),
2817 (TEXTNS, 'word-count'): (),
2818 # allowed_children
2819 }
2820
2821 #
2822 # List of elements that allows text nodes
2823 #
2824 allows_text = (
2825 (CONFIGNS, 'config-item'),
2826 (DCNS, 'creator'),
2827 (DCNS, 'date'),
2828 (DCNS, 'description'),
2829 (DCNS, 'language'),
2830 (DCNS, 'subject'),
2831 (DCNS, 'title'),
2832 # Completes Dublin Core start
2833 # (DCNS,'contributor'),
2834 # (DCNS,'coverage'),
2835 # (DCNS,'format'),
2836 # (DCNS,'identifier'),
2837 # (DCNS,'publisher'),
2838 # (DCNS,'relation'),
2839 # (DCNS,'rights'),
2840 # (DCNS,'source'),
2841 # (DCNS,'type'),
2842 # Completes Dublin Core end
2843 (FORMNS, 'item'),
2844 (FORMNS, 'option'),
2845 (MATHNS, 'math'),
2846 (METANS, 'creation-date'),
2847 (METANS, 'date-string'),
2848 (METANS, 'editing-cycles'),
2849 (METANS, 'editing-duration'),
2850 # allows_text
2851 (METANS, 'generator'),
2852 (METANS, 'initial-creator'),
2853 (METANS, 'keyword'),
2854 (METANS, 'print-date'),
2855 (METANS, 'printed-by'),
2856 (METANS, 'user-defined'),
2857 (NUMBERNS, 'currency-symbol'),
2858 (NUMBERNS, 'embedded-text'),
2859 (NUMBERNS, 'text'),
2860 (OFFICENS, 'binary-data'),
2861 (OFFICENS, 'script'),
2862 (PRESENTATIONNS, 'date-time-decl'),
2863 (PRESENTATIONNS, 'footer-decl'),
2864 (PRESENTATIONNS, 'header-decl'),
2865 (SVGNS, 'desc'),
2866 (SVGNS, 'title'),
2867 (TEXTNS, 'a'),
2868 (TEXTNS, 'author-initials'),
2869 (TEXTNS, 'author-name'),
2870 (TEXTNS, 'bibliography-mark'),
2871 (TEXTNS, 'bookmark-ref'),
2872 (TEXTNS, 'chapter'),
2873 (TEXTNS, 'character-count'),
2874 (TEXTNS, 'conditional-text'),
2875 (TEXTNS, 'creation-date'),
2876 (TEXTNS, 'creation-time'),
2877 (TEXTNS, 'creator'),
2878 (TEXTNS, 'database-display'),
2879 (TEXTNS, 'database-name'),
2880 (TEXTNS, 'database-row-number'),
2881 (TEXTNS, 'date'),
2882 (TEXTNS, 'dde-connection'),
2883 (TEXTNS, 'description'),
2884 (TEXTNS, 'editing-cycles'),
2885 (TEXTNS, 'editing-duration'),
2886 (TEXTNS, 'execute-macro'),
2887 (TEXTNS, 'expression'),
2888 (TEXTNS, 'file-name'),
2889 (TEXTNS, 'h'),
2890 (TEXTNS, 'hidden-paragraph'),
2891 (TEXTNS, 'hidden-text'),
2892 (TEXTNS, 'image-count'),
2893 # allows_text
2894 (TEXTNS, 'index-entry-span'),
2895 (TEXTNS, 'index-title-template'),
2896 (TEXTNS, 'initial-creator'),
2897 (TEXTNS, 'keywords'),
2898 (TEXTNS, 'linenumbering-separator'),
2899 (TEXTNS, 'measure'),
2900 (TEXTNS, 'modification-date'),
2901 (TEXTNS, 'modification-time'),
2902 (TEXTNS, 'note-citation'),
2903 (TEXTNS, 'note-continuation-notice-backward'),
2904 (TEXTNS, 'note-continuation-notice-forward'),
2905 (TEXTNS, 'note-ref'),
2906 (TEXTNS, 'number'),
2907 (TEXTNS, 'object-count'),
2908 (TEXTNS, 'p'),
2909 (TEXTNS, 'page-continuation'),
2910 (TEXTNS, 'page-count'),
2911 (TEXTNS, 'page-number'),
2912 (TEXTNS, 'page-variable-get'),
2913 (TEXTNS, 'page-variable-set'),
2914 (TEXTNS, 'paragraph-count'),
2915 (TEXTNS, 'placeholder'),
2916 (TEXTNS, 'print-date'),
2917 (TEXTNS, 'print-time'),
2918 (TEXTNS, 'printed-by'),
2919 (TEXTNS, 'reference-ref'),
2920 (TEXTNS, 'ruby-base'),
2921 (TEXTNS, 'ruby-text'),
2922 (TEXTNS, 'script'),
2923 (TEXTNS, 'sender-city'),
2924 (TEXTNS, 'sender-company'),
2925 (TEXTNS, 'sender-country'),
2926 (TEXTNS, 'sender-email'),
2927 (TEXTNS, 'sender-fax'),
2928 (TEXTNS, 'sender-firstname'),
2929 (TEXTNS, 'sender-initials'),
2930 (TEXTNS, 'sender-lastname'),
2931 (TEXTNS, 'sender-phone-private'),
2932 (TEXTNS, 'sender-phone-work'),
2933 (TEXTNS, 'sender-position'),
2934 (TEXTNS, 'sender-postal-code'),
2935 (TEXTNS, 'sender-state-or-province'),
2936 (TEXTNS, 'sender-street'),
2937 (TEXTNS, 'sender-title'),
2938 (TEXTNS, 'sequence'),
2939 (TEXTNS, 'sequence-ref'),
2940 (TEXTNS, 'sheet-name'),
2941 # allows_text
2942 (TEXTNS, 'span'),
2943 (TEXTNS, 'subject'),
2944 (TEXTNS, 'table-count'),
2945 (TEXTNS, 'table-formula'),
2946 (TEXTNS, 'template-name'),
2947 (TEXTNS, 'text-input'),
2948 (TEXTNS, 'time'),
2949 (TEXTNS, 'title'),
2950 (TEXTNS, 'user-defined'),
2951 (TEXTNS, 'user-field-get'),
2952 (TEXTNS, 'user-field-input'),
2953 (TEXTNS, 'variable-get'),
2954 (TEXTNS, 'variable-input'),
2955 (TEXTNS, 'variable-set'),
2956 (TEXTNS, 'word-count'),
2957 # allows_text
2958 )
2959
2960 # Only the elements with at least one required attribute is listed
2961
2962 required_attributes = {
2963 (ANIMNS, 'animate'): ((SMILNS, 'attributeName'),),
2964 (ANIMNS, 'animateColor'): ((SMILNS, 'attributeName'),),
2965 (ANIMNS, 'animateMotion'): ((SMILNS, 'attributeName'),),
2966 (ANIMNS, 'animateTransform'): (
2967 (SVGNS, 'type'),
2968 (SMILNS, 'attributeName'),
2969 ),
2970 (ANIMNS, 'command'): ((ANIMNS, 'command'),),
2971 (ANIMNS, 'param'): (
2972 (ANIMNS, 'name'),
2973 (ANIMNS, 'value'),
2974 ),
2975 (ANIMNS, 'set'): ((SMILNS, 'attributeName'),),
2976 # required_attributes
2977 (ANIMNS, 'transitionFilter'): ((SMILNS, 'type'),),
2978 (CHARTNS, 'axis'): ((CHARTNS, 'dimension'),),
2979 (CHARTNS, 'chart'): ((CHARTNS, 'class'),),
2980 (CHARTNS, 'symbol-image'): ((XLINKNS, 'href'),),
2981 (CONFIGNS, 'config-item'): (
2982 (CONFIGNS, 'type'),
2983 (CONFIGNS, 'name'),
2984 ),
2985 (CONFIGNS, 'config-item-map-indexed'): ((CONFIGNS, 'name'),),
2986 (CONFIGNS, 'config-item-map-named'): ((CONFIGNS, 'name'),),
2987 (CONFIGNS, 'config-item-set'): ((CONFIGNS, 'name'),),
2988 # required_attributes
2989 (NUMBERNS, 'boolean-style'): ((STYLENS, 'name'),),
2990 (NUMBERNS, 'currency-style'): ((STYLENS, 'name'),),
2991 (NUMBERNS, 'date-style'): ((STYLENS, 'name'),),
2992 (NUMBERNS, 'embedded-text'): ((NUMBERNS, 'position'),),
2993 (NUMBERNS, 'number-style'): ((STYLENS, 'name'),),
2994 (NUMBERNS, 'percentage-style'): ((STYLENS, 'name'),),
2995 (NUMBERNS, 'text-style'): ((STYLENS, 'name'),),
2996 (NUMBERNS, 'time-style'): ((STYLENS, 'name'),),
2997 (DR3DNS, 'extrude'): (
2998 (SVGNS, 'd'),
2999 (SVGNS, 'viewBox'),
3000 ),
3001 (DR3DNS, 'light'): ((DR3DNS, 'direction'),),
3002 (DR3DNS, 'rotate'): (
3003 (SVGNS, 'viewBox'),
3004 (SVGNS, 'd'),
3005 ),
3006 # required_attributes
3007 (DRAWNS, 'a'): ((XLINKNS, 'href'),),
3008 (DRAWNS, 'area-circle'): (
3009 (SVGNS, 'cy'),
3010 (SVGNS, 'cx'),
3011 (SVGNS, 'r'),
3012 ),
3013 (DRAWNS, 'area-polygon'): (
3014 (SVGNS, 'height'),
3015 (SVGNS, 'width'),
3016 (DRAWNS, 'points'),
3017 (SVGNS, 'y'),
3018 (SVGNS, 'x'),
3019 (SVGNS, 'viewBox'),
3020 ),
3021 (DRAWNS, 'area-rectangle'): (
3022 (SVGNS, 'y'),
3023 (SVGNS, 'x'),
3024 (SVGNS, 'height'),
3025 (SVGNS, 'width'),
3026 ),
3027 (DRAWNS, 'contour-path'): (
3028 (DRAWNS, 'recreate-on-edit'),
3029 (SVGNS, 'viewBox'),
3030 (SVGNS, 'd'),
3031 ),
3032 (DRAWNS, 'contour-polygon'): (
3033 (DRAWNS, 'points'),
3034 (DRAWNS, 'recreate-on-edit'),
3035 (SVGNS, 'viewBox'),
3036 ),
3037 (DRAWNS, 'control'): ((DRAWNS, 'control'),),
3038 (DRAWNS, 'fill-image'): (
3039 (XLINKNS, 'href'),
3040 (DRAWNS, 'name'),
3041 ),
3042 (DRAWNS, 'floating-frame'): ((XLINKNS, 'href'),),
3043 (DRAWNS, 'glue-point'): (
3044 (SVGNS, 'y'),
3045 (SVGNS, 'x'),
3046 (DRAWNS, 'id'),
3047 (DRAWNS, 'escape-direction'),
3048 ),
3049 # required_attributes
3050 (DRAWNS, 'gradient'): ((DRAWNS, 'style'),),
3051 (DRAWNS, 'handle'): ((DRAWNS, 'handle-position'),),
3052 (DRAWNS, 'hatch'): (
3053 (DRAWNS, 'style'),
3054 (DRAWNS, 'name'),
3055 ),
3056 (DRAWNS, 'layer'): ((DRAWNS, 'name'),),
3057 (DRAWNS, 'line'): (
3058 (SVGNS, 'y1'),
3059 (SVGNS, 'x2'),
3060 (SVGNS, 'x1'),
3061 (SVGNS, 'y2'),
3062 ),
3063 (DRAWNS, 'marker'): (
3064 (SVGNS, 'd'),
3065 (DRAWNS, 'name'),
3066 (SVGNS, 'viewBox'),
3067 ),
3068 (DRAWNS, 'measure'): (
3069 (SVGNS, 'y1'),
3070 (SVGNS, 'x2'),
3071 (SVGNS, 'x1'),
3072 (SVGNS, 'y2'),
3073 ),
3074 (DRAWNS, 'opacity'): ((DRAWNS, 'style'),),
3075 (DRAWNS, 'page'): ((DRAWNS, 'master-page-name'),),
3076 (DRAWNS, 'path'): (
3077 (SVGNS, 'd'),
3078 (SVGNS, 'viewBox'),
3079 ),
3080 (DRAWNS, 'plugin'): ((XLINKNS, 'href'),),
3081 (DRAWNS, 'polygon'): (
3082 (DRAWNS, 'points'),
3083 (SVGNS, 'viewBox'),
3084 ),
3085 # required_attributes
3086 (DRAWNS, 'polyline'): (
3087 (DRAWNS, 'points'),
3088 (SVGNS, 'viewBox'),
3089 ),
3090 (DRAWNS, 'regular-polygon'): ((DRAWNS, 'corners'),),
3091 (DRAWNS, 'stroke-dash'): ((DRAWNS, 'name'),),
3092 (FORMNS, 'button'): ((FORMNS, 'id'),),
3093 (FORMNS, 'checkbox'): ((FORMNS, 'id'),),
3094 (FORMNS, 'combobox'): ((FORMNS, 'id'),),
3095 (FORMNS, 'connection-resource'): ((XLINKNS, 'href'),),
3096 (FORMNS, 'date'): ((FORMNS, 'id'),),
3097 (FORMNS, 'file'): ((FORMNS, 'id'),),
3098 (FORMNS, 'fixed-text'): ((FORMNS, 'id'),),
3099 (FORMNS, 'formatted-text'): ((FORMNS, 'id'),),
3100 (FORMNS, 'frame'): ((FORMNS, 'id'),),
3101 (FORMNS, 'generic-control'): ((FORMNS, 'id'),),
3102 (FORMNS, 'grid'): ((FORMNS, 'id'),),
3103 (FORMNS, 'hidden'): ((FORMNS, 'id'),),
3104 # required_attributes
3105 (FORMNS, 'image'): ((FORMNS, 'id'),),
3106 (FORMNS, 'image-frame'): ((FORMNS, 'id'),),
3107 (FORMNS, 'list-property'): ((FORMNS, 'property-name'),),
3108 (FORMNS, 'list-value'): ((OFFICENS, 'string-value'),),
3109 (FORMNS, 'listbox'): ((FORMNS, 'id'),),
3110 (FORMNS, 'number'): ((FORMNS, 'id'),),
3111 (FORMNS, 'password'): ((FORMNS, 'id'),),
3112 (FORMNS, 'property'): ((FORMNS, 'property-name'),),
3113 (FORMNS, 'radio'): ((FORMNS, 'id'),),
3114 (FORMNS, 'text'): ((FORMNS, 'id'),),
3115 (FORMNS, 'textarea'): ((FORMNS, 'id'),),
3116 (FORMNS, 'time'): ((FORMNS, 'id'),),
3117 (FORMNS, 'value-range'): ((FORMNS, 'id'),),
3118 (MANIFESTNS, 'algorithm'): (
3119 (MANIFESTNS, 'algorithm-name'),
3120 (MANIFESTNS, 'initialisation-vector'),
3121 ),
3122 (MANIFESTNS, 'encryption-data'): (
3123 (MANIFESTNS, 'checksum-type'),
3124 (MANIFESTNS, 'checksum'),
3125 ),
3126 (MANIFESTNS, 'file-entry'): (
3127 (MANIFESTNS, 'full-path'),
3128 (MANIFESTNS, 'media-type'),
3129 ),
3130 (MANIFESTNS, 'key-derivation'): (
3131 (MANIFESTNS, 'key-derivation-name'),
3132 (MANIFESTNS, 'salt'),
3133 (MANIFESTNS, 'iteration-count'),
3134 ),
3135 # required_attributes
3136 (METANS, 'template'): ((XLINKNS, 'href'),),
3137 (METANS, 'user-defined'): ((METANS, 'name'),),
3138 (OFFICENS, 'dde-source'): (
3139 (OFFICENS, 'dde-topic'),
3140 (OFFICENS, 'dde-application'),
3141 (OFFICENS, 'dde-item'),
3142 ),
3143 (OFFICENS, 'document'): ((OFFICENS, 'mimetype'),),
3144 (OFFICENS, 'script'): ((SCRIPTNS, 'language'),),
3145 (PRESENTATIONNS, 'date-time-decl'): (
3146 (PRESENTATIONNS, 'source'),
3147 (PRESENTATIONNS, 'name'),
3148 ),
3149 (PRESENTATIONNS, 'dim'): (
3150 (DRAWNS, 'color'),
3151 (DRAWNS, 'shape-id'),
3152 ),
3153 # required_attributes
3154 (PRESENTATIONNS, 'event-listener'): (
3155 (PRESENTATIONNS, 'action'),
3156 (SCRIPTNS, 'event-name'),
3157 ),
3158 (PRESENTATIONNS, 'footer-decl'): ((PRESENTATIONNS, 'name'),),
3159 (PRESENTATIONNS, 'header-decl'): ((PRESENTATIONNS, 'name'),),
3160 (PRESENTATIONNS, 'hide-shape'): ((DRAWNS, 'shape-id'),),
3161 (PRESENTATIONNS, 'hide-text'): ((DRAWNS, 'shape-id'),),
3162 (PRESENTATIONNS, 'placeholder'): (
3163 (SVGNS, 'y'),
3164 (SVGNS, 'x'),
3165 (SVGNS, 'height'),
3166 (PRESENTATIONNS, 'object'),
3167 (SVGNS, 'width'),
3168 ),
3169 (PRESENTATIONNS, 'play'): ((DRAWNS, 'shape-id'),),
3170 (PRESENTATIONNS, 'show'): (
3171 (PRESENTATIONNS, 'name'),
3172 (PRESENTATIONNS, 'pages'),
3173 ),
3174 (PRESENTATIONNS, 'show-shape'): ((DRAWNS, 'shape-id'),),
3175 (PRESENTATIONNS, 'show-text'): ((DRAWNS, 'shape-id'),),
3176 (PRESENTATIONNS, 'sound'): ((XLINKNS, 'href'),),
3177 (SCRIPTNS, 'event-listener'): (
3178 (SCRIPTNS, 'language'),
3179 (SCRIPTNS, 'event-name'),
3180 ),
3181 (STYLENS, 'column'): ((STYLENS, 'rel-width'),),
3182 # required_attributes
3183 (STYLENS, 'column-sep'): ((STYLENS, 'width'),),
3184 (STYLENS, 'columns'): ((FONS, 'column-count'),),
3185 (STYLENS, 'font-face'): ((STYLENS, 'name'),),
3186 (STYLENS, 'handout-master'): ((STYLENS, 'page-layout-name'),),
3187 (STYLENS, 'map'): (
3188 (STYLENS, 'apply-style-name'),
3189 (STYLENS, 'condition'),
3190 ),
3191 (STYLENS, 'master-page'): (
3192 (STYLENS, 'page-layout-name'),
3193 (STYLENS, 'name'),
3194 ),
3195 (STYLENS, 'page-layout'): ((STYLENS, 'name'),),
3196 (STYLENS, 'presentation-page-layout'): ((STYLENS, 'name'),),
3197 (STYLENS, 'style'): ((STYLENS, 'name'),),
3198 (STYLENS, 'tab-stop'): ((STYLENS, 'position'),),
3199 (SVGNS, 'definition-src'): ((XLINKNS, 'href'),),
3200 (SVGNS, 'font-face-uri'): ((XLINKNS, 'href'),),
3201 (SVGNS, 'linearGradient'): ((DRAWNS, 'name'),),
3202 (SVGNS, 'radialGradient'): ((DRAWNS, 'name'),),
3203 (SVGNS, 'stop'): ((SVGNS, 'offset'),),
3204 # required_attributes
3205 (TABLENS, 'body'): ((TEXTNS, 'style-name'),),
3206 (TABLENS, 'cell-address'): (
3207 (TABLENS, 'column'),
3208 (TABLENS, 'table'),
3209 (TABLENS, 'row'),
3210 ),
3211 (TABLENS, 'cell-content-change'): ((TABLENS, 'id'),),
3212 (TABLENS, 'cell-range-source'): (
3213 (TABLENS, 'last-row-spanned'),
3214 (TABLENS, 'last-column-spanned'),
3215 (XLINKNS, 'href'),
3216 (TABLENS, 'name'),
3217 ),
3218 (TABLENS, 'consolidation'): (
3219 (TABLENS, 'function'),
3220 (TABLENS, 'source-cell-range-addresses'),
3221 (TABLENS, 'target-cell-address'),
3222 ),
3223 (TABLENS, 'content-validation'): ((TABLENS, 'name'),),
3224 (TABLENS, 'data-pilot-display-info'): (
3225 (TABLENS, 'member-count'),
3226 (TABLENS, 'data-field'),
3227 (TABLENS, 'enabled'),
3228 (TABLENS, 'display-member-mode'),
3229 ),
3230 # required_attributes
3231 (TABLENS, 'data-pilot-field'): ((TABLENS, 'source-field-name'),),
3232 (TABLENS, 'data-pilot-field-reference'): (
3233 (TABLENS, 'field-name'),
3234 (TABLENS, 'type'),
3235 ),
3236 (TABLENS, 'data-pilot-group'): ((TABLENS, 'name'),),
3237 (TABLENS, 'data-pilot-group-member'): ((TABLENS, 'name'),),
3238 (TABLENS, 'data-pilot-groups'): (
3239 (TABLENS, 'source-field-name'),
3240 (TABLENS, 'step'),
3241 (TABLENS, 'grouped-by'),
3242 ),
3243 (TABLENS, 'data-pilot-layout-info'): (
3244 (TABLENS, 'add-empty-lines'),
3245 (TABLENS, 'layout-mode'),
3246 ),
3247 (TABLENS, 'data-pilot-member'): ((TABLENS, 'name'),),
3248 (TABLENS, 'data-pilot-sort-info'): ((TABLENS, 'order'),),
3249 (TABLENS, 'data-pilot-subtotal'): ((TABLENS, 'function'),),
3250 (TABLENS, 'data-pilot-table'): (
3251 (TABLENS, 'target-range-address'),
3252 (TABLENS, 'name'),
3253 ),
3254 (TABLENS, 'database-range'): ((TABLENS, 'target-range-address'),),
3255 # required_attributes
3256 (TABLENS, 'database-source-query'): (
3257 (TABLENS, 'query-name'),
3258 (TABLENS, 'database-name'),
3259 ),
3260 (TABLENS, 'database-source-sql'): (
3261 (TABLENS, 'database-name'),
3262 (TABLENS, 'sql-statement'),
3263 ),
3264 (TABLENS, 'database-source-table'): (
3265 (TABLENS, 'database-table-name'),
3266 (TABLENS, 'database-name'),
3267 ),
3268 (TABLENS, 'deletion'): (
3269 (TABLENS, 'position'),
3270 (TABLENS, 'type'),
3271 (TABLENS, 'id'),
3272 ),
3273 (TABLENS, 'dependency'): ((TABLENS, 'id'),),
3274 (TABLENS, 'even-columns'): ((TEXTNS, 'style-name'),),
3275 (TABLENS, 'even-rows'): ((TEXTNS, 'style-name'),),
3276 (TABLENS, 'filter-condition'): (
3277 (TABLENS, 'operator'),
3278 (TABLENS, 'field-number'),
3279 (TABLENS, 'value'),
3280 ),
3281 (TABLENS, 'first-column'): ((TEXTNS, 'style-name'),),
3282 (TABLENS, 'first-row'): ((TEXTNS, 'style-name'),),
3283 (TABLENS, 'insertion'): (
3284 (TABLENS, 'position'),
3285 (TABLENS, 'type'),
3286 (TABLENS, 'id'),
3287 ),
3288 (TABLENS, 'insertion-cut-off'): (
3289 (TABLENS, 'position'),
3290 (TABLENS, 'id'),
3291 ),
3292 # required_attributes
3293 (TABLENS, 'label-range'): (
3294 (TABLENS, 'label-cell-range-address'),
3295 (TABLENS, 'data-cell-range-address'),
3296 (TABLENS, 'orientation'),
3297 ),
3298 (TABLENS, 'last-column'): ((TEXTNS, 'style-name'),),
3299 (TABLENS, 'last-row'): ((TEXTNS, 'style-name'),),
3300 (TABLENS, 'movement'): ((TABLENS, 'id'),),
3301 (TABLENS, 'named-expression'): (
3302 (TABLENS, 'expression'),
3303 (TABLENS, 'name'),
3304 ),
3305 (TABLENS, 'named-range'): (
3306 (TABLENS, 'name'),
3307 (TABLENS, 'cell-range-address'),
3308 ),
3309 (TABLENS, 'odd-columns'): ((TEXTNS, 'style-name'),),
3310 (TABLENS, 'odd-rows'): ((TEXTNS, 'style-name'),),
3311 (TABLENS, 'operation'): (
3312 (TABLENS, 'index'),
3313 (TABLENS, 'name'),
3314 ),
3315 # required_attributes
3316 (TABLENS, 'scenario'): (
3317 (TABLENS, 'is-active'),
3318 (TABLENS, 'scenario-ranges'),
3319 ),
3320 (TABLENS, 'sort-by'): ((TABLENS, 'field-number'),),
3321 (TABLENS, 'source-cell-range'): ((TABLENS, 'cell-range-address'),),
3322 (TABLENS, 'source-service'): (
3323 (TABLENS, 'source-name'),
3324 (TABLENS, 'object-name'),
3325 (TABLENS, 'name'),
3326 ),
3327 (TABLENS, 'subtotal-field'): (
3328 (TABLENS, 'function'),
3329 (TABLENS, 'field-number'),
3330 ),
3331 (TABLENS, 'subtotal-rule'): ((TABLENS, 'group-by-field-number'),),
3332 (TABLENS, 'table-source'): ((XLINKNS, 'href'),),
3333 (TABLENS, 'table-template'): (
3334 (TEXTNS, 'last-row-end-column'),
3335 (TEXTNS, 'first-row-end-column'),
3336 (TEXTNS, 'name'),
3337 (TEXTNS, 'last-row-start-column'),
3338 (TEXTNS, 'first-row-start-column'),
3339 ),
3340 (TEXTNS, 'a'): ((XLINKNS, 'href'),),
3341 # required_attributes
3342 (TEXTNS, 'alphabetical-index'): ((TEXTNS, 'name'),),
3343 (TEXTNS, 'alphabetical-index-auto-mark-file'): ((XLINKNS, 'href'),),
3344 (TEXTNS, 'alphabetical-index-entry-template'): (
3345 (TEXTNS, 'style-name'),
3346 (TEXTNS, 'outline-level'),
3347 ),
3348 (TEXTNS, 'alphabetical-index-mark'): ((TEXTNS, 'string-value'),),
3349 (TEXTNS, 'alphabetical-index-mark-end'): ((TEXTNS, 'id'),),
3350 (TEXTNS, 'alphabetical-index-mark-start'): ((TEXTNS, 'id'),),
3351 (TEXTNS, 'bibliography'): ((TEXTNS, 'name'),),
3352 (TEXTNS, 'bibliography-entry-template'): (
3353 (TEXTNS, 'style-name'),
3354 (TEXTNS, 'bibliography-type'),
3355 ),
3356 (TEXTNS, 'bibliography-mark'): ((TEXTNS, 'bibliography-type'),),
3357 (TEXTNS, 'bookmark'): ((TEXTNS, 'name'),),
3358 # required_attributes
3359 (TEXTNS, 'bookmark-end'): ((TEXTNS, 'name'),),
3360 (TEXTNS, 'bookmark-start'): ((TEXTNS, 'name'),),
3361 (TEXTNS, 'change'): ((TEXTNS, 'change-id'),),
3362 (TEXTNS, 'change-end'): ((TEXTNS, 'change-id'),),
3363 (TEXTNS, 'change-start'): ((TEXTNS, 'change-id'),),
3364 (TEXTNS, 'changed-region'): ((TEXTNS, 'id'),),
3365 (TEXTNS, 'chapter'): (
3366 (TEXTNS, 'display'),
3367 (TEXTNS, 'outline-level'),
3368 ),
3369 (TEXTNS, 'conditional-text'): (
3370 (TEXTNS, 'string-value-if-true'),
3371 (TEXTNS, 'string-value-if-false'),
3372 (TEXTNS, 'condition'),
3373 ),
3374 (TEXTNS, 'database-display'): (
3375 (TEXTNS, 'column-name'),
3376 (TEXTNS, 'table-name'),
3377 ),
3378 (TEXTNS, 'database-name'): ((TEXTNS, 'table-name'),),
3379 (TEXTNS, 'database-next'): ((TEXTNS, 'table-name'),),
3380 (TEXTNS, 'database-row-number'): ((TEXTNS, 'table-name'),),
3381 (TEXTNS, 'database-row-select'): ((TEXTNS, 'table-name'),),
3382 (TEXTNS, 'dde-connection'): ((TEXTNS, 'connection-name'),),
3383 # required_attributes
3384 (TEXTNS, 'dde-connection-decl'): (
3385 (OFFICENS, 'dde-topic'),
3386 (OFFICENS, 'dde-application'),
3387 (OFFICENS, 'name'),
3388 (OFFICENS, 'dde-item'),
3389 ),
3390 (TEXTNS, 'h'): ((TEXTNS, 'outline-level'),),
3391 (TEXTNS, 'hidden-paragraph'): ((TEXTNS, 'condition'),),
3392 (TEXTNS, 'hidden-text'): (
3393 (TEXTNS, 'string-value'),
3394 (TEXTNS, 'condition'),
3395 ),
3396 (TEXTNS, 'illustration-index'): ((TEXTNS, 'name'),),
3397 (TEXTNS, 'illustration-index-entry-template'): ((TEXTNS, 'style-name'),),
3398 (TEXTNS, 'index-entry-bibliography'): ((TEXTNS, 'bibliography-data-field'),),
3399 (TEXTNS, 'index-source-style'): ((TEXTNS, 'style-name'),),
3400 (TEXTNS, 'index-source-styles'): ((TEXTNS, 'outline-level'),),
3401 (TEXTNS, 'index-title'): ((TEXTNS, 'name'),),
3402 (TEXTNS, 'list-level-style-bullet'): (
3403 (TEXTNS, 'bullet-char'),
3404 (TEXTNS, 'level'),
3405 ),
3406 (TEXTNS, 'list-level-style-image'): ((TEXTNS, 'level'),),
3407 (TEXTNS, 'list-level-style-number'): ((TEXTNS, 'level'),),
3408 (TEXTNS, 'list-style'): ((STYLENS, 'name'),),
3409 # required_attributes
3410 (TEXTNS, 'measure'): ((TEXTNS, 'kind'),),
3411 (TEXTNS, 'note'): ((TEXTNS, 'note-class'),),
3412 (TEXTNS, 'note-ref'): ((TEXTNS, 'note-class'),),
3413 (TEXTNS, 'notes-configuration'): ((TEXTNS, 'note-class'),),
3414 (TEXTNS, 'object-index'): ((TEXTNS, 'name'),),
3415 (TEXTNS, 'object-index-entry-template'): ((TEXTNS, 'style-name'),),
3416 (TEXTNS, 'outline-level-style'): ((TEXTNS, 'level'),),
3417 (TEXTNS, 'page'): ((TEXTNS, 'master-page-name'),),
3418 (TEXTNS, 'page-continuation'): ((TEXTNS, 'select-page'),),
3419 (TEXTNS, 'placeholder'): ((TEXTNS, 'placeholder-type'),),
3420 (TEXTNS, 'reference-mark'): ((TEXTNS, 'name'),),
3421 (TEXTNS, 'reference-mark-end'): ((TEXTNS, 'name'),),
3422 (TEXTNS, 'reference-mark-start'): ((TEXTNS, 'name'),),
3423 (TEXTNS, 'section'): ((TEXTNS, 'name'),),
3424 (TEXTNS, 'sequence'): ((TEXTNS, 'name'),),
3425 (TEXTNS, 'sequence-decl'): (
3426 (TEXTNS, 'display-outline-level'),
3427 (TEXTNS, 'name'),
3428 ),
3429 # required_attributes
3430 (TEXTNS, 'sort-key'): ((TEXTNS, 'key'),),
3431 (TEXTNS, 'table-index'): ((TEXTNS, 'name'),),
3432 (TEXTNS, 'table-index-entry-template'): ((TEXTNS, 'style-name'),),
3433 (TEXTNS, 'table-of-content'): ((TEXTNS, 'name'),),
3434 (TEXTNS, 'table-of-content-entry-template'): (
3435 (TEXTNS, 'style-name'),
3436 (TEXTNS, 'outline-level'),
3437 ),
3438 (TEXTNS, 'toc-mark'): ((TEXTNS, 'string-value'),),
3439 (TEXTNS, 'toc-mark-end'): ((TEXTNS, 'id'),),
3440 (TEXTNS, 'toc-mark-start'): ((TEXTNS, 'id'),),
3441 (TEXTNS, 'user-defined'): ((TEXTNS, 'name'),),
3442 (TEXTNS, 'user-field-decl'): ((TEXTNS, 'name'),),
3443 (TEXTNS, 'user-field-get'): ((TEXTNS, 'name'),),
3444 (TEXTNS, 'user-field-input'): ((TEXTNS, 'name'),),
3445 (TEXTNS, 'user-index'): ((TEXTNS, 'name'),),
3446 (TEXTNS, 'user-index-entry-template'): (
3447 (TEXTNS, 'style-name'),
3448 (TEXTNS, 'outline-level'),
3449 ),
3450 # required_attributes
3451 (TEXTNS, 'user-index-mark'): (
3452 (TEXTNS, 'index-name'),
3453 (TEXTNS, 'string-value'),
3454 ),
3455 (TEXTNS, 'user-index-mark-end'): ((TEXTNS, 'id'),),
3456 (TEXTNS, 'user-index-mark-start'): (
3457 (TEXTNS, 'index-name'),
3458 (TEXTNS, 'id'),
3459 ),
3460 (TEXTNS, 'user-index-source'): ((TEXTNS, 'index-name'),),
3461 (TEXTNS, 'variable-decl'): (
3462 (TEXTNS, 'name'),
3463 (OFFICENS, 'value-type'),
3464 ),
3465 (TEXTNS, 'variable-get'): ((TEXTNS, 'name'),),
3466 (TEXTNS, 'variable-input'): (
3467 (TEXTNS, 'name'),
3468 (OFFICENS, 'value-type'),
3469 ),
3470 (TEXTNS, 'variable-set'): ((TEXTNS, 'name'),),
3471 # required_attributes
3472 }
3473
3474 # Empty list means the element has no allowed attributes
3475 # None means anything goes
3476
3477 allowed_attributes = {
3478 (DCNS, 'creator'): (),
3479 (DCNS, 'date'): (),
3480 (DCNS, 'description'): (),
3481 (DCNS, 'language'): (),
3482 (DCNS, 'subject'): (),
3483 (DCNS, 'title'): (),
3484 # Completes Dublin Core start
3485 # (DCNS,'contributor'): (
3486 # ),
3487 # (DCNS,'coverage'): (
3488 # ),
3489 # (DCNS,'format'): (
3490 # ),
3491 # (DCNS,'identifier'): (
3492 # ),
3493 # (DCNS,'publisher'): (
3494 # ),
3495 # (DCNS,'relation'): (
3496 # ),
3497 # (DCNS,'rights'): (
3498 # ),
3499 # (DCNS,'source'): (
3500 # ),
3501 # (DCNS,'type'): (
3502 # ),
3503 # Completes Dublin Core end
3504 (MATHNS, 'math'): None,
3505 (XFORMSNS, 'model'): None,
3506 # allowed_attributes
3507 (ANIMNS, 'animate'): (
3508 (ANIMNS, 'formula'),
3509 (ANIMNS, 'sub-item'),
3510 (SMILNS, 'accelerate'),
3511 (SMILNS, 'accumulate'),
3512 (SMILNS, 'additive'),
3513 (SMILNS, 'attributeName'),
3514 (SMILNS, 'autoReverse'),
3515 (SMILNS, 'begin'),
3516 (SMILNS, 'by'),
3517 (SMILNS, 'calcMode'),
3518 (SMILNS, 'decelerate'),
3519 (SMILNS, 'dur'),
3520 (SMILNS, 'end'),
3521 (SMILNS, 'fill'),
3522 (SMILNS, 'fillDefault'),
3523 (SMILNS, 'from'),
3524 (SMILNS, 'keySplines'),
3525 (SMILNS, 'keyTimes'),
3526 (SMILNS, 'repeatCount'),
3527 (SMILNS, 'repeatDur'),
3528 (SMILNS, 'restart'),
3529 (SMILNS, 'restartDefault'),
3530 (SMILNS, 'targetElement'),
3531 (SMILNS, 'to'),
3532 (SMILNS, 'values'),
3533 ),
3534 # allowed_attributes
3535 (ANIMNS, 'animateColor'): (
3536 (ANIMNS, 'color-interpolation'),
3537 (ANIMNS, 'color-interpolation-direction'),
3538 (ANIMNS, 'formula'),
3539 (ANIMNS, 'sub-item'),
3540 (SMILNS, 'accelerate'),
3541 (SMILNS, 'accumulate'),
3542 (SMILNS, 'additive'),
3543 (SMILNS, 'attributeName'),
3544 (SMILNS, 'autoReverse'),
3545 (SMILNS, 'begin'),
3546 (SMILNS, 'by'),
3547 (SMILNS, 'calcMode'),
3548 (SMILNS, 'decelerate'),
3549 (SMILNS, 'dur'),
3550 (SMILNS, 'end'),
3551 (SMILNS, 'fill'),
3552 (SMILNS, 'fillDefault'),
3553 (SMILNS, 'from'),
3554 (SMILNS, 'keySplines'),
3555 (SMILNS, 'keyTimes'),
3556 (SMILNS, 'repeatCount'),
3557 (SMILNS, 'repeatDur'),
3558 (SMILNS, 'restart'),
3559 (SMILNS, 'restartDefault'),
3560 (SMILNS, 'targetElement'),
3561 (SMILNS, 'to'),
3562 (SMILNS, 'values'),
3563 ),
3564 # allowed_attributes
3565 (ANIMNS, 'animateMotion'): (
3566 (ANIMNS, 'formula'),
3567 (ANIMNS, 'sub-item'),
3568 (SMILNS, 'accelerate'),
3569 (SMILNS, 'accumulate'),
3570 (SMILNS, 'additive'),
3571 (SMILNS, 'attributeName'),
3572 (SMILNS, 'autoReverse'),
3573 (SMILNS, 'begin'),
3574 (SMILNS, 'by'),
3575 (SMILNS, 'calcMode'),
3576 (SMILNS, 'decelerate'),
3577 (SMILNS, 'dur'),
3578 (SMILNS, 'end'),
3579 (SMILNS, 'fill'),
3580 (SMILNS, 'fillDefault'),
3581 (SMILNS, 'from'),
3582 (SMILNS, 'keySplines'),
3583 (SMILNS, 'keyTimes'),
3584 (SMILNS, 'repeatCount'),
3585 (SMILNS, 'repeatDur'),
3586 (SMILNS, 'restart'),
3587 (SMILNS, 'restartDefault'),
3588 (SMILNS, 'targetElement'),
3589 (SMILNS, 'to'),
3590 (SMILNS, 'values'),
3591 (SVGNS, 'origin'),
3592 (SVGNS, 'path'),
3593 ),
3594 # allowed_attributes
3595 (ANIMNS, 'animateTransform'): (
3596 (ANIMNS, 'formula'),
3597 (ANIMNS, 'sub-item'),
3598 (SMILNS, 'accelerate'),
3599 (SMILNS, 'accumulate'),
3600 (SMILNS, 'additive'),
3601 (SMILNS, 'attributeName'),
3602 (SMILNS, 'autoReverse'),
3603 (SMILNS, 'begin'),
3604 (SMILNS, 'by'),
3605 (SMILNS, 'decelerate'),
3606 (SMILNS, 'dur'),
3607 (SMILNS, 'end'),
3608 (SMILNS, 'fill'),
3609 (SMILNS, 'fillDefault'),
3610 (SMILNS, 'from'),
3611 (SMILNS, 'repeatCount'),
3612 (SMILNS, 'repeatDur'),
3613 (SMILNS, 'restart'),
3614 (SMILNS, 'restartDefault'),
3615 (SMILNS, 'targetElement'),
3616 (SMILNS, 'to'),
3617 (SMILNS, 'values'),
3618 (SVGNS, 'type'),
3619 ),
3620 # allowed_attributes
3621 (ANIMNS, 'audio'): (
3622 (ANIMNS, 'audio-level'),
3623 (ANIMNS, 'id'),
3624 (PRESENTATIONNS, 'group-id'),
3625 (PRESENTATIONNS, 'master-element'),
3626 (PRESENTATIONNS, 'node-type'),
3627 (PRESENTATIONNS, 'preset-class'),
3628 (PRESENTATIONNS, 'preset-id'),
3629 (PRESENTATIONNS, 'preset-sub-type'),
3630 (SMILNS, 'begin'),
3631 (SMILNS, 'dur'),
3632 (SMILNS, 'end'),
3633 (SMILNS, 'repeatCount'),
3634 (SMILNS, 'repeatDur'),
3635 (XLINKNS, 'href'),
3636 ),
3637 (ANIMNS, 'command'): (
3638 (PRESENTATIONNS, 'node-type'),
3639 (SMILNS, 'begin'),
3640 (SMILNS, 'end'),
3641 (PRESENTATIONNS, 'group-id'),
3642 (PRESENTATIONNS, 'preset-class'),
3643 (PRESENTATIONNS, 'preset-id'),
3644 (ANIMNS, 'sub-item'),
3645 (ANIMNS, 'command'),
3646 (PRESENTATIONNS, 'preset-sub-type'),
3647 (SMILNS, 'targetElement'),
3648 (ANIMNS, 'id'),
3649 (PRESENTATIONNS, 'master-element'),
3650 ),
3651 # allowed_attributes
3652 (ANIMNS, 'iterate'): (
3653 (ANIMNS, 'id'),
3654 (ANIMNS, 'iterate-interval'),
3655 (ANIMNS, 'iterate-type'),
3656 (ANIMNS, 'sub-item'),
3657 (PRESENTATIONNS, 'group-id'),
3658 (PRESENTATIONNS, 'master-element'),
3659 (PRESENTATIONNS, 'node-type'),
3660 (PRESENTATIONNS, 'preset-class'),
3661 (PRESENTATIONNS, 'preset-id'),
3662 (PRESENTATIONNS, 'preset-sub-type'),
3663 (SMILNS, 'accelerate'),
3664 (SMILNS, 'autoReverse'),
3665 (SMILNS, 'begin'),
3666 (SMILNS, 'decelerate'),
3667 (SMILNS, 'dur'),
3668 (SMILNS, 'end'),
3669 (SMILNS, 'endsync'),
3670 (SMILNS, 'fill'),
3671 (SMILNS, 'fillDefault'),
3672 (SMILNS, 'repeatCount'),
3673 (SMILNS, 'repeatDur'),
3674 (SMILNS, 'restart'),
3675 (SMILNS, 'restartDefault'),
3676 (SMILNS, 'targetElement'),
3677 ),
3678 (ANIMNS, 'par'): (
3679 (PRESENTATIONNS, 'node-type'),
3680 (SMILNS, 'decelerate'),
3681 (SMILNS, 'begin'),
3682 (SMILNS, 'end'),
3683 (PRESENTATIONNS, 'group-id'),
3684 (SMILNS, 'accelerate'),
3685 (SMILNS, 'repeatDur'),
3686 (SMILNS, 'repeatCount'),
3687 (SMILNS, 'autoReverse'),
3688 (PRESENTATIONNS, 'preset-class'),
3689 (SMILNS, 'fillDefault'),
3690 (PRESENTATIONNS, 'preset-id'),
3691 (PRESENTATIONNS, 'preset-sub-type'),
3692 (SMILNS, 'restartDefault'),
3693 (SMILNS, 'endsync'),
3694 (SMILNS, 'dur'),
3695 (SMILNS, 'fill'),
3696 (ANIMNS, 'id'),
3697 (SMILNS, 'restart'),
3698 (PRESENTATIONNS, 'master-element'),
3699 ),
3700 # allowed_attributes
3701 (ANIMNS, 'param'): (
3702 (ANIMNS, 'name'),
3703 (ANIMNS, 'value'),
3704 ),
3705 (ANIMNS, 'seq'): (
3706 (ANIMNS, 'id'),
3707 (PRESENTATIONNS, 'group-id'),
3708 (PRESENTATIONNS, 'master-element'),
3709 (PRESENTATIONNS, 'node-type'),
3710 (PRESENTATIONNS, 'preset-class'),
3711 (PRESENTATIONNS, 'preset-id'),
3712 (PRESENTATIONNS, 'preset-sub-type'),
3713 (SMILNS, 'accelerate'),
3714 (SMILNS, 'autoReverse'),
3715 (SMILNS, 'begin'),
3716 (SMILNS, 'decelerate'),
3717 (SMILNS, 'dur'),
3718 (SMILNS, 'end'),
3719 (SMILNS, 'endsync'),
3720 (SMILNS, 'fill'),
3721 (SMILNS, 'fillDefault'),
3722 (SMILNS, 'repeatCount'),
3723 (SMILNS, 'repeatDur'),
3724 (SMILNS, 'restart'),
3725 (SMILNS, 'restartDefault'),
3726 ),
3727 (ANIMNS, 'set'): (
3728 (ANIMNS, 'sub-item'),
3729 (SMILNS, 'accelerate'),
3730 (SMILNS, 'accumulate'),
3731 (SMILNS, 'autoReverse'),
3732 (SMILNS, 'additive'),
3733 (SMILNS, 'attributeName'),
3734 (SMILNS, 'begin'),
3735 (SMILNS, 'decelerate'),
3736 (SMILNS, 'dur'),
3737 (SMILNS, 'end'),
3738 (SMILNS, 'fill'),
3739 (SMILNS, 'fillDefault'),
3740 (SMILNS, 'repeatCount'),
3741 (SMILNS, 'repeatDur'),
3742 (SMILNS, 'restart'),
3743 (SMILNS, 'restartDefault'),
3744 (SMILNS, 'targetElement'),
3745 (SMILNS, 'to'),
3746 ),
3747 # allowed_attributes
3748 (ANIMNS, 'transitionFilter'): (
3749 (ANIMNS, 'formula'),
3750 (ANIMNS, 'sub-item'),
3751 (SMILNS, 'accelerate'),
3752 (SMILNS, 'accumulate'),
3753 (SMILNS, 'additive'),
3754 (SMILNS, 'autoReverse'),
3755 (SMILNS, 'begin'),
3756 (SMILNS, 'by'),
3757 (SMILNS, 'calcMode'),
3758 (SMILNS, 'decelerate'),
3759 (SMILNS, 'direction'),
3760 (SMILNS, 'dur'),
3761 (SMILNS, 'end'),
3762 (SMILNS, 'fadeColor'),
3763 (SMILNS, 'fill'),
3764 (SMILNS, 'fillDefault'),
3765 (SMILNS, 'from'),
3766 (SMILNS, 'mode'),
3767 (SMILNS, 'repeatCount'),
3768 (SMILNS, 'repeatDur'),
3769 (SMILNS, 'restart'),
3770 (SMILNS, 'restartDefault'),
3771 (SMILNS, 'subtype'),
3772 (SMILNS, 'targetElement'),
3773 (SMILNS, 'to'),
3774 (SMILNS, 'type'),
3775 (SMILNS, 'values'),
3776 ),
3777 # allowed_attributes
3778 (CHARTNS, 'axis'): (
3779 (CHARTNS, 'style-name'),
3780 (CHARTNS, 'dimension'),
3781 (CHARTNS, 'name'),
3782 ),
3783 (CHARTNS, 'categories'): ((TABLENS, 'cell-range-address'),),
3784 (CHARTNS, 'chart'): (
3785 (CHARTNS, 'column-mapping'),
3786 (CHARTNS, 'row-mapping'),
3787 (SVGNS, 'height'),
3788 (SVGNS, 'width'),
3789 (CHARTNS, 'style-name'),
3790 (CHARTNS, 'class'),
3791 ),
3792 (CHARTNS, 'data-point'): (
3793 (CHARTNS, 'repeated'),
3794 (CHARTNS, 'style-name'),
3795 ),
3796 (CHARTNS, 'domain'): ((TABLENS, 'cell-range-address'),),
3797 (CHARTNS, 'error-indicator'): ((CHARTNS, 'style-name'),),
3798 (CHARTNS, 'floor'): (
3799 (SVGNS, 'width'),
3800 (CHARTNS, 'style-name'),
3801 ),
3802 # allowed_attributes
3803 (CHARTNS, 'footer'): (
3804 (SVGNS, 'y'),
3805 (SVGNS, 'x'),
3806 (TABLENS, 'cell-range'),
3807 (CHARTNS, 'style-name'),
3808 ),
3809 (CHARTNS, 'grid'): (
3810 (CHARTNS, 'style-name'),
3811 (CHARTNS, 'class'),
3812 ),
3813 (CHARTNS, 'legend'): (
3814 (CHARTNS, 'legend-align'),
3815 (STYLENS, 'legend-expansion-aspect-ratio'),
3816 (STYLENS, 'legend-expansion'),
3817 (CHARTNS, 'legend-position'),
3818 (CHARTNS, 'style-name'),
3819 (SVGNS, 'y'),
3820 (SVGNS, 'x'),
3821 ),
3822 (CHARTNS, 'mean-value'): ((CHARTNS, 'style-name'),),
3823 (CHARTNS, 'plot-area'): (
3824 (DR3DNS, 'ambient-color'),
3825 (DR3DNS, 'distance'),
3826 (DR3DNS, 'vrp'),
3827 (DR3DNS, 'focal-length'),
3828 (CHARTNS, 'data-source-has-labels'),
3829 (DR3DNS, 'lighting-mode'),
3830 (DR3DNS, 'shade-mode'),
3831 (DR3DNS, 'transform'),
3832 (DR3DNS, 'shadow-slant'),
3833 (SVGNS, 'height'),
3834 (SVGNS, 'width'),
3835 (CHARTNS, 'style-name'),
3836 (DR3DNS, 'vup'),
3837 (SVGNS, 'y'),
3838 (SVGNS, 'x'),
3839 (DR3DNS, 'vpn'),
3840 (TABLENS, 'cell-range-address'),
3841 (DR3DNS, 'projection'),
3842 ),
3843 (CHARTNS, 'regression-curve'): ((CHARTNS, 'style-name'),),
3844 (CHARTNS, 'series'): (
3845 (CHARTNS, 'style-name'),
3846 (CHARTNS, 'attached-axis'),
3847 (CHARTNS, 'values-cell-range-address'),
3848 (CHARTNS, 'label-cell-address'),
3849 (CHARTNS, 'class'),
3850 ),
3851 (CHARTNS, 'stock-gain-marker'): ((CHARTNS, 'style-name'),),
3852 # allowed_attributes
3853 (CHARTNS, 'stock-loss-marker'): ((CHARTNS, 'style-name'),),
3854 (CHARTNS, 'stock-range-line'): ((CHARTNS, 'style-name'),),
3855 (CHARTNS, 'subtitle'): (
3856 (SVGNS, 'y'),
3857 (SVGNS, 'x'),
3858 (TABLENS, 'cell-range'),
3859 (CHARTNS, 'style-name'),
3860 ),
3861 (CHARTNS, 'symbol-image'): ((XLINKNS, 'href'),),
3862 (CHARTNS, 'title'): (
3863 (SVGNS, 'y'),
3864 (SVGNS, 'x'),
3865 (TABLENS, 'cell-range'),
3866 (CHARTNS, 'style-name'),
3867 ),
3868 (CHARTNS, 'wall'): (
3869 (SVGNS, 'width'),
3870 (CHARTNS, 'style-name'),
3871 ),
3872 (CONFIGNS, 'config-item'): (
3873 (CONFIGNS, 'type'),
3874 (CONFIGNS, 'name'),
3875 ),
3876 (CONFIGNS, 'config-item-map-entry'): ((CONFIGNS, 'name'),),
3877 (CONFIGNS, 'config-item-map-indexed'): ((CONFIGNS, 'name'),),
3878 (CONFIGNS, 'config-item-map-named'): ((CONFIGNS, 'name'),),
3879 (CONFIGNS, 'config-item-set'): ((CONFIGNS, 'name'),),
3880 # allowed_attributes
3881 (NUMBERNS, 'am-pm'): (),
3882 (NUMBERNS, 'boolean'): (),
3883 (NUMBERNS, 'boolean-style'): (
3884 (NUMBERNS, 'transliteration-language'),
3885 (STYLENS, 'name'),
3886 (STYLENS, 'display-name'),
3887 (NUMBERNS, 'language'),
3888 (NUMBERNS, 'title'),
3889 (NUMBERNS, 'country'),
3890 (NUMBERNS, 'transliteration-format'),
3891 (NUMBERNS, 'transliteration-style'),
3892 (STYLENS, 'volatile'),
3893 (NUMBERNS, 'transliteration-country'),
3894 ),
3895 (NUMBERNS, 'currency-style'): (
3896 (NUMBERNS, 'transliteration-language'),
3897 (STYLENS, 'name'),
3898 (STYLENS, 'display-name'),
3899 (NUMBERNS, 'language'),
3900 (NUMBERNS, 'title'),
3901 (NUMBERNS, 'country'),
3902 (NUMBERNS, 'transliteration-format'),
3903 (NUMBERNS, 'transliteration-style'),
3904 (STYLENS, 'volatile'),
3905 (NUMBERNS, 'transliteration-country'),
3906 (NUMBERNS, 'automatic-order'),
3907 ),
3908 (NUMBERNS, 'currency-symbol'): (
3909 (NUMBERNS, 'country'),
3910 (NUMBERNS, 'language'),
3911 ),
3912 # allowed_attributes
3913 (NUMBERNS, 'date-style'): (
3914 (NUMBERNS, 'transliteration-language'),
3915 (STYLENS, 'name'),
3916 (STYLENS, 'display-name'),
3917 (NUMBERNS, 'language'),
3918 (NUMBERNS, 'title'),
3919 (NUMBERNS, 'country'),
3920 (NUMBERNS, 'transliteration-format'),
3921 (NUMBERNS, 'transliteration-style'),
3922 (NUMBERNS, 'format-source'),
3923 (STYLENS, 'volatile'),
3924 (NUMBERNS, 'transliteration-country'),
3925 (NUMBERNS, 'automatic-order'),
3926 ),
3927 (NUMBERNS, 'day'): (
3928 (NUMBERNS, 'style'),
3929 (NUMBERNS, 'calendar'),
3930 ),
3931 (NUMBERNS, 'day-of-week'): (
3932 (NUMBERNS, 'style'),
3933 (NUMBERNS, 'calendar'),
3934 ),
3935 (NUMBERNS, 'embedded-text'): ((NUMBERNS, 'position'),),
3936 (NUMBERNS, 'era'): (
3937 (NUMBERNS, 'style'),
3938 (NUMBERNS, 'calendar'),
3939 ),
3940 (NUMBERNS, 'fraction'): (
3941 (NUMBERNS, 'grouping'),
3942 (NUMBERNS, 'min-denominator-digits'),
3943 (NUMBERNS, 'min-numerator-digits'),
3944 (NUMBERNS, 'min-integer-digits'),
3945 (NUMBERNS, 'denominator-value'),
3946 ),
3947 (NUMBERNS, 'hours'): ((NUMBERNS, 'style'),),
3948 # allowed_attributes
3949 (NUMBERNS, 'minutes'): ((NUMBERNS, 'style'),),
3950 (NUMBERNS, 'month'): (
3951 (NUMBERNS, 'style'),
3952 (NUMBERNS, 'calendar'),
3953 (NUMBERNS, 'possessive-form'),
3954 (NUMBERNS, 'textual'),
3955 ),
3956 (NUMBERNS, 'number'): (
3957 (NUMBERNS, 'display-factor'),
3958 (NUMBERNS, 'decimal-places'),
3959 (NUMBERNS, 'decimal-replacement'),
3960 (NUMBERNS, 'min-integer-digits'),
3961 (NUMBERNS, 'grouping'),
3962 ),
3963 (NUMBERNS, 'number-style'): (
3964 (NUMBERNS, 'transliteration-language'),
3965 (STYLENS, 'name'),
3966 (STYLENS, 'display-name'),
3967 (NUMBERNS, 'language'),
3968 (NUMBERNS, 'title'),
3969 (NUMBERNS, 'country'),
3970 (NUMBERNS, 'transliteration-format'),
3971 (NUMBERNS, 'transliteration-style'),
3972 (STYLENS, 'volatile'),
3973 (NUMBERNS, 'transliteration-country'),
3974 ),
3975 # allowed_attributes
3976 (NUMBERNS, 'percentage-style'): (
3977 (NUMBERNS, 'transliteration-language'),
3978 (STYLENS, 'name'),
3979 (STYLENS, 'display-name'),
3980 (NUMBERNS, 'language'),
3981 (NUMBERNS, 'title'),
3982 (NUMBERNS, 'country'),
3983 (NUMBERNS, 'transliteration-format'),
3984 (NUMBERNS, 'transliteration-style'),
3985 (STYLENS, 'volatile'),
3986 (NUMBERNS, 'transliteration-country'),
3987 ),
3988 (NUMBERNS, 'quarter'): (
3989 (NUMBERNS, 'style'),
3990 (NUMBERNS, 'calendar'),
3991 ),
3992 (NUMBERNS, 'scientific-number'): (
3993 (NUMBERNS, 'min-exponent-digits'),
3994 (NUMBERNS, 'decimal-places'),
3995 (NUMBERNS, 'min-integer-digits'),
3996 (NUMBERNS, 'grouping'),
3997 ),
3998 (NUMBERNS, 'seconds'): (
3999 (NUMBERNS, 'style'),
4000 (NUMBERNS, 'decimal-places'),
4001 ),
4002 (NUMBERNS, 'text'): (),
4003 (NUMBERNS, 'text-content'): (),
4004 (NUMBERNS, 'text-style'): (
4005 (NUMBERNS, 'transliteration-language'),
4006 (STYLENS, 'name'),
4007 (STYLENS, 'display-name'),
4008 (NUMBERNS, 'language'),
4009 (NUMBERNS, 'title'),
4010 (NUMBERNS, 'country'),
4011 (NUMBERNS, 'transliteration-format'),
4012 (NUMBERNS, 'transliteration-style'),
4013 (STYLENS, 'volatile'),
4014 (NUMBERNS, 'transliteration-country'),
4015 ),
4016 (NUMBERNS, 'time-style'): (
4017 (NUMBERNS, 'transliteration-language'),
4018 (NUMBERNS, 'transliteration-format'),
4019 (STYLENS, 'name'),
4020 (STYLENS, 'display-name'),
4021 (NUMBERNS, 'language'),
4022 (NUMBERNS, 'title'),
4023 (NUMBERNS, 'country'),
4024 (NUMBERNS, 'truncate-on-overflow'),
4025 (NUMBERNS, 'transliteration-style'),
4026 (NUMBERNS, 'format-source'),
4027 (STYLENS, 'volatile'),
4028 (NUMBERNS, 'transliteration-country'),
4029 ),
4030 (NUMBERNS, 'week-of-year'): ((NUMBERNS, 'calendar'),),
4031 (NUMBERNS, 'year'): (
4032 (NUMBERNS, 'style'),
4033 (NUMBERNS, 'calendar'),
4034 ),
4035 (DR3DNS, 'cube'): (
4036 (DR3DNS, 'min-edge'),
4037 (DR3DNS, 'max-edge'),
4038 (DRAWNS, 'layer'),
4039 (DR3DNS, 'transform'),
4040 (DRAWNS, 'z-index'),
4041 (DRAWNS, 'class-names'),
4042 (DRAWNS, 'style-name'),
4043 (PRESENTATIONNS, 'style-name'),
4044 (PRESENTATIONNS, 'class-names'),
4045 (DRAWNS, 'id'),
4046 ),
4047 (DR3DNS, 'extrude'): (
4048 (DRAWNS, 'layer'),
4049 (SVGNS, 'd'),
4050 (DR3DNS, 'transform'),
4051 (SVGNS, 'viewBox'),
4052 (DRAWNS, 'z-index'),
4053 (DRAWNS, 'class-names'),
4054 (DRAWNS, 'style-name'),
4055 (PRESENTATIONNS, 'style-name'),
4056 (PRESENTATIONNS, 'class-names'),
4057 (DRAWNS, 'id'),
4058 ),
4059 (DR3DNS, 'light'): (
4060 (DR3DNS, 'diffuse-color'),
4061 (DR3DNS, 'direction'),
4062 (DR3DNS, 'specular'),
4063 (DR3DNS, 'enabled'),
4064 ),
4065 (DR3DNS, 'rotate'): (
4066 (DRAWNS, 'layer'),
4067 (SVGNS, 'd'),
4068 (DR3DNS, 'transform'),
4069 (SVGNS, 'viewBox'),
4070 (DRAWNS, 'z-index'),
4071 (DRAWNS, 'class-names'),
4072 (DRAWNS, 'style-name'),
4073 (PRESENTATIONNS, 'style-name'),
4074 (PRESENTATIONNS, 'class-names'),
4075 (DRAWNS, 'id'),
4076 ),
4077 # allowed_attributes
4078 (DR3DNS, 'scene'): (
4079 (DR3DNS, 'ambient-color'),
4080 (DR3DNS, 'distance'),
4081 (DR3DNS, 'focal-length'),
4082 (DR3DNS, 'lighting-mode'),
4083 (DR3DNS, 'projection'),
4084 (DR3DNS, 'shade-mode'),
4085 (DR3DNS, 'shadow-slant'),
4086 (DR3DNS, 'transform'),
4087 (DR3DNS, 'vpn'),
4088 (DR3DNS, 'vrp'),
4089 (DR3DNS, 'vup'),
4090 (DRAWNS, 'id'),
4091 (DRAWNS, 'caption-id'),
4092 (DRAWNS, 'layer'),
4093 (DRAWNS, 'z-index'),
4094 (DRAWNS, 'class-names'),
4095 (DRAWNS, 'style-name'),
4096 (PRESENTATIONNS, 'class-names'),
4097 (PRESENTATIONNS, 'style-name'),
4098 (SVGNS, 'height'),
4099 (SVGNS, 'width'),
4100 (SVGNS, 'x'),
4101 (SVGNS, 'y'),
4102 (TABLENS, 'end-cell-address'),
4103 (TABLENS, 'end-x'),
4104 (TABLENS, 'end-y'),
4105 (TABLENS, 'table-background'),
4106 (TEXTNS, 'anchor-page-number'),
4107 (TEXTNS, 'anchor-type'),
4108 ),
4109 (DR3DNS, 'sphere'): (
4110 (DRAWNS, 'layer'),
4111 (DR3DNS, 'center'),
4112 (DR3DNS, 'transform'),
4113 (DRAWNS, 'z-index'),
4114 (DRAWNS, 'class-names'),
4115 (DRAWNS, 'style-name'),
4116 (PRESENTATIONNS, 'style-name'),
4117 (PRESENTATIONNS, 'class-names'),
4118 (DRAWNS, 'id'),
4119 (DR3DNS, 'size'),
4120 ),
4121 (DRAWNS, 'a'): (
4122 (OFFICENS, 'name'),
4123 (OFFICENS, 'title'),
4124 (XLINKNS, 'show'),
4125 (OFFICENS, 'target-frame-name'),
4126 (XLINKNS, 'actuate'),
4127 (XLINKNS, 'href'),
4128 (XLINKNS, 'type'),
4129 (OFFICENS, 'server-map'),
4130 ),
4131 (DRAWNS, 'applet'): (
4132 (DRAWNS, 'code'),
4133 (XLINKNS, 'show'),
4134 (DRAWNS, 'object'),
4135 (XLINKNS, 'actuate'),
4136 (XLINKNS, 'href'),
4137 (XLINKNS, 'type'),
4138 (DRAWNS, 'archive'),
4139 (DRAWNS, 'may-script'),
4140 ),
4141 (DRAWNS, 'area-circle'): (
4142 (OFFICENS, 'name'),
4143 (XLINKNS, 'show'),
4144 (SVGNS, 'cx'),
4145 (XLINKNS, 'type'),
4146 (DRAWNS, 'nohref'),
4147 (SVGNS, 'cy'),
4148 (XLINKNS, 'href'),
4149 (SVGNS, 'r'),
4150 (OFFICENS, 'target-frame-name'),
4151 ),
4152 (DRAWNS, 'area-polygon'): (
4153 (OFFICENS, 'name'),
4154 (XLINKNS, 'show'),
4155 (XLINKNS, 'type'),
4156 (SVGNS, 'height'),
4157 (DRAWNS, 'nohref'),
4158 (SVGNS, 'width'),
4159 (XLINKNS, 'href'),
4160 (SVGNS, 'y'),
4161 (SVGNS, 'x'),
4162 (OFFICENS, 'target-frame-name'),
4163 (SVGNS, 'viewBox'),
4164 (DRAWNS, 'points'),
4165 ),
4166 (DRAWNS, 'area-rectangle'): (
4167 (OFFICENS, 'name'),
4168 (XLINKNS, 'show'),
4169 (XLINKNS, 'type'),
4170 (SVGNS, 'height'),
4171 (DRAWNS, 'nohref'),
4172 (SVGNS, 'width'),
4173 (XLINKNS, 'href'),
4174 (SVGNS, 'y'),
4175 (SVGNS, 'x'),
4176 (OFFICENS, 'target-frame-name'),
4177 ),
4178 (DRAWNS, 'caption'): (
4179 (TABLENS, 'table-background'),
4180 (DRAWNS, 'layer'),
4181 (DRAWNS, 'caption-id'),
4182 (TABLENS, 'end-cell-address'),
4183 (DRAWNS, 'name'),
4184 (DRAWNS, 'text-style-name'),
4185 (DRAWNS, 'caption-point-y'),
4186 (DRAWNS, 'caption-point-x'),
4187 (DRAWNS, 'transform'),
4188 (TABLENS, 'end-y'),
4189 (DRAWNS, 'corner-radius'),
4190 (SVGNS, 'width'),
4191 (DRAWNS, 'z-index'),
4192 (DRAWNS, 'class-names'),
4193 (DRAWNS, 'style-name'),
4194 (PRESENTATIONNS, 'style-name'),
4195 (PRESENTATIONNS, 'class-names'),
4196 (TABLENS, 'end-x'),
4197 (TEXTNS, 'anchor-page-number'),
4198 (SVGNS, 'y'),
4199 (SVGNS, 'x'),
4200 (SVGNS, 'height'),
4201 (DRAWNS, 'id'),
4202 (TEXTNS, 'anchor-type'),
4203 ),
4204 (DRAWNS, 'circle'): (
4205 (DRAWNS, 'end-angle'),
4206 (DRAWNS, 'id'),
4207 (DRAWNS, 'kind'),
4208 (DRAWNS, 'layer'),
4209 (DRAWNS, 'name'),
4210 (DRAWNS, 'start-angle'),
4211 (DRAWNS, 'class-names'),
4212 (DRAWNS, 'style-name'),
4213 (DRAWNS, 'caption-id'),
4214 (DRAWNS, 'text-style-name'),
4215 (DRAWNS, 'transform'),
4216 (DRAWNS, 'z-index'),
4217 (PRESENTATIONNS, 'class-names'),
4218 (PRESENTATIONNS, 'style-name'),
4219 (SVGNS, 'cx'),
4220 (SVGNS, 'cy'),
4221 (SVGNS, 'height'),
4222 (SVGNS, 'r'),
4223 (SVGNS, 'width'),
4224 (SVGNS, 'x'),
4225 (SVGNS, 'y'),
4226 (TABLENS, 'end-cell-address'),
4227 (TABLENS, 'end-x'),
4228 (TABLENS, 'end-y'),
4229 (TABLENS, 'table-background'),
4230 (TEXTNS, 'anchor-page-number'),
4231 (TEXTNS, 'anchor-type'),
4232 ),
4233 (DRAWNS, 'connector'): (
4234 (DRAWNS, 'layer'),
4235 (DRAWNS, 'end-shape'),
4236 (TEXTNS, 'anchor-page-number'),
4237 (SVGNS, 'y1'),
4238 (SVGNS, 'y2'),
4239 (TABLENS, 'table-background'),
4240 (TABLENS, 'end-cell-address'),
4241 (DRAWNS, 'transform'),
4242 (DRAWNS, 'id'),
4243 (TABLENS, 'end-y'),
4244 (TABLENS, 'end-x'),
4245 (DRAWNS, 'class-names'),
4246 (DRAWNS, 'style-name'),
4247 (PRESENTATIONNS, 'class-names'),
4248 (DRAWNS, 'caption-id'),
4249 (DRAWNS, 'type'),
4250 (DRAWNS, 'start-shape'),
4251 (DRAWNS, 'z-index'),
4252 (PRESENTATIONNS, 'style-name'),
4253 (DRAWNS, 'start-glue-point'),
4254 (SVGNS, 'x2'),
4255 (SVGNS, 'x1'),
4256 (TEXTNS, 'anchor-type'),
4257 (DRAWNS, 'line-skew'),
4258 (DRAWNS, 'name'),
4259 (DRAWNS, 'end-glue-point'),
4260 (DRAWNS, 'text-style-name'),
4261 ),
4262 (DRAWNS, 'contour-path'): (
4263 (SVGNS, 'd'),
4264 (SVGNS, 'width'),
4265 (DRAWNS, 'recreate-on-edit'),
4266 (SVGNS, 'viewBox'),
4267 (SVGNS, 'height'),
4268 ),
4269 (DRAWNS, 'contour-polygon'): (
4270 (SVGNS, 'width'),
4271 (DRAWNS, 'points'),
4272 (DRAWNS, 'recreate-on-edit'),
4273 (SVGNS, 'viewBox'),
4274 (SVGNS, 'height'),
4275 ),
4276 (DRAWNS, 'control'): (
4277 (DRAWNS, 'control'),
4278 (DRAWNS, 'layer'),
4279 (DRAWNS, 'caption-id'),
4280 (TABLENS, 'end-cell-address'),
4281 (DRAWNS, 'name'),
4282 (DRAWNS, 'text-style-name'),
4283 (TABLENS, 'table-background'),
4284 (DRAWNS, 'transform'),
4285 (SVGNS, 'height'),
4286 (SVGNS, 'width'),
4287 (DRAWNS, 'z-index'),
4288 (DRAWNS, 'class-names'),
4289 (DRAWNS, 'style-name'),
4290 (PRESENTATIONNS, 'style-name'),
4291 (PRESENTATIONNS, 'class-names'),
4292 (TABLENS, 'end-x'),
4293 (TEXTNS, 'anchor-page-number'),
4294 (SVGNS, 'y'),
4295 (SVGNS, 'x'),
4296 (TABLENS, 'end-y'),
4297 (DRAWNS, 'id'),
4298 (TEXTNS, 'anchor-type'),
4299 ),
4300 (DRAWNS, 'custom-shape'): (
4301 (DRAWNS, 'engine'),
4302 (DRAWNS, 'caption-id'),
4303 (DRAWNS, 'layer'),
4304 (TABLENS, 'end-cell-address'),
4305 (DRAWNS, 'name'),
4306 (DRAWNS, 'text-style-name'),
4307 (TABLENS, 'table-background'),
4308 (DRAWNS, 'transform'),
4309 (SVGNS, 'height'),
4310 (SVGNS, 'width'),
4311 (DRAWNS, 'z-index'),
4312 (DRAWNS, 'class-names'),
4313 (DRAWNS, 'style-name'),
4314 (PRESENTATIONNS, 'style-name'),
4315 (PRESENTATIONNS, 'class-names'),
4316 (TABLENS, 'end-x'),
4317 (TEXTNS, 'anchor-page-number'),
4318 (SVGNS, 'y'),
4319 (SVGNS, 'x'),
4320 (TABLENS, 'end-y'),
4321 (DRAWNS, 'data'),
4322 (DRAWNS, 'id'),
4323 (TEXTNS, 'anchor-type'),
4324 ),
4325 # allowed_attributes
4326 (DRAWNS, 'ellipse'): (
4327 (DRAWNS, 'layer'),
4328 (DRAWNS, 'start-angle'),
4329 (SVGNS, 'cy'),
4330 (SVGNS, 'cx'),
4331 (TABLENS, 'table-background'),
4332 (TABLENS, 'end-cell-address'),
4333 (SVGNS, 'rx'),
4334 (DRAWNS, 'transform'),
4335 (DRAWNS, 'id'),
4336 (SVGNS, 'width'),
4337 (TABLENS, 'end-y'),
4338 (TABLENS, 'end-x'),
4339 (DRAWNS, 'class-names'),
4340 (DRAWNS, 'style-name'),
4341 (PRESENTATIONNS, 'class-names'),
4342 (DRAWNS, 'end-angle'),
4343 (DRAWNS, 'z-index'),
4344 (DRAWNS, 'caption-id'),
4345 (PRESENTATIONNS, 'style-name'),
4346 (SVGNS, 'height'),
4347 (TEXTNS, 'anchor-type'),
4348 (SVGNS, 'ry'),
4349 (DRAWNS, 'kind'),
4350 (DRAWNS, 'name'),
4351 (TEXTNS, 'anchor-page-number'),
4352 (SVGNS, 'y'),
4353 (SVGNS, 'x'),
4354 (DRAWNS, 'text-style-name'),
4355 ),
4356 # allowed_attributes
4357 (DRAWNS, 'enhanced-geometry'): (
4358 (DRAWNS, 'extrusion-rotation-center'),
4359 (DRAWNS, 'extrusion-shininess'),
4360 (DRAWNS, 'extrusion-rotation-angle'),
4361 (DRAWNS, 'extrusion-allowed'),
4362 (DRAWNS, 'extrusion-first-light-level'),
4363 (DRAWNS, 'extrusion-specularity'),
4364 (DRAWNS, 'extrusion-viewpoint'),
4365 (DRAWNS, 'extrusion-second-light-level'),
4366 (DRAWNS, 'extrusion-origin'),
4367 (DRAWNS, 'extrusion-color'),
4368 (SVGNS, 'viewBox'),
4369 (DR3DNS, 'projection'),
4370 (DRAWNS, 'extrusion-metal'),
4371 (DRAWNS, 'extrusion-number-of-line-segments'),
4372 (DRAWNS, 'text-path-same-letter-heights'),
4373 (DRAWNS, 'extrusion-first-light-harsh'),
4374 (DRAWNS, 'enhanced-path'),
4375 (DRAWNS, 'text-rotate-angle'),
4376 (DRAWNS, 'type'),
4377 (DRAWNS, 'glue-point-leaving-directions'),
4378 (DRAWNS, 'concentric-gradient-fill-allowed'),
4379 (DRAWNS, 'text-path-scale'),
4380 (DRAWNS, 'extrusion-brightness'),
4381 (DRAWNS, 'extrusion-first-light-direction'),
4382 (DRAWNS, 'extrusion-light-face'),
4383 (DRAWNS, 'text-path-allowed'),
4384 (DRAWNS, 'glue-points'),
4385 (DRAWNS, 'mirror-vertical'),
4386 (DRAWNS, 'extrusion-depth'),
4387 (DRAWNS, 'extrusion-diffusion'),
4388 (DRAWNS, 'extrusion-second-light-direction'),
4389 (DRAWNS, 'extrusion-skew'),
4390 (DR3DNS, 'shade-mode'),
4391 (DRAWNS, 'path-stretchpoint-y'),
4392 (DRAWNS, 'modifiers'),
4393 (DRAWNS, 'extrusion'),
4394 (DRAWNS, 'path-stretchpoint-x'),
4395 (DRAWNS, 'text-areas'),
4396 (DRAWNS, 'mirror-horizontal'),
4397 (DRAWNS, 'text-path-mode'),
4398 (DRAWNS, 'extrusion-second-light-harsh'),
4399 (DRAWNS, 'glue-point-type'),
4400 (DRAWNS, 'text-path'),
4401 ),
4402 # allowed_attributes
4403 (DRAWNS, 'equation'): (
4404 (DRAWNS, 'formula'),
4405 (DRAWNS, 'name'),
4406 ),
4407 (DRAWNS, 'fill-image'): (
4408 (DRAWNS, 'name'),
4409 (XLINKNS, 'show'),
4410 (XLINKNS, 'actuate'),
4411 (SVGNS, 'height'),
4412 (SVGNS, 'width'),
4413 (XLINKNS, 'href'),
4414 (DRAWNS, 'display-name'),
4415 (XLINKNS, 'type'),
4416 ),
4417 (DRAWNS, 'floating-frame'): (
4418 (XLINKNS, 'href'),
4419 (XLINKNS, 'actuate'),
4420 (DRAWNS, 'frame-name'),
4421 (XLINKNS, 'type'),
4422 (XLINKNS, 'show'),
4423 ),
4424 (DRAWNS, 'frame'): (
4425 (DRAWNS, 'copy-of'),
4426 (DRAWNS, 'id'),
4427 (DRAWNS, 'layer'),
4428 (DRAWNS, 'name'),
4429 (DRAWNS, 'class-names'),
4430 (DRAWNS, 'caption-id'),
4431 (DRAWNS, 'style-name'),
4432 (DRAWNS, 'text-style-name'),
4433 (DRAWNS, 'transform'),
4434 (DRAWNS, 'z-index'),
4435 (PRESENTATIONNS, 'class'),
4436 (PRESENTATIONNS, 'class-names'),
4437 (PRESENTATIONNS, 'placeholder'),
4438 (PRESENTATIONNS, 'style-name'),
4439 (PRESENTATIONNS, 'user-transformed'),
4440 (STYLENS, 'rel-height'),
4441 (STYLENS, 'rel-width'),
4442 (SVGNS, 'height'),
4443 (SVGNS, 'width'),
4444 (SVGNS, 'x'),
4445 (SVGNS, 'y'),
4446 (TABLENS, 'end-cell-address'),
4447 (TABLENS, 'end-x'),
4448 (TABLENS, 'end-y'),
4449 (TABLENS, 'table-background'),
4450 (TEXTNS, 'anchor-page-number'),
4451 (TEXTNS, 'anchor-type'),
4452 ),
4453 # allowed_attributes
4454 (DRAWNS, 'g'): (
4455 (DRAWNS, 'id'),
4456 (DRAWNS, 'caption-id'),
4457 (DRAWNS, 'name'),
4458 (DRAWNS, 'class-names'),
4459 (DRAWNS, 'style-name'),
4460 (DRAWNS, 'z-index'),
4461 (PRESENTATIONNS, 'class-names'),
4462 (PRESENTATIONNS, 'style-name'),
4463 (SVGNS, 'y'),
4464 (TABLENS, 'end-cell-address'),
4465 (TABLENS, 'end-x'),
4466 (TABLENS, 'end-y'),
4467 (TABLENS, 'table-background'),
4468 (TEXTNS, 'anchor-page-number'),
4469 (TEXTNS, 'anchor-type'),
4470 ),
4471 (DRAWNS, 'glue-point'): (
4472 (SVGNS, 'y'),
4473 (SVGNS, 'x'),
4474 (DRAWNS, 'align'),
4475 (DRAWNS, 'id'),
4476 (DRAWNS, 'escape-direction'),
4477 ),
4478 (DRAWNS, 'gradient'): (
4479 (DRAWNS, 'style'),
4480 (DRAWNS, 'angle'),
4481 (DRAWNS, 'name'),
4482 (DRAWNS, 'end-color'),
4483 (DRAWNS, 'start-color'),
4484 (DRAWNS, 'cy'),
4485 (DRAWNS, 'cx'),
4486 (DRAWNS, 'display-name'),
4487 (DRAWNS, 'border'),
4488 (DRAWNS, 'end-intensity'),
4489 (DRAWNS, 'start-intensity'),
4490 ),
4491 (DRAWNS, 'handle'): (
4492 (DRAWNS, 'handle-radius-range-minimum'),
4493 (DRAWNS, 'handle-switched'),
4494 (DRAWNS, 'handle-range-y-maximum'),
4495 (DRAWNS, 'handle-mirror-horizontal'),
4496 (DRAWNS, 'handle-range-x-maximum'),
4497 (DRAWNS, 'handle-mirror-vertical'),
4498 (DRAWNS, 'handle-range-y-minimum'),
4499 (DRAWNS, 'handle-radius-range-maximum'),
4500 (DRAWNS, 'handle-range-x-minimum'),
4501 (DRAWNS, 'handle-position'),
4502 (DRAWNS, 'handle-polar'),
4503 ),
4504 (DRAWNS, 'hatch'): (
4505 (DRAWNS, 'distance'),
4506 (DRAWNS, 'style'),
4507 (DRAWNS, 'name'),
4508 (DRAWNS, 'color'),
4509 (DRAWNS, 'display-name'),
4510 (DRAWNS, 'rotation'),
4511 ),
4512 (DRAWNS, 'image'): (
4513 (DRAWNS, 'filter-name'),
4514 (XLINKNS, 'href'),
4515 (XLINKNS, 'type'),
4516 (XLINKNS, 'actuate'),
4517 (XLINKNS, 'show'),
4518 ),
4519 (DRAWNS, 'image-map'): (),
4520 (DRAWNS, 'layer'): (
4521 (DRAWNS, 'protected'),
4522 (DRAWNS, 'name'),
4523 (DRAWNS, 'display'),
4524 ),
4525 # allowed_attributes
4526 (DRAWNS, 'layer-set'): (),
4527 (DRAWNS, 'line'): (
4528 (DRAWNS, 'class-names'),
4529 (DRAWNS, 'id'),
4530 (DRAWNS, 'caption-id'),
4531 (DRAWNS, 'layer'),
4532 (DRAWNS, 'name'),
4533 (DRAWNS, 'style-name'),
4534 (DRAWNS, 'text-style-name'),
4535 (DRAWNS, 'transform'),
4536 (DRAWNS, 'z-index'),
4537 (PRESENTATIONNS, 'class-names'),
4538 (PRESENTATIONNS, 'style-name'),
4539 (SVGNS, 'x1'),
4540 (SVGNS, 'x2'),
4541 (SVGNS, 'y1'),
4542 (SVGNS, 'y2'),
4543 (TABLENS, 'end-cell-address'),
4544 (TABLENS, 'end-x'),
4545 (TABLENS, 'end-y'),
4546 (TABLENS, 'table-background'),
4547 (TEXTNS, 'anchor-page-number'),
4548 (TEXTNS, 'anchor-type'),
4549 ),
4550 (DRAWNS, 'marker'): (
4551 (SVGNS, 'd'),
4552 (DRAWNS, 'display-name'),
4553 (DRAWNS, 'name'),
4554 (SVGNS, 'viewBox'),
4555 ),
4556 # allowed_attributes
4557 (DRAWNS, 'measure'): (
4558 (TABLENS, 'end-cell-address'),
4559 (DRAWNS, 'layer'),
4560 (SVGNS, 'y2'),
4561 (DRAWNS, 'name'),
4562 (DRAWNS, 'text-style-name'),
4563 (DRAWNS, 'transform'),
4564 (TABLENS, 'table-background'),
4565 (SVGNS, 'x2'),
4566 (DRAWNS, 'z-index'),
4567 (DRAWNS, 'class-names'),
4568 (DRAWNS, 'style-name'),
4569 (PRESENTATIONNS, 'style-name'),
4570 (PRESENTATIONNS, 'class-names'),
4571 (TABLENS, 'end-x'),
4572 (TEXTNS, 'anchor-page-number'),
4573 (SVGNS, 'y1'),
4574 (DRAWNS, 'caption-id'),
4575 (TABLENS, 'end-y'),
4576 (SVGNS, 'x1'),
4577 (DRAWNS, 'id'),
4578 (TEXTNS, 'anchor-type'),
4579 ),
4580 (DRAWNS, 'object'): (
4581 (XLINKNS, 'type'),
4582 (XLINKNS, 'href'),
4583 (DRAWNS, 'notify-on-update-of-ranges'),
4584 (XLINKNS, 'actuate'),
4585 (XLINKNS, 'show'),
4586 ),
4587 (DRAWNS, 'object-ole'): (
4588 (XLINKNS, 'actuate'),
4589 (XLINKNS, 'href'),
4590 (XLINKNS, 'type'),
4591 (DRAWNS, 'class-id'),
4592 (XLINKNS, 'show'),
4593 ),
4594 (DRAWNS, 'opacity'): (
4595 (DRAWNS, 'style'),
4596 (DRAWNS, 'angle'),
4597 (DRAWNS, 'name'),
4598 (DRAWNS, 'start'),
4599 (DRAWNS, 'cy'),
4600 (DRAWNS, 'cx'),
4601 (DRAWNS, 'end'),
4602 (DRAWNS, 'display-name'),
4603 (DRAWNS, 'border'),
4604 ),
4605 (DRAWNS, 'page'): (
4606 (PRESENTATIONNS, 'presentation-page-layout-name'),
4607 (DRAWNS, 'name'),
4608 (DRAWNS, 'nav-order'),
4609 (PRESENTATIONNS, 'use-footer-name'),
4610 (DRAWNS, 'style-name'),
4611 (PRESENTATIONNS, 'use-header-name'),
4612 (DRAWNS, 'master-page-name'),
4613 (DRAWNS, 'id'),
4614 (PRESENTATIONNS, 'use-date-time-name'),
4615 ),
4616 (DRAWNS, 'page-thumbnail'): (
4617 (TABLENS, 'table-background'),
4618 (DRAWNS, 'caption-id'),
4619 (PRESENTATIONNS, 'user-transformed'),
4620 (DRAWNS, 'layer'),
4621 (TABLENS, 'end-cell-address'),
4622 (DRAWNS, 'name'),
4623 (DRAWNS, 'id'),
4624 (DRAWNS, 'transform'),
4625 (DRAWNS, 'page-number'),
4626 (SVGNS, 'height'),
4627 (SVGNS, 'width'),
4628 (DRAWNS, 'z-index'),
4629 (DRAWNS, 'class-names'),
4630 (DRAWNS, 'style-name'),
4631 (PRESENTATIONNS, 'style-name'),
4632 (PRESENTATIONNS, 'class-names'),
4633 (TABLENS, 'end-x'),
4634 (TEXTNS, 'anchor-page-number'),
4635 (SVGNS, 'y'),
4636 (SVGNS, 'x'),
4637 (TABLENS, 'end-y'),
4638 (PRESENTATIONNS, 'placeholder'),
4639 (PRESENTATIONNS, 'class'),
4640 (TEXTNS, 'anchor-type'),
4641 ),
4642 (DRAWNS, 'param'): (
4643 (DRAWNS, 'name'),
4644 (DRAWNS, 'value'),
4645 ),
4646 # allowed_attributes
4647 (DRAWNS, 'path'): (
4648 (TABLENS, 'table-background'),
4649 (DRAWNS, 'layer'),
4650 (TABLENS, 'end-cell-address'),
4651 (DRAWNS, 'caption-id'),
4652 (SVGNS, 'd'),
4653 (DRAWNS, 'text-style-name'),
4654 (DRAWNS, 'id'),
4655 (DRAWNS, 'transform'),
4656 (SVGNS, 'height'),
4657 (SVGNS, 'width'),
4658 (DRAWNS, 'z-index'),
4659 (DRAWNS, 'class-names'),
4660 (DRAWNS, 'style-name'),
4661 (PRESENTATIONNS, 'style-name'),
4662 (PRESENTATIONNS, 'class-names'),
4663 (TABLENS, 'end-x'),
4664 (TEXTNS, 'anchor-type'),
4665 (TEXTNS, 'anchor-page-number'),
4666 (SVGNS, 'y'),
4667 (SVGNS, 'x'),
4668 (TABLENS, 'end-y'),
4669 (SVGNS, 'viewBox'),
4670 (DRAWNS, 'name'),
4671 ),
4672 (DRAWNS, 'plugin'): (
4673 (XLINKNS, 'type'),
4674 (XLINKNS, 'href'),
4675 (DRAWNS, 'mime-type'),
4676 (XLINKNS, 'actuate'),
4677 (XLINKNS, 'show'),
4678 ),
4679 (DRAWNS, 'polygon'): (
4680 (DRAWNS, 'caption-id'),
4681 (TABLENS, 'table-background'),
4682 (DRAWNS, 'layer'),
4683 (TABLENS, 'end-cell-address'),
4684 (DRAWNS, 'name'),
4685 (DRAWNS, 'text-style-name'),
4686 (DRAWNS, 'id'),
4687 (DRAWNS, 'transform'),
4688 (PRESENTATIONNS, 'style-name'),
4689 (SVGNS, 'height'),
4690 (SVGNS, 'width'),
4691 (DRAWNS, 'z-index'),
4692 (DRAWNS, 'points'),
4693 (DRAWNS, 'class-names'),
4694 (DRAWNS, 'style-name'),
4695 (PRESENTATIONNS, 'class-names'),
4696 (TABLENS, 'end-x'),
4697 (TEXTNS, 'anchor-page-number'),
4698 (SVGNS, 'y'),
4699 (SVGNS, 'x'),
4700 (TABLENS, 'end-y'),
4701 (SVGNS, 'viewBox'),
4702 (TEXTNS, 'anchor-type'),
4703 ),
4704 # allowed_attributes
4705 (DRAWNS, 'polyline'): (
4706 (TABLENS, 'table-background'),
4707 (DRAWNS, 'layer'),
4708 (TABLENS, 'end-cell-address'),
4709 (DRAWNS, 'name'),
4710 (DRAWNS, 'text-style-name'),
4711 (DRAWNS, 'id'),
4712 (DRAWNS, 'caption-id'),
4713 (DRAWNS, 'transform'),
4714 (PRESENTATIONNS, 'style-name'),
4715 (SVGNS, 'height'),
4716 (SVGNS, 'width'),
4717 (DRAWNS, 'z-index'),
4718 (DRAWNS, 'points'),
4719 (DRAWNS, 'class-names'),
4720 (DRAWNS, 'style-name'),
4721 (PRESENTATIONNS, 'class-names'),
4722 (TABLENS, 'end-x'),
4723 (TEXTNS, 'anchor-page-number'),
4724 (SVGNS, 'y'),
4725 (SVGNS, 'x'),
4726 (TABLENS, 'end-y'),
4727 (SVGNS, 'viewBox'),
4728 (TEXTNS, 'anchor-type'),
4729 ),
4730 (DRAWNS, 'rect'): (
4731 (DRAWNS, 'corner-radius'),
4732 (DRAWNS, 'caption-id'),
4733 (DRAWNS, 'id'),
4734 (DRAWNS, 'layer'),
4735 (DRAWNS, 'name'),
4736 (DRAWNS, 'text-style-name'),
4737 (DRAWNS, 'transform'),
4738 (DRAWNS, 'z-index'),
4739 (DRAWNS, 'class-names'),
4740 (DRAWNS, 'style-name'),
4741 (PRESENTATIONNS, 'class-names'),
4742 (PRESENTATIONNS, 'style-name'),
4743 (SVGNS, 'height'),
4744 (SVGNS, 'width'),
4745 (SVGNS, 'x'),
4746 (SVGNS, 'y'),
4747 (TABLENS, 'end-cell-address'),
4748 (TABLENS, 'end-x'),
4749 (TABLENS, 'end-y'),
4750 (TABLENS, 'table-background'),
4751 (TEXTNS, 'anchor-page-number'),
4752 (TEXTNS, 'anchor-type'),
4753 ),
4754 # allowed_attributes
4755 (DRAWNS, 'regular-polygon'): (
4756 (TABLENS, 'table-background'),
4757 (DRAWNS, 'layer'),
4758 (TABLENS, 'end-cell-address'),
4759 (DRAWNS, 'caption-id'),
4760 (DRAWNS, 'name'),
4761 (DRAWNS, 'text-style-name'),
4762 (TEXTNS, 'anchor-page-number'),
4763 (DRAWNS, 'concave'),
4764 (DRAWNS, 'sharpness'),
4765 (DRAWNS, 'transform'),
4766 (SVGNS, 'height'),
4767 (SVGNS, 'width'),
4768 (DRAWNS, 'z-index'),
4769 (DRAWNS, 'class-names'),
4770 (DRAWNS, 'style-name'),
4771 (PRESENTATIONNS, 'style-name'),
4772 (PRESENTATIONNS, 'class-names'),
4773 (TABLENS, 'end-x'),
4774 (DRAWNS, 'corners'),
4775 (SVGNS, 'y'),
4776 (SVGNS, 'x'),
4777 (TABLENS, 'end-y'),
4778 (DRAWNS, 'id'),
4779 (TEXTNS, 'anchor-type'),
4780 ),
4781 (DRAWNS, 'stroke-dash'): (
4782 (DRAWNS, 'distance'),
4783 (DRAWNS, 'dots1-length'),
4784 (DRAWNS, 'name'),
4785 (DRAWNS, 'dots2-length'),
4786 (DRAWNS, 'style'),
4787 (DRAWNS, 'dots1'),
4788 (DRAWNS, 'display-name'),
4789 (DRAWNS, 'dots2'),
4790 ),
4791 (DRAWNS, 'text-box'): (
4792 (FONS, 'min-width'),
4793 (DRAWNS, 'corner-radius'),
4794 (FONS, 'max-height'),
4795 (FONS, 'min-height'),
4796 (DRAWNS, 'chain-next-name'),
4797 (FONS, 'max-width'),
4798 (TEXTNS, 'id'),
4799 ),
4800 # allowed_attributes
4801 (FORMNS, 'button'): (
4802 (FORMNS, 'tab-stop'),
4803 (FORMNS, 'focus-on-click'),
4804 (FORMNS, 'image-align'),
4805 (FORMNS, 'name'),
4806 (FORMNS, 'tab-index'),
4807 (FORMNS, 'control-implementation'),
4808 (XFORMSNS, 'bind'),
4809 (FORMNS, 'button-type'),
4810 (FORMNS, 'title'),
4811 (FORMNS, 'default-button'),
4812 (FORMNS, 'value'),
4813 (FORMNS, 'label'),
4814 (FORMNS, 'disabled'),
4815 (FORMNS, 'printable'),
4816 (FORMNS, 'image-data'),
4817 (XLINKNS, 'href'),
4818 (FORMNS, 'toggle'),
4819 (FORMNS, 'xforms-submission'),
4820 (OFFICENS, 'target-frame'),
4821 (FORMNS, 'id'),
4822 (FORMNS, 'image-position'),
4823 ),
4824 (FORMNS, 'checkbox'): (
4825 (FORMNS, 'tab-stop'),
4826 (FORMNS, 'image-align'),
4827 (FORMNS, 'name'),
4828 (FORMNS, 'tab-index'),
4829 (FORMNS, 'control-implementation'),
4830 (XFORMSNS, 'bind'),
4831 (FORMNS, 'data-field'),
4832 (FORMNS, 'title'),
4833 (FORMNS, 'is-tristate'),
4834 (FORMNS, 'current-state'),
4835 (FORMNS, 'value'),
4836 (FORMNS, 'label'),
4837 (FORMNS, 'disabled'),
4838 (FORMNS, 'printable'),
4839 (FORMNS, 'state'),
4840 (FORMNS, 'visual-effect'),
4841 (FORMNS, 'id'),
4842 (FORMNS, 'image-position'),
4843 ),
4844 (FORMNS, 'column'): (
4845 (FORMNS, 'control-implementation'),
4846 (FORMNS, 'text-style-name'),
4847 (FORMNS, 'name'),
4848 (FORMNS, 'label'),
4849 ),
4850 (FORMNS, 'combobox'): (
4851 (FORMNS, 'convert-empty-to-null'),
4852 (FORMNS, 'max-length'),
4853 (FORMNS, 'tab-stop'),
4854 (FORMNS, 'name'),
4855 (FORMNS, 'dropdown'),
4856 (FORMNS, 'control-implementation'),
4857 (XFORMSNS, 'bind'),
4858 (FORMNS, 'data-field'),
4859 (FORMNS, 'tab-index'),
4860 (FORMNS, 'auto-complete'),
4861 (FORMNS, 'value'),
4862 (FORMNS, 'disabled'),
4863 (FORMNS, 'printable'),
4864 (FORMNS, 'readonly'),
4865 (FORMNS, 'list-source'),
4866 (FORMNS, 'title'),
4867 (FORMNS, 'list-source-type'),
4868 (FORMNS, 'id'),
4869 (FORMNS, 'current-value'),
4870 (FORMNS, 'size'),
4871 ),
4872 # allowed_attributes
4873 (FORMNS, 'connection-resource'): ((XLINKNS, 'href'),),
4874 (FORMNS, 'date'): (
4875 (FORMNS, 'convert-empty-to-null'),
4876 (FORMNS, 'max-length'),
4877 (FORMNS, 'tab-stop'),
4878 (FORMNS, 'name'),
4879 (FORMNS, 'tab-index'),
4880 (FORMNS, 'control-implementation'),
4881 (FORMNS, 'min-value'),
4882 (FORMNS, 'data-field'),
4883 (FORMNS, 'max-value'),
4884 (FORMNS, 'value'),
4885 (FORMNS, 'disabled'),
4886 (FORMNS, 'printable'),
4887 (FORMNS, 'readonly'),
4888 (XFORMSNS, 'bind'),
4889 (FORMNS, 'title'),
4890 (FORMNS, 'id'),
4891 (FORMNS, 'current-value'),
4892 ),
4893 (FORMNS, 'file'): (
4894 (FORMNS, 'max-length'),
4895 (FORMNS, 'tab-stop'),
4896 (FORMNS, 'name'),
4897 (FORMNS, 'tab-index'),
4898 (FORMNS, 'control-implementation'),
4899 (XFORMSNS, 'bind'),
4900 (FORMNS, 'title'),
4901 (FORMNS, 'value'),
4902 (FORMNS, 'disabled'),
4903 (FORMNS, 'printable'),
4904 (FORMNS, 'readonly'),
4905 (FORMNS, 'id'),
4906 (FORMNS, 'current-value'),
4907 ),
4908 (FORMNS, 'fixed-text'): (
4909 (FORMNS, 'name'),
4910 (FORMNS, 'for'),
4911 (FORMNS, 'title'),
4912 (FORMNS, 'control-implementation'),
4913 (XFORMSNS, 'bind'),
4914 (FORMNS, 'multi-line'),
4915 (FORMNS, 'label'),
4916 (FORMNS, 'disabled'),
4917 (FORMNS, 'printable'),
4918 (FORMNS, 'id'),
4919 ),
4920 # allowed_attributes
4921 (FORMNS, 'form'): (
4922 (XLINKNS, 'actuate'),
4923 (XLINKNS, 'href'),
4924 (FORMNS, 'allow-deletes'),
4925 (FORMNS, 'command-type'),
4926 (FORMNS, 'apply-filter'),
4927 (XLINKNS, 'type'),
4928 (FORMNS, 'method'),
4929 (OFFICENS, 'target-frame'),
4930 (FORMNS, 'navigation-mode'),
4931 (FORMNS, 'detail-fields'),
4932 (FORMNS, 'master-fields'),
4933 (FORMNS, 'allow-updates'),
4934 (FORMNS, 'name'),
4935 (FORMNS, 'tab-cycle'),
4936 (FORMNS, 'control-implementation'),
4937 (FORMNS, 'escape-processing'),
4938 (FORMNS, 'filter'),
4939 (FORMNS, 'command'),
4940 (FORMNS, 'datasource'),
4941 (FORMNS, 'enctype'),
4942 (FORMNS, 'allow-inserts'),
4943 (FORMNS, 'ignore-result'),
4944 (FORMNS, 'order'),
4945 ),
4946 (FORMNS, 'formatted-text'): (
4947 (FORMNS, 'convert-empty-to-null'),
4948 (FORMNS, 'max-length'),
4949 (FORMNS, 'tab-stop'),
4950 (FORMNS, 'max-value'),
4951 (FORMNS, 'name'),
4952 (FORMNS, 'tab-index'),
4953 (FORMNS, 'control-implementation'),
4954 (XFORMSNS, 'bind'),
4955 (FORMNS, 'data-field'),
4956 (FORMNS, 'title'),
4957 (FORMNS, 'value'),
4958 (FORMNS, 'disabled'),
4959 (FORMNS, 'printable'),
4960 (FORMNS, 'readonly'),
4961 (FORMNS, 'min-value'),
4962 (FORMNS, 'validation'),
4963 (FORMNS, 'id'),
4964 (FORMNS, 'current-value'),
4965 ),
4966 (FORMNS, 'frame'): (
4967 (FORMNS, 'name'),
4968 (FORMNS, 'for'),
4969 (FORMNS, 'title'),
4970 (FORMNS, 'control-implementation'),
4971 (XFORMSNS, 'bind'),
4972 (FORMNS, 'label'),
4973 (FORMNS, 'disabled'),
4974 (FORMNS, 'printable'),
4975 (FORMNS, 'id'),
4976 ),
4977 # allowed_attributes
4978 (FORMNS, 'generic-control'): (
4979 (FORMNS, 'control-implementation'),
4980 (XFORMSNS, 'bind'),
4981 (FORMNS, 'name'),
4982 (FORMNS, 'id'),
4983 ),
4984 (FORMNS, 'grid'): (
4985 (FORMNS, 'tab-stop'),
4986 (FORMNS, 'name'),
4987 (FORMNS, 'tab-index'),
4988 (FORMNS, 'control-implementation'),
4989 (XFORMSNS, 'bind'),
4990 (FORMNS, 'title'),
4991 (FORMNS, 'disabled'),
4992 (FORMNS, 'printable'),
4993 (FORMNS, 'id'),
4994 ),
4995 (FORMNS, 'hidden'): (
4996 (FORMNS, 'control-implementation'),
4997 (XFORMSNS, 'bind'),
4998 (FORMNS, 'name'),
4999 (FORMNS, 'value'),
5000 (FORMNS, 'id'),
5001 ),
5002 (FORMNS, 'image'): (
5003 (FORMNS, 'tab-stop'),
5004 (FORMNS, 'name'),
5005 (FORMNS, 'tab-index'),
5006 (FORMNS, 'control-implementation'),
5007 (XFORMSNS, 'bind'),
5008 (FORMNS, 'button-type'),
5009 (FORMNS, 'title'),
5010 (FORMNS, 'value'),
5011 (OFFICENS, 'target-frame'),
5012 (FORMNS, 'disabled'),
5013 (FORMNS, 'printable'),
5014 (FORMNS, 'image-data'),
5015 (XLINKNS, 'href'),
5016 (FORMNS, 'id'),
5017 ),
5018 (FORMNS, 'image-frame'): (
5019 (FORMNS, 'name'),
5020 (FORMNS, 'title'),
5021 (FORMNS, 'control-implementation'),
5022 (XFORMSNS, 'bind'),
5023 (FORMNS, 'data-field'),
5024 (FORMNS, 'readonly'),
5025 (FORMNS, 'disabled'),
5026 (FORMNS, 'printable'),
5027 (FORMNS, 'image-data'),
5028 (FORMNS, 'id'),
5029 ),
5030 (FORMNS, 'item'): ((FORMNS, 'label'),),
5031 (FORMNS, 'list-property'): (
5032 (FORMNS, 'property-name'),
5033 (OFFICENS, 'value-type'),
5034 ),
5035 (FORMNS, 'list-value'): ((OFFICENS, 'string-value'),),
5036 # allowed_attributes
5037 (FORMNS, 'listbox'): (
5038 (FORMNS, 'tab-stop'),
5039 (FORMNS, 'bound-column'),
5040 (FORMNS, 'multiple'),
5041 (FORMNS, 'name'),
5042 (FORMNS, 'dropdown'),
5043 (FORMNS, 'control-implementation'),
5044 (XFORMSNS, 'bind'),
5045 (FORMNS, 'data-field'),
5046 (FORMNS, 'tab-index'),
5047 (FORMNS, 'disabled'),
5048 (FORMNS, 'printable'),
5049 (FORMNS, 'list-source'),
5050 (FORMNS, 'title'),
5051 (FORMNS, 'list-source-type'),
5052 (FORMNS, 'id'),
5053 (FORMNS, 'xforms-list-source'),
5054 (FORMNS, 'size'),
5055 ),
5056 (FORMNS, 'number'): (
5057 (FORMNS, 'convert-empty-to-null'),
5058 (FORMNS, 'max-length'),
5059 (FORMNS, 'tab-stop'),
5060 (FORMNS, 'name'),
5061 (FORMNS, 'tab-index'),
5062 (FORMNS, 'control-implementation'),
5063 (FORMNS, 'min-value'),
5064 (FORMNS, 'data-field'),
5065 (FORMNS, 'max-value'),
5066 (FORMNS, 'value'),
5067 (FORMNS, 'disabled'),
5068 (FORMNS, 'printable'),
5069 (FORMNS, 'readonly'),
5070 (XFORMSNS, 'bind'),
5071 (FORMNS, 'title'),
5072 (FORMNS, 'id'),
5073 (FORMNS, 'current-value'),
5074 ),
5075 (FORMNS, 'option'): (
5076 (FORMNS, 'current-selected'),
5077 (FORMNS, 'selected'),
5078 (FORMNS, 'value'),
5079 (FORMNS, 'label'),
5080 ),
5081 (FORMNS, 'password'): (
5082 (FORMNS, 'convert-empty-to-null'),
5083 (FORMNS, 'max-length'),
5084 (FORMNS, 'tab-stop'),
5085 (FORMNS, 'name'),
5086 (FORMNS, 'tab-index'),
5087 (FORMNS, 'control-implementation'),
5088 (XFORMSNS, 'bind'),
5089 (FORMNS, 'title'),
5090 (FORMNS, 'value'),
5091 (FORMNS, 'disabled'),
5092 (FORMNS, 'printable'),
5093 (FORMNS, 'echo-char'),
5094 (FORMNS, 'id'),
5095 ),
5096 (FORMNS, 'properties'): (),
5097 (FORMNS, 'property'): (
5098 (OFFICENS, 'string-value'),
5099 (OFFICENS, 'value'),
5100 (OFFICENS, 'boolean-value'),
5101 (FORMNS, 'property-name'),
5102 (OFFICENS, 'currency'),
5103 (OFFICENS, 'date-value'),
5104 (OFFICENS, 'value-type'),
5105 (OFFICENS, 'time-value'),
5106 ),
5107 (FORMNS, 'radio'): (
5108 (FORMNS, 'tab-stop'),
5109 (FORMNS, 'selected'),
5110 (FORMNS, 'image-align'),
5111 (FORMNS, 'name'),
5112 (FORMNS, 'tab-index'),
5113 (FORMNS, 'control-implementation'),
5114 (XFORMSNS, 'bind'),
5115 (FORMNS, 'data-field'),
5116 (FORMNS, 'current-selected'),
5117 (FORMNS, 'value'),
5118 (FORMNS, 'label'),
5119 (FORMNS, 'disabled'),
5120 (FORMNS, 'printable'),
5121 (FORMNS, 'title'),
5122 (FORMNS, 'visual-effect'),
5123 (FORMNS, 'id'),
5124 (FORMNS, 'image-position'),
5125 ),
5126 (FORMNS, 'text'): (
5127 (FORMNS, 'convert-empty-to-null'),
5128 (FORMNS, 'max-length'),
5129 (FORMNS, 'tab-stop'),
5130 (FORMNS, 'name'),
5131 (FORMNS, 'tab-index'),
5132 (FORMNS, 'control-implementation'),
5133 (XFORMSNS, 'bind'),
5134 (FORMNS, 'data-field'),
5135 (FORMNS, 'title'),
5136 (FORMNS, 'value'),
5137 (FORMNS, 'disabled'),
5138 (FORMNS, 'printable'),
5139 (FORMNS, 'readonly'),
5140 (FORMNS, 'id'),
5141 (FORMNS, 'current-value'),
5142 ),
5143 (FORMNS, 'textarea'): (
5144 (FORMNS, 'convert-empty-to-null'),
5145 (FORMNS, 'max-length'),
5146 (FORMNS, 'tab-stop'),
5147 (FORMNS, 'name'),
5148 (FORMNS, 'tab-index'),
5149 (FORMNS, 'control-implementation'),
5150 (XFORMSNS, 'bind'),
5151 (FORMNS, 'data-field'),
5152 (FORMNS, 'title'),
5153 (FORMNS, 'value'),
5154 (FORMNS, 'disabled'),
5155 (FORMNS, 'printable'),
5156 (FORMNS, 'readonly'),
5157 (FORMNS, 'id'),
5158 (FORMNS, 'current-value'),
5159 ),
5160 (FORMNS, 'time'): (
5161 (FORMNS, 'convert-empty-to-null'),
5162 (FORMNS, 'max-length'),
5163 (FORMNS, 'tab-stop'),
5164 (FORMNS, 'name'),
5165 (FORMNS, 'tab-index'),
5166 (FORMNS, 'control-implementation'),
5167 (FORMNS, 'min-value'),
5168 (FORMNS, 'data-field'),
5169 (FORMNS, 'max-value'),
5170 (FORMNS, 'value'),
5171 (FORMNS, 'disabled'),
5172 (FORMNS, 'printable'),
5173 (FORMNS, 'readonly'),
5174 (XFORMSNS, 'bind'),
5175 (FORMNS, 'title'),
5176 (FORMNS, 'id'),
5177 (FORMNS, 'current-value'),
5178 ),
5179 (FORMNS, 'value-range'): (
5180 (FORMNS, 'tab-stop'),
5181 (FORMNS, 'max-value'),
5182 (FORMNS, 'name'),
5183 (FORMNS, 'tab-index'),
5184 (FORMNS, 'control-implementation'),
5185 (XFORMSNS, 'bind'),
5186 (FORMNS, 'title'),
5187 (FORMNS, 'value'),
5188 (FORMNS, 'disabled'),
5189 (FORMNS, 'printable'),
5190 (FORMNS, 'orientation'),
5191 (FORMNS, 'page-step-size'),
5192 (FORMNS, 'delay-for-repeat'),
5193 (FORMNS, 'min-value'),
5194 (FORMNS, 'id'),
5195 (FORMNS, 'step-size'),
5196 ),
5197 (MANIFESTNS, 'algorithm'): (
5198 (MANIFESTNS, 'algorithm-name'),
5199 (MANIFESTNS, 'initialisation-vector'),
5200 ),
5201 (MANIFESTNS, 'encryption-data'): (
5202 (MANIFESTNS, 'checksum-type'),
5203 (MANIFESTNS, 'checksum'),
5204 ),
5205 (MANIFESTNS, 'file-entry'): (
5206 (MANIFESTNS, 'full-path'),
5207 (MANIFESTNS, 'media-type'),
5208 (MANIFESTNS, 'size'),
5209 ),
5210 (MANIFESTNS, 'key-derivation'): (
5211 (MANIFESTNS, 'key-derivation-name'),
5212 (MANIFESTNS, 'salt'),
5213 (MANIFESTNS, 'iteration-count'),
5214 ),
5215 (MANIFESTNS, 'manifest'): (),
5216 # allowed_attributes
5217 (METANS, 'auto-reload'): (
5218 (METANS, 'delay'),
5219 (XLINKNS, 'actuate'),
5220 (XLINKNS, 'href'),
5221 (XLINKNS, 'type'),
5222 (XLINKNS, 'show'),
5223 ),
5224 (METANS, 'creation-date'): (),
5225 (METANS, 'date-string'): (),
5226 (METANS, 'document-statistic'): (
5227 (METANS, 'non-whitespace-character-count'),
5228 (METANS, 'ole-object-count'),
5229 (METANS, 'table-count'),
5230 (METANS, 'row-count'),
5231 (METANS, 'character-count'),
5232 (METANS, 'sentence-count'),
5233 (METANS, 'draw-count'),
5234 (METANS, 'paragraph-count'),
5235 (METANS, 'word-count'),
5236 (METANS, 'object-count'),
5237 (METANS, 'syllable-count'),
5238 (METANS, 'image-count'),
5239 (METANS, 'page-count'),
5240 (METANS, 'frame-count'),
5241 (METANS, 'cell-count'),
5242 ),
5243 (METANS, 'editing-cycles'): (),
5244 (METANS, 'editing-duration'): (),
5245 (METANS, 'generator'): (),
5246 # allowed_attributes
5247 (METANS, 'hyperlink-behaviour'): (
5248 (OFFICENS, 'target-frame-name'),
5249 (XLINKNS, 'show'),
5250 ),
5251 (METANS, 'initial-creator'): (),
5252 (METANS, 'keyword'): (),
5253 (METANS, 'print-date'): (),
5254 (METANS, 'printed-by'): (),
5255 (METANS, 'template'): (
5256 (METANS, 'date'),
5257 (XLINKNS, 'actuate'),
5258 (XLINKNS, 'href'),
5259 (XLINKNS, 'type'),
5260 (XLINKNS, 'title'),
5261 ),
5262 (METANS, 'user-defined'): (
5263 (METANS, 'name'),
5264 (METANS, 'value-type'),
5265 ),
5266 (OFFICENS, 'annotation'): (
5267 (DRAWNS, 'layer'),
5268 (SVGNS, 'height'),
5269 (TEXTNS, 'anchor-page-number'),
5270 (TABLENS, 'table-background'),
5271 (TABLENS, 'end-cell-address'),
5272 (DRAWNS, 'transform'),
5273 (DRAWNS, 'id'),
5274 (SVGNS, 'width'),
5275 (DRAWNS, 'class-names'),
5276 (DRAWNS, 'style-name'),
5277 (PRESENTATIONNS, 'class-names'),
5278 (TABLENS, 'end-x'),
5279 (DRAWNS, 'text-style-name'),
5280 (DRAWNS, 'z-index'),
5281 (PRESENTATIONNS, 'style-name'),
5282 (TEXTNS, 'anchor-type'),
5283 (DRAWNS, 'name'),
5284 (DRAWNS, 'caption-point-y'),
5285 (DRAWNS, 'caption-point-x'),
5286 (DRAWNS, 'corner-radius'),
5287 (SVGNS, 'y'),
5288 (SVGNS, 'x'),
5289 (TABLENS, 'end-y'),
5290 (OFFICENS, 'display'),
5291 ),
5292 (OFFICENS, 'automatic-styles'): (),
5293 (OFFICENS, 'binary-data'): (),
5294 (OFFICENS, 'body'): (),
5295 (OFFICENS, 'change-info'): (),
5296 (OFFICENS, 'chart'): (),
5297 (OFFICENS, 'dde-source'): (
5298 (OFFICENS, 'dde-application'),
5299 (OFFICENS, 'automatic-update'),
5300 (OFFICENS, 'conversion-mode'),
5301 (OFFICENS, 'dde-item'),
5302 (OFFICENS, 'dde-topic'),
5303 (OFFICENS, 'name'),
5304 ),
5305 (OFFICENS, 'document'): (
5306 (OFFICENS, 'mimetype'),
5307 (OFFICENS, 'version'),
5308 ),
5309 (OFFICENS, 'document-content'): ((OFFICENS, 'version'),),
5310 (OFFICENS, 'document-meta'): ((OFFICENS, 'version'),),
5311 (OFFICENS, 'document-settings'): ((OFFICENS, 'version'),),
5312 (OFFICENS, 'document-styles'): ((OFFICENS, 'version'),),
5313 (OFFICENS, 'drawing'): (),
5314 (OFFICENS, 'event-listeners'): (),
5315 (OFFICENS, 'font-face-decls'): (),
5316 (OFFICENS, 'forms'): (
5317 (FORMNS, 'automatic-focus'),
5318 (FORMNS, 'apply-design-mode'),
5319 ),
5320 (OFFICENS, 'image'): (),
5321 # allowed_attributes
5322 (OFFICENS, 'master-styles'): (),
5323 (OFFICENS, 'meta'): (),
5324 (OFFICENS, 'presentation'): (),
5325 (OFFICENS, 'script'): ((SCRIPTNS, 'language'),),
5326 (OFFICENS, 'scripts'): (),
5327 (OFFICENS, 'settings'): (),
5328 (OFFICENS, 'spreadsheet'): (
5329 (TABLENS, 'structure-protected'),
5330 (TABLENS, 'protection-key'),
5331 ),
5332 (OFFICENS, 'styles'): (),
5333 (OFFICENS, 'text'): (
5334 (TEXTNS, 'global'),
5335 (TEXTNS, 'use-soft-page-breaks'),
5336 ),
5337 (PRESENTATIONNS, 'animation-group'): (),
5338 (PRESENTATIONNS, 'animations'): (),
5339 (PRESENTATIONNS, 'date-time'): (),
5340 (PRESENTATIONNS, 'date-time-decl'): (
5341 (PRESENTATIONNS, 'source'),
5342 (STYLENS, 'data-style-name'),
5343 (PRESENTATIONNS, 'name'),
5344 ),
5345 (PRESENTATIONNS, 'dim'): (
5346 (DRAWNS, 'color'),
5347 (DRAWNS, 'shape-id'),
5348 ),
5349 (PRESENTATIONNS, 'event-listener'): (
5350 (PRESENTATIONNS, 'direction'),
5351 (XLINKNS, 'show'),
5352 (XLINKNS, 'type'),
5353 (XLINKNS, 'actuate'),
5354 (PRESENTATIONNS, 'effect'),
5355 (SCRIPTNS, 'event-name'),
5356 (PRESENTATIONNS, 'start-scale'),
5357 (XLINKNS, 'href'),
5358 (PRESENTATIONNS, 'verb'),
5359 (PRESENTATIONNS, 'action'),
5360 (PRESENTATIONNS, 'speed'),
5361 ),
5362 (PRESENTATIONNS, 'footer'): (),
5363 (PRESENTATIONNS, 'footer-decl'): ((PRESENTATIONNS, 'name'),),
5364 (PRESENTATIONNS, 'header'): (),
5365 (PRESENTATIONNS, 'header-decl'): ((PRESENTATIONNS, 'name'),),
5366 (PRESENTATIONNS, 'hide-shape'): (
5367 (PRESENTATIONNS, 'direction'),
5368 (PRESENTATIONNS, 'effect'),
5369 (PRESENTATIONNS, 'delay'),
5370 (PRESENTATIONNS, 'start-scale'),
5371 (PRESENTATIONNS, 'path-id'),
5372 (PRESENTATIONNS, 'speed'),
5373 (DRAWNS, 'shape-id'),
5374 ),
5375 # allowed_attributes
5376 (PRESENTATIONNS, 'hide-text'): (
5377 (PRESENTATIONNS, 'direction'),
5378 (PRESENTATIONNS, 'effect'),
5379 (PRESENTATIONNS, 'delay'),
5380 (PRESENTATIONNS, 'start-scale'),
5381 (PRESENTATIONNS, 'path-id'),
5382 (PRESENTATIONNS, 'speed'),
5383 (DRAWNS, 'shape-id'),
5384 ),
5385 (PRESENTATIONNS, 'notes'): (
5386 (STYLENS, 'page-layout-name'),
5387 (DRAWNS, 'style-name'),
5388 (PRESENTATIONNS, 'use-header-name'),
5389 (PRESENTATIONNS, 'use-date-time-name'),
5390 (PRESENTATIONNS, 'use-footer-name'),
5391 ),
5392 (PRESENTATIONNS, 'placeholder'): (
5393 (SVGNS, 'y'),
5394 (SVGNS, 'x'),
5395 (SVGNS, 'height'),
5396 (PRESENTATIONNS, 'object'),
5397 (SVGNS, 'width'),
5398 ),
5399 (PRESENTATIONNS, 'play'): (
5400 (PRESENTATIONNS, 'speed'),
5401 (DRAWNS, 'shape-id'),
5402 ),
5403 # allowed_attributes
5404 (PRESENTATIONNS, 'settings'): (
5405 (PRESENTATIONNS, 'animations'),
5406 (PRESENTATIONNS, 'endless'),
5407 (PRESENTATIONNS, 'force-manual'),
5408 (PRESENTATIONNS, 'full-screen'),
5409 (PRESENTATIONNS, 'mouse-as-pen'),
5410 (PRESENTATIONNS, 'mouse-visible'),
5411 (PRESENTATIONNS, 'pause'),
5412 (PRESENTATIONNS, 'show'),
5413 (PRESENTATIONNS, 'show-end-of-presentation-slide'),
5414 (PRESENTATIONNS, 'show-logo'),
5415 (PRESENTATIONNS, 'start-page'),
5416 (PRESENTATIONNS, 'start-with-navigator'),
5417 (PRESENTATIONNS, 'stay-on-top'),
5418 (PRESENTATIONNS, 'transition-on-click'),
5419 ),
5420 (PRESENTATIONNS, 'show'): (
5421 (PRESENTATIONNS, 'name'),
5422 (PRESENTATIONNS, 'pages'),
5423 ),
5424 (PRESENTATIONNS, 'show-shape'): (
5425 (PRESENTATIONNS, 'direction'),
5426 (PRESENTATIONNS, 'effect'),
5427 (PRESENTATIONNS, 'delay'),
5428 (PRESENTATIONNS, 'start-scale'),
5429 (PRESENTATIONNS, 'path-id'),
5430 (PRESENTATIONNS, 'speed'),
5431 (DRAWNS, 'shape-id'),
5432 ),
5433 (PRESENTATIONNS, 'show-text'): (
5434 (PRESENTATIONNS, 'direction'),
5435 (PRESENTATIONNS, 'effect'),
5436 (PRESENTATIONNS, 'delay'),
5437 (PRESENTATIONNS, 'start-scale'),
5438 (PRESENTATIONNS, 'path-id'),
5439 (PRESENTATIONNS, 'speed'),
5440 (DRAWNS, 'shape-id'),
5441 ),
5442 (PRESENTATIONNS, 'sound'): (
5443 (XLINKNS, 'actuate'),
5444 (XLINKNS, 'href'),
5445 (XLINKNS, 'type'),
5446 (PRESENTATIONNS, 'play-full'),
5447 (XLINKNS, 'show'),
5448 ),
5449 # allowed_attributes
5450 (SCRIPTNS, 'event-listener'): (
5451 (SCRIPTNS, 'language'),
5452 (SCRIPTNS, 'macro-name'),
5453 (XLINKNS, 'actuate'),
5454 (SCRIPTNS, 'event-name'),
5455 (XLINKNS, 'href'),
5456 (XLINKNS, 'type'),
5457 ),
5458 (STYLENS, 'background-image'): (
5459 (DRAWNS, 'opacity'),
5460 (STYLENS, 'repeat'),
5461 (XLINKNS, 'show'),
5462 (XLINKNS, 'actuate'),
5463 (STYLENS, 'filter-name'),
5464 (XLINKNS, 'href'),
5465 (STYLENS, 'position'),
5466 (XLINKNS, 'type'),
5467 ),
5468 (STYLENS, 'chart-properties'): (
5469 (CHARTNS, 'connect-bars'),
5470 (CHARTNS, 'data-label-number'),
5471 (CHARTNS, 'data-label-symbol'),
5472 (CHARTNS, 'data-label-text'),
5473 (CHARTNS, 'deep'),
5474 (CHARTNS, 'display-label'),
5475 (CHARTNS, 'error-category'),
5476 (CHARTNS, 'error-lower-indicator'),
5477 (CHARTNS, 'error-lower-limit'),
5478 (CHARTNS, 'error-margin'),
5479 (CHARTNS, 'error-percentage'),
5480 (CHARTNS, 'error-upper-indicator'),
5481 (CHARTNS, 'error-upper-limit'),
5482 (CHARTNS, 'gap-width'),
5483 (CHARTNS, 'interpolation'),
5484 (CHARTNS, 'interval-major'),
5485 (CHARTNS, 'interval-minor-divisor'),
5486 (CHARTNS, 'japanese-candle-stick'),
5487 (CHARTNS, 'label-arrangement'),
5488 (CHARTNS, 'lines'),
5489 (CHARTNS, 'link-data-style-to-source'),
5490 (CHARTNS, 'logarithmic'),
5491 (CHARTNS, 'maximum'),
5492 (CHARTNS, 'mean-value'),
5493 (CHARTNS, 'minimum'),
5494 (CHARTNS, 'origin'),
5495 (CHARTNS, 'overlap'),
5496 (CHARTNS, 'percentage'),
5497 (CHARTNS, 'pie-offset'),
5498 (CHARTNS, 'regression-type'),
5499 (CHARTNS, 'scale-text'),
5500 (CHARTNS, 'series-source'),
5501 (CHARTNS, 'solid-type'),
5502 (CHARTNS, 'spline-order'),
5503 (CHARTNS, 'spline-resolution'),
5504 (CHARTNS, 'stacked'),
5505 (CHARTNS, 'symbol-height'),
5506 (CHARTNS, 'symbol-name'),
5507 (CHARTNS, 'symbol-type'),
5508 (CHARTNS, 'symbol-width'),
5509 (CHARTNS, 'text-overlap'),
5510 (CHARTNS, 'three-dimensional'),
5511 (CHARTNS, 'tick-marks-major-inner'),
5512 (CHARTNS, 'tick-marks-major-outer'),
5513 (CHARTNS, 'tick-marks-minor-inner'),
5514 (CHARTNS, 'tick-marks-minor-outer'),
5515 (CHARTNS, 'vertical'),
5516 (CHARTNS, 'visible'),
5517 (STYLENS, 'direction'),
5518 (STYLENS, 'rotation-angle'),
5519 (TEXTNS, 'line-break'),
5520 ),
5521 (STYLENS, 'column'): (
5522 (FONS, 'end-indent'),
5523 (FONS, 'space-before'),
5524 (FONS, 'start-indent'),
5525 (FONS, 'space-after'),
5526 (STYLENS, 'rel-width'),
5527 ),
5528 (STYLENS, 'column-sep'): (
5529 (STYLENS, 'color'),
5530 (STYLENS, 'width'),
5531 (STYLENS, 'style'),
5532 (STYLENS, 'vertical-align'),
5533 (STYLENS, 'height'),
5534 ),
5535 (STYLENS, 'columns'): (
5536 (FONS, 'column-count'),
5537 (FONS, 'column-gap'),
5538 ),
5539 (STYLENS, 'default-style'): ((STYLENS, 'family'),),
5540 # allowed_attributes
5541 (STYLENS, 'drawing-page-properties'): (
5542 (DRAWNS, 'fill'),
5543 (DRAWNS, 'fill-color'),
5544 (DRAWNS, 'secondary-fill-color'),
5545 (DRAWNS, 'fill-gradient-name'),
5546 (DRAWNS, 'gradient-step-count'),
5547 (DRAWNS, 'fill-hatch-name'),
5548 (DRAWNS, 'fill-hatch-solid'),
5549 (DRAWNS, 'fill-image-name'),
5550 (STYLENS, 'repeat'),
5551 (DRAWNS, 'fill-image-width'),
5552 (DRAWNS, 'fill-image-height'),
5553 (DRAWNS, 'fill-image-ref-point-x'),
5554 (DRAWNS, 'fill-image-ref-point-y'),
5555 (DRAWNS, 'fill-image-ref-point'),
5556 (DRAWNS, 'tile-repeat-offset'),
5557 (DRAWNS, 'opacity'),
5558 (DRAWNS, 'opacity-name'),
5559 (SVGNS, 'fill-rule'),
5560 (PRESENTATIONNS, 'transition-type'),
5561 (PRESENTATIONNS, 'transition-style'),
5562 (PRESENTATIONNS, 'transition-speed'),
5563 (SMILNS, 'type'),
5564 (SMILNS, 'subtype'),
5565 (SMILNS, 'direction'),
5566 (SMILNS, 'fadeColor'),
5567 (PRESENTATIONNS, 'duration'),
5568 (PRESENTATIONNS, 'visibility'),
5569 (DRAWNS, 'background-size'),
5570 (PRESENTATIONNS, 'background-objects-visible'),
5571 (PRESENTATIONNS, 'background-visible'),
5572 (PRESENTATIONNS, 'display-header'),
5573 (PRESENTATIONNS, 'display-footer'),
5574 (PRESENTATIONNS, 'display-page-number'),
5575 (PRESENTATIONNS, 'display-date-time'),
5576 ),
5577 (STYLENS, 'drop-cap'): (
5578 (STYLENS, 'distance'),
5579 (STYLENS, 'length'),
5580 (STYLENS, 'style-name'),
5581 (STYLENS, 'lines'),
5582 ),
5583 # allowed_attributes
5584 (STYLENS, 'font-face'): (
5585 (STYLENS, 'font-adornments'),
5586 (STYLENS, 'font-charset'),
5587 (STYLENS, 'font-family-generic'),
5588 (STYLENS, 'font-pitch'),
5589 (STYLENS, 'name'),
5590 (SVGNS, 'accent-height'),
5591 (SVGNS, 'alphabetic'),
5592 (SVGNS, 'ascent'),
5593 (SVGNS, 'bbox'),
5594 (SVGNS, 'cap-height'),
5595 (SVGNS, 'descent'),
5596 (SVGNS, 'font-family'),
5597 (SVGNS, 'font-size'),
5598 (SVGNS, 'font-stretch'),
5599 (SVGNS, 'font-style'),
5600 (SVGNS, 'font-variant'),
5601 (SVGNS, 'font-weight'),
5602 (SVGNS, 'hanging'),
5603 (SVGNS, 'ideographic'),
5604 (SVGNS, 'mathematical'),
5605 (SVGNS, 'overline-position'),
5606 (SVGNS, 'overline-thickness'),
5607 (SVGNS, 'panose-1'),
5608 (SVGNS, 'slope'),
5609 (SVGNS, 'stemh'),
5610 (SVGNS, 'stemv'),
5611 (SVGNS, 'strikethrough-position'),
5612 (SVGNS, 'strikethrough-thickness'),
5613 (SVGNS, 'underline-position'),
5614 (SVGNS, 'underline-thickness'),
5615 (SVGNS, 'unicode-range'),
5616 (SVGNS, 'units-per-em'),
5617 (SVGNS, 'v-alphabetic'),
5618 (SVGNS, 'v-hanging'),
5619 (SVGNS, 'v-ideographic'),
5620 (SVGNS, 'v-mathematical'),
5621 (SVGNS, 'widths'),
5622 (SVGNS, 'x-height'),
5623 ),
5624 (STYLENS, 'footer'): ((STYLENS, 'display'),),
5625 (STYLENS, 'footer-left'): ((STYLENS, 'display'),),
5626 (STYLENS, 'footer-style'): (),
5627 (STYLENS, 'footnote-sep'): (
5628 (STYLENS, 'distance-after-sep'),
5629 (STYLENS, 'color'),
5630 (STYLENS, 'rel-width'),
5631 (STYLENS, 'width'),
5632 (STYLENS, 'distance-before-sep'),
5633 (STYLENS, 'line-style'),
5634 (STYLENS, 'adjustment'),
5635 ),
5636 # allowed_attributes
5637 (STYLENS, 'graphic-properties'): (
5638 (DR3DNS, 'ambient-color'),
5639 (DR3DNS, 'back-scale'),
5640 (DR3DNS, 'backface-culling'),
5641 (DR3DNS, 'close-back'),
5642 (DR3DNS, 'close-front'),
5643 (DR3DNS, 'depth'),
5644 (DR3DNS, 'diffuse-color'),
5645 (DR3DNS, 'edge-rounding'),
5646 (DR3DNS, 'edge-rounding-mode'),
5647 (DR3DNS, 'emissive-color'),
5648 (DR3DNS, 'end-angle'),
5649 (DR3DNS, 'horizontal-segments'),
5650 (DR3DNS, 'lighting-mode'),
5651 (DR3DNS, 'normals-direction'),
5652 (DR3DNS, 'normals-kind'),
5653 (DR3DNS, 'shadow'),
5654 (DR3DNS, 'shininess'),
5655 (DR3DNS, 'specular-color'),
5656 (DR3DNS, 'texture-filter'),
5657 (DR3DNS, 'texture-generation-mode-x'),
5658 (DR3DNS, 'texture-generation-mode-y'),
5659 (DR3DNS, 'texture-kind'),
5660 (DR3DNS, 'texture-mode'),
5661 (DR3DNS, 'vertical-segments'),
5662 (DRAWNS, 'auto-grow-height'),
5663 (DRAWNS, 'auto-grow-width'),
5664 (DRAWNS, 'blue'),
5665 (DRAWNS, 'caption-angle'),
5666 (DRAWNS, 'caption-angle-type'),
5667 (DRAWNS, 'caption-escape'),
5668 (DRAWNS, 'caption-escape-direction'),
5669 (DRAWNS, 'caption-fit-line-length'),
5670 (DRAWNS, 'caption-gap'),
5671 (DRAWNS, 'caption-line-length'),
5672 (DRAWNS, 'caption-type'),
5673 (DRAWNS, 'color-inversion'),
5674 (DRAWNS, 'color-mode'),
5675 (DRAWNS, 'contrast'),
5676 (DRAWNS, 'decimal-places'),
5677 (DRAWNS, 'end-guide'),
5678 (DRAWNS, 'end-line-spacing-horizontal'),
5679 (DRAWNS, 'end-line-spacing-vertical'),
5680 (DRAWNS, 'fill'),
5681 (DRAWNS, 'fill-color'),
5682 (DRAWNS, 'fill-gradient-name'),
5683 (DRAWNS, 'fill-hatch-name'),
5684 (DRAWNS, 'fill-hatch-solid'),
5685 (DRAWNS, 'fill-image-height'),
5686 (DRAWNS, 'fill-image-name'),
5687 (DRAWNS, 'fill-image-ref-point'),
5688 (DRAWNS, 'fill-image-ref-point-x'),
5689 (DRAWNS, 'fill-image-ref-point-y'),
5690 (DRAWNS, 'fill-image-width'),
5691 # allowed_attributes
5692 (DRAWNS, 'fit-to-contour'),
5693 (DRAWNS, 'fit-to-size'),
5694 (DRAWNS, 'frame-display-border'),
5695 (DRAWNS, 'frame-display-scrollbar'),
5696 (DRAWNS, 'frame-margin-horizontal'),
5697 (DRAWNS, 'frame-margin-vertical'),
5698 (DRAWNS, 'gamma'),
5699 (DRAWNS, 'gradient-step-count'),
5700 (DRAWNS, 'green'),
5701 (DRAWNS, 'guide-distance'),
5702 (DRAWNS, 'guide-overhang'),
5703 (DRAWNS, 'image-opacity'),
5704 (DRAWNS, 'line-distance'),
5705 (DRAWNS, 'luminance'),
5706 (DRAWNS, 'marker-end'),
5707 (DRAWNS, 'marker-end-center'),
5708 (DRAWNS, 'marker-end-width'),
5709 (DRAWNS, 'marker-start'),
5710 (DRAWNS, 'marker-start-center'),
5711 (DRAWNS, 'marker-start-width'),
5712 (DRAWNS, 'measure-align'),
5713 (DRAWNS, 'measure-vertical-align'),
5714 (DRAWNS, 'ole-draw-aspect'),
5715 (DRAWNS, 'opacity'),
5716 (DRAWNS, 'opacity-name'),
5717 (DRAWNS, 'parallel'),
5718 (DRAWNS, 'placing'),
5719 (DRAWNS, 'red'),
5720 (DRAWNS, 'secondary-fill-color'),
5721 (DRAWNS, 'shadow'),
5722 (DRAWNS, 'shadow-color'),
5723 (DRAWNS, 'shadow-offset-x'),
5724 (DRAWNS, 'shadow-offset-y'),
5725 (DRAWNS, 'shadow-opacity'),
5726 (DRAWNS, 'show-unit'),
5727 (DRAWNS, 'start-guide'),
5728 (DRAWNS, 'start-line-spacing-horizontal'),
5729 (DRAWNS, 'start-line-spacing-vertical'),
5730 (DRAWNS, 'stroke'),
5731 (DRAWNS, 'stroke-dash'),
5732 (DRAWNS, 'stroke-dash-names'),
5733 (DRAWNS, 'stroke-linejoin'),
5734 (DRAWNS, 'symbol-color'),
5735 (DRAWNS, 'textarea-horizontal-align'),
5736 (DRAWNS, 'textarea-vertical-align'),
5737 (DRAWNS, 'tile-repeat-offset'),
5738 (DRAWNS, 'unit'),
5739 (DRAWNS, 'visible-area-height'),
5740 (DRAWNS, 'visible-area-left'),
5741 (DRAWNS, 'visible-area-top'),
5742 (DRAWNS, 'visible-area-width'),
5743 (DRAWNS, 'wrap-influence-on-position'),
5744 # allowed_attributes
5745 (FONS, 'background-color'),
5746 (FONS, 'border'),
5747 (FONS, 'border-bottom'),
5748 (FONS, 'border-left'),
5749 (FONS, 'border-right'),
5750 (FONS, 'border-top'),
5751 (FONS, 'clip'),
5752 (FONS, 'margin'),
5753 (FONS, 'margin-bottom'),
5754 (FONS, 'margin-left'),
5755 (FONS, 'margin-right'),
5756 (FONS, 'margin-top'),
5757 (FONS, 'max-height'),
5758 (FONS, 'max-width'),
5759 (FONS, 'min-height'),
5760 (FONS, 'min-width'),
5761 (FONS, 'padding'),
5762 (FONS, 'padding-bottom'),
5763 (FONS, 'padding-left'),
5764 (FONS, 'padding-right'),
5765 (FONS, 'padding-top'),
5766 (FONS, 'wrap-option'),
5767 (STYLENS, 'border-line-width'),
5768 (STYLENS, 'border-line-width-bottom'),
5769 (STYLENS, 'border-line-width-left'),
5770 (STYLENS, 'border-line-width-right'),
5771 (STYLENS, 'border-line-width-top'),
5772 (STYLENS, 'editable'),
5773 (STYLENS, 'flow-with-text'),
5774 (STYLENS, 'horizontal-pos'),
5775 (STYLENS, 'horizontal-rel'),
5776 (STYLENS, 'mirror'),
5777 (STYLENS, 'number-wrapped-paragraphs'),
5778 (STYLENS, 'overflow-behavior'),
5779 (STYLENS, 'print-content'),
5780 (STYLENS, 'protect'),
5781 (STYLENS, 'rel-height'),
5782 (STYLENS, 'rel-width'),
5783 (STYLENS, 'repeat'),
5784 (STYLENS, 'run-through'),
5785 (STYLENS, 'shadow'),
5786 (STYLENS, 'vertical-pos'),
5787 (STYLENS, 'vertical-rel'),
5788 (STYLENS, 'wrap'),
5789 (STYLENS, 'wrap-contour'),
5790 (STYLENS, 'wrap-contour-mode'),
5791 (STYLENS, 'wrap-dynamic-threshold'),
5792 (STYLENS, 'writing-mode'),
5793 (SVGNS, 'fill-rule'),
5794 (SVGNS, 'height'),
5795 (SVGNS, 'stroke-color'),
5796 (SVGNS, 'stroke-opacity'),
5797 (SVGNS, 'stroke-width'),
5798 (SVGNS, 'width'),
5799 (SVGNS, 'x'),
5800 (SVGNS, 'y'),
5801 (TEXTNS, 'anchor-page-number'),
5802 (TEXTNS, 'anchor-type'),
5803 (TEXTNS, 'animation'),
5804 (TEXTNS, 'animation-delay'),
5805 (TEXTNS, 'animation-direction'),
5806 (TEXTNS, 'animation-repeat'),
5807 (TEXTNS, 'animation-start-inside'),
5808 (TEXTNS, 'animation-steps'),
5809 (TEXTNS, 'animation-stop-inside'),
5810 ),
5811 (STYLENS, 'handout-master'): (
5812 (PRESENTATIONNS, 'presentation-page-layout-name'),
5813 (STYLENS, 'page-layout-name'),
5814 (PRESENTATIONNS, 'use-footer-name'),
5815 (DRAWNS, 'style-name'),
5816 (PRESENTATIONNS, 'use-header-name'),
5817 (PRESENTATIONNS, 'use-date-time-name'),
5818 ),
5819 # allowed_attributes
5820 (STYLENS, 'header'): ((STYLENS, 'display'),),
5821 (STYLENS, 'header-footer-properties'): (
5822 (FONS, 'background-color'),
5823 (FONS, 'border'),
5824 (FONS, 'border-bottom'),
5825 (FONS, 'border-left'),
5826 (FONS, 'border-right'),
5827 (FONS, 'border-top'),
5828 (FONS, 'margin'),
5829 (FONS, 'margin-bottom'),
5830 (FONS, 'margin-left'),
5831 (FONS, 'margin-right'),
5832 (FONS, 'margin-top'),
5833 (FONS, 'min-height'),
5834 (FONS, 'padding'),
5835 (FONS, 'padding-bottom'),
5836 (FONS, 'padding-left'),
5837 (FONS, 'padding-right'),
5838 (FONS, 'padding-top'),
5839 (STYLENS, 'border-line-width'),
5840 (STYLENS, 'border-line-width-bottom'),
5841 (STYLENS, 'border-line-width-left'),
5842 (STYLENS, 'border-line-width-right'),
5843 (STYLENS, 'border-line-width-top'),
5844 (STYLENS, 'dynamic-spacing'),
5845 (STYLENS, 'shadow'),
5846 (SVGNS, 'height'),
5847 ),
5848 (STYLENS, 'header-left'): ((STYLENS, 'display'),),
5849 (STYLENS, 'header-style'): (),
5850 # allowed_attributes
5851 (STYLENS, 'list-level-properties'): (
5852 (FONS, 'height'),
5853 (FONS, 'text-align'),
5854 (FONS, 'width'),
5855 (STYLENS, 'font-name'),
5856 (STYLENS, 'vertical-pos'),
5857 (STYLENS, 'vertical-rel'),
5858 (SVGNS, 'y'),
5859 (TEXTNS, 'min-label-distance'),
5860 (TEXTNS, 'min-label-width'),
5861 (TEXTNS, 'space-before'),
5862 ),
5863 (STYLENS, 'map'): (
5864 (STYLENS, 'apply-style-name'),
5865 (STYLENS, 'base-cell-address'),
5866 (STYLENS, 'condition'),
5867 ),
5868 (STYLENS, 'master-page'): (
5869 (STYLENS, 'page-layout-name'),
5870 (STYLENS, 'display-name'),
5871 (DRAWNS, 'style-name'),
5872 (STYLENS, 'name'),
5873 (STYLENS, 'next-style-name'),
5874 ),
5875 (STYLENS, 'page-layout'): (
5876 (STYLENS, 'name'),
5877 (STYLENS, 'page-usage'),
5878 ),
5879 # allowed_attributes
5880 (STYLENS, 'page-layout-properties'): (
5881 (FONS, 'background-color'),
5882 (FONS, 'border'),
5883 (FONS, 'border-bottom'),
5884 (FONS, 'border-left'),
5885 (FONS, 'border-right'),
5886 (FONS, 'border-top'),
5887 (FONS, 'margin'),
5888 (FONS, 'margin-bottom'),
5889 (FONS, 'margin-left'),
5890 (FONS, 'margin-right'),
5891 (FONS, 'margin-top'),
5892 (FONS, 'padding'),
5893 (FONS, 'padding-bottom'),
5894 (FONS, 'padding-left'),
5895 (FONS, 'padding-right'),
5896 (FONS, 'padding-top'),
5897 (FONS, 'page-height'),
5898 (FONS, 'page-width'),
5899 (STYLENS, 'border-line-width'),
5900 (STYLENS, 'border-line-width-bottom'),
5901 (STYLENS, 'border-line-width-left'),
5902 (STYLENS, 'border-line-width-right'),
5903 (STYLENS, 'border-line-width-top'),
5904 (STYLENS, 'first-page-number'),
5905 (STYLENS, 'footnote-max-height'),
5906 (STYLENS, 'layout-grid-base-height'),
5907 (STYLENS, 'layout-grid-color'),
5908 (STYLENS, 'layout-grid-display'),
5909 (STYLENS, 'layout-grid-lines'),
5910 (STYLENS, 'layout-grid-mode'),
5911 (STYLENS, 'layout-grid-print'),
5912 (STYLENS, 'layout-grid-ruby-below'),
5913 (STYLENS, 'layout-grid-ruby-height'),
5914 (STYLENS, 'num-format'),
5915 (STYLENS, 'num-letter-sync'),
5916 (STYLENS, 'num-prefix'),
5917 (STYLENS, 'num-suffix'),
5918 (STYLENS, 'paper-tray-name'),
5919 (STYLENS, 'print'),
5920 (STYLENS, 'print-orientation'),
5921 (STYLENS, 'print-page-order'),
5922 (STYLENS, 'register-truth-ref-style-name'),
5923 (STYLENS, 'scale-to'),
5924 (STYLENS, 'scale-to-pages'),
5925 (STYLENS, 'shadow'),
5926 (STYLENS, 'table-centering'),
5927 (STYLENS, 'writing-mode'),
5928 ),
5929 # allowed_attributes
5930 (STYLENS, 'paragraph-properties'): (
5931 (FONS, 'background-color'),
5932 (FONS, 'border'),
5933 (FONS, 'border-bottom'),
5934 (FONS, 'border-left'),
5935 (FONS, 'border-right'),
5936 (FONS, 'border-top'),
5937 (FONS, 'break-after'),
5938 (FONS, 'break-before'),
5939 (FONS, 'hyphenation-keep'),
5940 (FONS, 'hyphenation-ladder-count'),
5941 (FONS, 'keep-together'),
5942 (FONS, 'keep-with-next'),
5943 (FONS, 'line-height'),
5944 (FONS, 'margin'),
5945 (FONS, 'margin-bottom'),
5946 (FONS, 'margin-left'),
5947 (FONS, 'margin-right'),
5948 (FONS, 'margin-top'),
5949 (FONS, 'orphans'),
5950 (FONS, 'padding'),
5951 (FONS, 'padding-bottom'),
5952 (FONS, 'padding-left'),
5953 (FONS, 'padding-right'),
5954 (FONS, 'padding-top'),
5955 (FONS, 'text-align'),
5956 (FONS, 'text-align-last'),
5957 (FONS, 'text-indent'),
5958 (FONS, 'widows'),
5959 (STYLENS, 'auto-text-indent'),
5960 (STYLENS, 'background-transparency'),
5961 (STYLENS, 'border-line-width'),
5962 (STYLENS, 'border-line-width-bottom'),
5963 (STYLENS, 'border-line-width-left'),
5964 (STYLENS, 'border-line-width-right'),
5965 (STYLENS, 'border-line-width-top'),
5966 (STYLENS, 'font-independent-line-spacing'),
5967 (STYLENS, 'justify-single-word'),
5968 (STYLENS, 'line-break'),
5969 (STYLENS, 'line-height-at-least'),
5970 (STYLENS, 'line-spacing'),
5971 (STYLENS, 'page-number'),
5972 (STYLENS, 'punctuation-wrap'),
5973 (STYLENS, 'register-true'),
5974 (STYLENS, 'shadow'),
5975 (STYLENS, 'snap-to-layout-grid'),
5976 (STYLENS, 'tab-stop-distance'),
5977 (STYLENS, 'text-autospace'),
5978 (STYLENS, 'vertical-align'),
5979 (STYLENS, 'writing-mode'),
5980 (STYLENS, 'writing-mode-automatic'),
5981 (TEXTNS, 'line-number'),
5982 (TEXTNS, 'number-lines'),
5983 ),
5984 (STYLENS, 'presentation-page-layout'): (
5985 (STYLENS, 'display-name'),
5986 (STYLENS, 'name'),
5987 ),
5988 # allowed_attributes
5989 (STYLENS, 'region-center'): (),
5990 (STYLENS, 'region-left'): (),
5991 (STYLENS, 'region-right'): (),
5992 (STYLENS, 'ruby-properties'): (
5993 (STYLENS, 'ruby-position'),
5994 (STYLENS, 'ruby-align'),
5995 ),
5996 (STYLENS, 'section-properties'): (
5997 (FONS, 'background-color'),
5998 (FONS, 'margin-left'),
5999 (FONS, 'margin-right'),
6000 (STYLENS, 'protect'),
6001 (STYLENS, 'writing-mode'),
6002 (TEXTNS, 'dont-balance-text-columns'),
6003 ),
6004 (STYLENS, 'style'): (
6005 (STYLENS, 'family'),
6006 (STYLENS, 'list-style-name'),
6007 (STYLENS, 'name'),
6008 (STYLENS, 'auto-update'),
6009 (STYLENS, 'default-outline-level'),
6010 (STYLENS, 'class'),
6011 (STYLENS, 'next-style-name'),
6012 (STYLENS, 'data-style-name'),
6013 (STYLENS, 'master-page-name'),
6014 (STYLENS, 'display-name'),
6015 (STYLENS, 'parent-style-name'),
6016 ),
6017 # allowed_attributes
6018 (STYLENS, 'tab-stop'): (
6019 (STYLENS, 'leader-text-style'),
6020 (STYLENS, 'leader-width'),
6021 (STYLENS, 'leader-style'),
6022 (STYLENS, 'char'),
6023 (STYLENS, 'leader-color'),
6024 (STYLENS, 'position'),
6025 (STYLENS, 'leader-text'),
6026 (STYLENS, 'type'),
6027 (STYLENS, 'leader-type'),
6028 ),
6029 (STYLENS, 'tab-stops'): (),
6030 (STYLENS, 'table-cell-properties'): (
6031 (FONS, 'background-color'),
6032 (FONS, 'border'),
6033 (FONS, 'border-bottom'),
6034 (FONS, 'border-left'),
6035 (FONS, 'border-right'),
6036 (FONS, 'border-top'),
6037 (FONS, 'padding'),
6038 (FONS, 'padding-bottom'),
6039 (FONS, 'padding-left'),
6040 (FONS, 'padding-right'),
6041 (FONS, 'padding-top'),
6042 (FONS, 'wrap-option'),
6043 (STYLENS, 'border-line-width'),
6044 (STYLENS, 'border-line-width-bottom'),
6045 (STYLENS, 'border-line-width-left'),
6046 (STYLENS, 'border-line-width-right'),
6047 (STYLENS, 'border-line-width-top'),
6048 (STYLENS, 'cell-protect'),
6049 (STYLENS, 'decimal-places'),
6050 (STYLENS, 'diagonal-bl-tr'),
6051 (STYLENS, 'diagonal-bl-tr-widths'),
6052 (STYLENS, 'diagonal-tl-br'),
6053 (STYLENS, 'diagonal-tl-br-widths'),
6054 (STYLENS, 'direction'),
6055 (STYLENS, 'glyph-orientation-vertical'),
6056 (STYLENS, 'print-content'),
6057 (STYLENS, 'repeat-content'),
6058 (STYLENS, 'rotation-align'),
6059 (STYLENS, 'rotation-angle'),
6060 (STYLENS, 'shadow'),
6061 (STYLENS, 'shrink-to-fit'),
6062 (STYLENS, 'text-align-source'),
6063 (STYLENS, 'vertical-align'),
6064 ),
6065 # allowed_attributes
6066 (STYLENS, 'table-column-properties'): (
6067 (FONS, 'break-after'),
6068 (FONS, 'break-before'),
6069 (STYLENS, 'column-width'),
6070 (STYLENS, 'rel-column-width'),
6071 (STYLENS, 'use-optimal-column-width'),
6072 ),
6073 (STYLENS, 'table-properties'): (
6074 (FONS, 'background-color'),
6075 (FONS, 'break-after'),
6076 (FONS, 'break-before'),
6077 (FONS, 'keep-with-next'),
6078 (FONS, 'margin'),
6079 (FONS, 'margin-bottom'),
6080 (FONS, 'margin-left'),
6081 (FONS, 'margin-right'),
6082 (FONS, 'margin-top'),
6083 (STYLENS, 'may-break-between-rows'),
6084 (STYLENS, 'page-number'),
6085 (STYLENS, 'rel-width'),
6086 (STYLENS, 'shadow'),
6087 (STYLENS, 'width'),
6088 (STYLENS, 'writing-mode'),
6089 (TABLENS, 'align'),
6090 (TABLENS, 'border-model'),
6091 (TABLENS, 'display'),
6092 ),
6093 (STYLENS, 'table-row-properties'): (
6094 (FONS, 'background-color'),
6095 (FONS, 'break-after'),
6096 (FONS, 'break-before'),
6097 (FONS, 'keep-together'),
6098 (STYLENS, 'min-row-height'),
6099 (STYLENS, 'row-height'),
6100 (STYLENS, 'use-optimal-row-height'),
6101 ),
6102 # allowed_attributes
6103 (STYLENS, 'text-properties'): (
6104 (FONS, 'background-color'),
6105 (FONS, 'color'),
6106 (FONS, 'country'),
6107 (FONS, 'font-family'),
6108 (FONS, 'font-size'),
6109 (FONS, 'font-style'),
6110 (FONS, 'font-variant'),
6111 (FONS, 'font-weight'),
6112 (FONS, 'hyphenate'),
6113 (FONS, 'hyphenation-push-char-count'),
6114 (FONS, 'hyphenation-remain-char-count'),
6115 (FONS, 'language'),
6116 (FONS, 'letter-spacing'),
6117 (FONS, 'text-shadow'),
6118 (FONS, 'text-transform'),
6119 (STYLENS, 'country-asian'),
6120 (STYLENS, 'country-complex'),
6121 (STYLENS, 'font-charset'),
6122 (STYLENS, 'font-charset-asian'),
6123 (STYLENS, 'font-charset-complex'),
6124 (STYLENS, 'font-family-asian'),
6125 (STYLENS, 'font-family-complex'),
6126 (STYLENS, 'font-family-generic'),
6127 (STYLENS, 'font-family-generic-asian'),
6128 (STYLENS, 'font-family-generic-complex'),
6129 (STYLENS, 'font-name'),
6130 (STYLENS, 'font-name-asian'),
6131 (STYLENS, 'font-name-complex'),
6132 (STYLENS, 'font-pitch'),
6133 (STYLENS, 'font-pitch-asian'),
6134 (STYLENS, 'font-pitch-complex'),
6135 (STYLENS, 'font-relief'),
6136 (STYLENS, 'font-size-asian'),
6137 (STYLENS, 'font-size-complex'),
6138 (STYLENS, 'font-size-rel'),
6139 (STYLENS, 'font-size-rel-asian'),
6140 (STYLENS, 'font-size-rel-complex'),
6141 (STYLENS, 'font-style-asian'),
6142 (STYLENS, 'font-style-complex'),
6143 (STYLENS, 'font-style-name'),
6144 (STYLENS, 'font-style-name-asian'),
6145 (STYLENS, 'font-style-name-complex'),
6146 (STYLENS, 'font-weight-asian'),
6147 (STYLENS, 'font-weight-complex'),
6148 (STYLENS, 'language-asian'),
6149 (STYLENS, 'language-complex'),
6150 (STYLENS, 'letter-kerning'),
6151 (STYLENS, 'script-type'),
6152 (STYLENS, 'text-blinking'),
6153 (STYLENS, 'text-combine'),
6154 (STYLENS, 'text-combine-end-char'),
6155 (STYLENS, 'text-combine-start-char'),
6156 (STYLENS, 'text-emphasize'),
6157 (STYLENS, 'text-line-through-color'),
6158 (STYLENS, 'text-line-through-mode'),
6159 (STYLENS, 'text-line-through-style'),
6160 (STYLENS, 'text-line-through-text'),
6161 (STYLENS, 'text-line-through-text-style'),
6162 (STYLENS, 'text-line-through-type'),
6163 (STYLENS, 'text-line-through-width'),
6164 (STYLENS, 'text-outline'),
6165 (STYLENS, 'text-position'),
6166 (STYLENS, 'text-rotation-angle'),
6167 (STYLENS, 'text-rotation-scale'),
6168 (STYLENS, 'text-scale'),
6169 (STYLENS, 'text-underline-color'),
6170 (STYLENS, 'text-underline-mode'),
6171 (STYLENS, 'text-underline-style'),
6172 (STYLENS, 'text-underline-type'),
6173 (STYLENS, 'text-underline-width'),
6174 (STYLENS, 'use-window-font-color'),
6175 (TEXTNS, 'condition'),
6176 (TEXTNS, 'display'),
6177 ),
6178 (SVGNS, 'definition-src'): (
6179 (XLINKNS, 'actuate'),
6180 (XLINKNS, 'href'),
6181 (XLINKNS, 'type'),
6182 ),
6183 (SVGNS, 'desc'): (),
6184 (SVGNS, 'font-face-format'): ((SVGNS, 'string'),),
6185 # allowed_attributes
6186 (SVGNS, 'font-face-name'): ((SVGNS, 'name'),),
6187 (SVGNS, 'font-face-src'): (),
6188 (SVGNS, 'font-face-uri'): (
6189 (XLINKNS, 'actuate'),
6190 (XLINKNS, 'href'),
6191 (XLINKNS, 'type'),
6192 ),
6193 (SVGNS, 'linearGradient'): (
6194 (SVGNS, 'y2'),
6195 (DRAWNS, 'name'),
6196 (SVGNS, 'spreadMethod'),
6197 (SVGNS, 'gradientUnits'),
6198 (SVGNS, 'x2'),
6199 (SVGNS, 'gradientTransform'),
6200 (SVGNS, 'y1'),
6201 (DRAWNS, 'display-name'),
6202 (SVGNS, 'x1'),
6203 ),
6204 (SVGNS, 'radialGradient'): (
6205 (DRAWNS, 'name'),
6206 (SVGNS, 'fx'),
6207 (SVGNS, 'fy'),
6208 (SVGNS, 'spreadMethod'),
6209 (SVGNS, 'gradientUnits'),
6210 (SVGNS, 'cy'),
6211 (SVGNS, 'cx'),
6212 (SVGNS, 'gradientTransform'),
6213 (DRAWNS, 'display-name'),
6214 (SVGNS, 'r'),
6215 ),
6216 (SVGNS, 'stop'): (
6217 (SVGNS, 'stop-color'),
6218 (SVGNS, 'stop-opacity'),
6219 (SVGNS, 'offset'),
6220 ),
6221 (SVGNS, 'title'): (),
6222 # allowed_attributes
6223 (TABLENS, 'body'): (
6224 (TEXTNS, 'paragraph-style-name'),
6225 (TEXTNS, 'style-name'),
6226 ),
6227 (TABLENS, 'calculation-settings'): (
6228 (TABLENS, 'automatic-find-labels'),
6229 (TABLENS, 'case-sensitive'),
6230 (TABLENS, 'search-criteria-must-apply-to-whole-cell'),
6231 (TABLENS, 'precision-as-shown'),
6232 (TABLENS, 'use-regular-expressions'),
6233 (TABLENS, 'null-year'),
6234 ),
6235 (TABLENS, 'cell-address'): (
6236 (TABLENS, 'column'),
6237 (TABLENS, 'table'),
6238 (TABLENS, 'row'),
6239 ),
6240 (TABLENS, 'cell-content-change'): (
6241 (TABLENS, 'id'),
6242 (TABLENS, 'rejecting-change-id'),
6243 (TABLENS, 'acceptance-state'),
6244 ),
6245 (TABLENS, 'cell-content-deletion'): ((TABLENS, 'id'),),
6246 (TABLENS, 'cell-range-source'): (
6247 (TABLENS, 'last-row-spanned'),
6248 (TABLENS, 'last-column-spanned'),
6249 (TABLENS, 'name'),
6250 (TABLENS, 'filter-options'),
6251 (XLINKNS, 'actuate'),
6252 (TABLENS, 'filter-name'),
6253 (XLINKNS, 'href'),
6254 (TABLENS, 'refresh-delay'),
6255 (XLINKNS, 'type'),
6256 ),
6257 (TABLENS, 'change-deletion'): ((TABLENS, 'id'),),
6258 (TABLENS, 'change-track-table-cell'): (
6259 (OFFICENS, 'string-value'),
6260 (TABLENS, 'cell-address'),
6261 (TABLENS, 'number-matrix-columns-spanned'),
6262 (TABLENS, 'number-matrix-rows-spanned'),
6263 (TABLENS, 'matrix-covered'),
6264 (OFFICENS, 'value-type'),
6265 (OFFICENS, 'boolean-value'),
6266 (OFFICENS, 'currency'),
6267 (OFFICENS, 'date-value'),
6268 (OFFICENS, 'value'),
6269 (TABLENS, 'formula'),
6270 (OFFICENS, 'time-value'),
6271 ),
6272 (TABLENS, 'consolidation'): (
6273 (TABLENS, 'function'),
6274 (TABLENS, 'source-cell-range-addresses'),
6275 (TABLENS, 'target-cell-address'),
6276 (TABLENS, 'link-to-source-data'),
6277 (TABLENS, 'use-labels'),
6278 ),
6279 (TABLENS, 'content-validation'): (
6280 (TABLENS, 'base-cell-address'),
6281 (TABLENS, 'display-list'),
6282 (TABLENS, 'allow-empty-cell'),
6283 (TABLENS, 'name'),
6284 (TABLENS, 'condition'),
6285 ),
6286 (TABLENS, 'content-validations'): (),
6287 # allowed_attributes
6288 (TABLENS, 'covered-table-cell'): (
6289 (TABLENS, 'protect'),
6290 (OFFICENS, 'string-value'),
6291 (OFFICENS, 'value'),
6292 (OFFICENS, 'boolean-value'),
6293 (OFFICENS, 'currency'),
6294 (OFFICENS, 'date-value'),
6295 (TABLENS, 'style-name'),
6296 (TABLENS, 'content-validation-name'),
6297 (OFFICENS, 'value-type'),
6298 (TABLENS, 'number-columns-repeated'),
6299 (TABLENS, 'formula'),
6300 (OFFICENS, 'time-value'),
6301 ),
6302 (TABLENS, 'cut-offs'): (),
6303 (TABLENS, 'data-pilot-display-info'): (
6304 (TABLENS, 'member-count'),
6305 (TABLENS, 'data-field'),
6306 (TABLENS, 'enabled'),
6307 (TABLENS, 'display-member-mode'),
6308 ),
6309 (TABLENS, 'data-pilot-field'): (
6310 (TABLENS, 'selected-page'),
6311 (TABLENS, 'function'),
6312 (TABLENS, 'orientation'),
6313 (TABLENS, 'used-hierarchy'),
6314 (TABLENS, 'is-data-layout-field'),
6315 (TABLENS, 'source-field-name'),
6316 ),
6317 (TABLENS, 'data-pilot-field-reference'): (
6318 (TABLENS, 'member-name'),
6319 (TABLENS, 'field-name'),
6320 (TABLENS, 'member-type'),
6321 (TABLENS, 'type'),
6322 ),
6323 # allowed_attributes
6324 (TABLENS, 'data-pilot-group'): ((TABLENS, 'name'),),
6325 (TABLENS, 'data-pilot-group-member'): ((TABLENS, 'name'),),
6326 (TABLENS, 'data-pilot-groups'): (
6327 (TABLENS, 'date-end'),
6328 (TABLENS, 'end'),
6329 (TABLENS, 'start'),
6330 (TABLENS, 'source-field-name'),
6331 (TABLENS, 'step'),
6332 (TABLENS, 'date-start'),
6333 (TABLENS, 'grouped-by'),
6334 ),
6335 (TABLENS, 'data-pilot-layout-info'): (
6336 (TABLENS, 'add-empty-lines'),
6337 (TABLENS, 'layout-mode'),
6338 ),
6339 (TABLENS, 'data-pilot-level'): ((TABLENS, 'show-empty'),),
6340 # allowed_attributes
6341 (TABLENS, 'data-pilot-member'): (
6342 (TABLENS, 'show-details'),
6343 (TABLENS, 'name'),
6344 (TABLENS, 'display'),
6345 ),
6346 (TABLENS, 'data-pilot-members'): (),
6347 (TABLENS, 'data-pilot-sort-info'): (
6348 (TABLENS, 'data-field'),
6349 (TABLENS, 'sort-mode'),
6350 (TABLENS, 'order'),
6351 ),
6352 (TABLENS, 'data-pilot-subtotal'): ((TABLENS, 'function'),),
6353 (TABLENS, 'data-pilot-subtotals'): (),
6354 (TABLENS, 'data-pilot-table'): (
6355 (TABLENS, 'buttons'),
6356 (TABLENS, 'application-data'),
6357 (TABLENS, 'name'),
6358 (TABLENS, 'drill-down-on-double-click'),
6359 (TABLENS, 'target-range-address'),
6360 (TABLENS, 'ignore-empty-rows'),
6361 (TABLENS, 'identify-categories'),
6362 (TABLENS, 'show-filter-button'),
6363 (TABLENS, 'grand-total'),
6364 ),
6365 # allowed_attributes
6366 (TABLENS, 'data-pilot-tables'): (),
6367 (TABLENS, 'database-range'): (
6368 (TABLENS, 'orientation'),
6369 (TABLENS, 'target-range-address'),
6370 (TABLENS, 'contains-header'),
6371 (TABLENS, 'on-update-keep-size'),
6372 (TABLENS, 'name'),
6373 (TABLENS, 'is-selection'),
6374 (TABLENS, 'refresh-delay'),
6375 (TABLENS, 'display-filter-buttons'),
6376 (TABLENS, 'has-persistent-data'),
6377 (TABLENS, 'on-update-keep-styles'),
6378 ),
6379 (TABLENS, 'database-ranges'): (),
6380 (TABLENS, 'database-source-query'): (
6381 (TABLENS, 'query-name'),
6382 (TABLENS, 'database-name'),
6383 ),
6384 # allowed_attributes
6385 (TABLENS, 'database-source-sql'): (
6386 (TABLENS, 'parse-sql-statement'),
6387 (TABLENS, 'database-name'),
6388 (TABLENS, 'sql-statement'),
6389 ),
6390 (TABLENS, 'database-source-table'): (
6391 (TABLENS, 'database-table-name'),
6392 (TABLENS, 'database-name'),
6393 ),
6394 (TABLENS, 'dde-link'): (),
6395 (TABLENS, 'dde-links'): (),
6396 (TABLENS, 'deletion'): (
6397 (TABLENS, 'rejecting-change-id'),
6398 (TABLENS, 'multi-deletion-spanned'),
6399 (TABLENS, 'acceptance-state'),
6400 (TABLENS, 'table'),
6401 (TABLENS, 'position'),
6402 (TABLENS, 'type'),
6403 (TABLENS, 'id'),
6404 ),
6405 # allowed_attributes
6406 (TABLENS, 'deletions'): (),
6407 (TABLENS, 'dependencies'): (),
6408 (TABLENS, 'dependency'): ((TABLENS, 'id'),),
6409 (TABLENS, 'detective'): (),
6410 (TABLENS, 'error-macro'): ((TABLENS, 'execute'),),
6411 (TABLENS, 'error-message'): (
6412 (TABLENS, 'display'),
6413 (TABLENS, 'message-type'),
6414 (TABLENS, 'title'),
6415 ),
6416 (TABLENS, 'even-columns'): (
6417 (TEXTNS, 'paragraph-style-name'),
6418 (TEXTNS, 'style-name'),
6419 ),
6420 (TABLENS, 'even-rows'): (
6421 (TEXTNS, 'paragraph-style-name'),
6422 (TEXTNS, 'style-name'),
6423 ),
6424 # allowed_attributes
6425 (TABLENS, 'filter'): (
6426 (TABLENS, 'target-range-address'),
6427 (TABLENS, 'display-duplicates'),
6428 (TABLENS, 'condition-source-range-address'),
6429 (TABLENS, 'condition-source'),
6430 ),
6431 (TABLENS, 'filter-and'): (),
6432 (TABLENS, 'filter-condition'): (
6433 (TABLENS, 'operator'),
6434 (TABLENS, 'field-number'),
6435 (TABLENS, 'data-type'),
6436 (TABLENS, 'case-sensitive'),
6437 (TABLENS, 'value'),
6438 ),
6439 (TABLENS, 'filter-or'): (),
6440 (TABLENS, 'first-column'): (
6441 (TEXTNS, 'paragraph-style-name'),
6442 (TEXTNS, 'style-name'),
6443 ),
6444 (TABLENS, 'first-row'): (
6445 (TEXTNS, 'paragraph-style-name'),
6446 (TEXTNS, 'style-name'),
6447 ),
6448 # allowed_attributes
6449 (TABLENS, 'help-message'): (
6450 (TABLENS, 'display'),
6451 (TABLENS, 'title'),
6452 ),
6453 (TABLENS, 'highlighted-range'): (
6454 (TABLENS, 'contains-error'),
6455 (TABLENS, 'direction'),
6456 (TABLENS, 'marked-invalid'),
6457 (TABLENS, 'cell-range-address'),
6458 ),
6459 (TABLENS, 'insertion'): (
6460 (TABLENS, 'count'),
6461 (TABLENS, 'rejecting-change-id'),
6462 (TABLENS, 'acceptance-state'),
6463 (TABLENS, 'table'),
6464 (TABLENS, 'position'),
6465 (TABLENS, 'type'),
6466 (TABLENS, 'id'),
6467 ),
6468 (TABLENS, 'insertion-cut-off'): (
6469 (TABLENS, 'position'),
6470 (TABLENS, 'id'),
6471 ),
6472 (TABLENS, 'iteration'): (
6473 (TABLENS, 'status'),
6474 (TABLENS, 'maximum-difference'),
6475 (TABLENS, 'steps'),
6476 ),
6477 # allowed_attributes
6478 (TABLENS, 'label-range'): (
6479 (TABLENS, 'label-cell-range-address'),
6480 (TABLENS, 'data-cell-range-address'),
6481 (TABLENS, 'orientation'),
6482 ),
6483 (TABLENS, 'label-ranges'): (),
6484 (TABLENS, 'last-column'): (
6485 (TEXTNS, 'paragraph-style-name'),
6486 (TEXTNS, 'style-name'),
6487 ),
6488 (TABLENS, 'last-row'): (
6489 (TEXTNS, 'paragraph-style-name'),
6490 (TEXTNS, 'style-name'),
6491 ),
6492 (TABLENS, 'movement'): (
6493 (TABLENS, 'id'),
6494 (TABLENS, 'rejecting-change-id'),
6495 (TABLENS, 'acceptance-state'),
6496 ),
6497 (TABLENS, 'movement-cut-off'): (
6498 (TABLENS, 'position'),
6499 (TABLENS, 'end-position'),
6500 (TABLENS, 'start-position'),
6501 ),
6502 (TABLENS, 'named-expression'): (
6503 (TABLENS, 'base-cell-address'),
6504 (TABLENS, 'expression'),
6505 (TABLENS, 'name'),
6506 ),
6507 (TABLENS, 'named-expressions'): (),
6508 (TABLENS, 'named-range'): (
6509 (TABLENS, 'range-usable-as'),
6510 (TABLENS, 'base-cell-address'),
6511 (TABLENS, 'name'),
6512 (TABLENS, 'cell-range-address'),
6513 ),
6514 (TABLENS, 'null-date'): (
6515 (TABLENS, 'date-value'),
6516 (TABLENS, 'value-type'),
6517 ),
6518 (TABLENS, 'odd-columns'): (
6519 (TEXTNS, 'paragraph-style-name'),
6520 (TEXTNS, 'style-name'),
6521 ),
6522 (TABLENS, 'odd-rows'): (
6523 (TEXTNS, 'paragraph-style-name'),
6524 (TEXTNS, 'style-name'),
6525 ),
6526 (TABLENS, 'operation'): (
6527 (TABLENS, 'index'),
6528 (TABLENS, 'name'),
6529 ),
6530 (TABLENS, 'previous'): ((TABLENS, 'id'),),
6531 (TABLENS, 'scenario'): (
6532 (TABLENS, 'comment'),
6533 (TABLENS, 'border-color'),
6534 (TABLENS, 'copy-back'),
6535 (TABLENS, 'is-active'),
6536 (TABLENS, 'protected'),
6537 (TABLENS, 'copy-formulas'),
6538 (TABLENS, 'copy-styles'),
6539 (TABLENS, 'scenario-ranges'),
6540 (TABLENS, 'display-border'),
6541 ),
6542 (TABLENS, 'shapes'): (),
6543 (TABLENS, 'sort'): (
6544 (TABLENS, 'case-sensitive'),
6545 (TABLENS, 'algorithm'),
6546 (TABLENS, 'target-range-address'),
6547 (TABLENS, 'country'),
6548 (TABLENS, 'language'),
6549 (TABLENS, 'bind-styles-to-content'),
6550 ),
6551 (TABLENS, 'sort-by'): (
6552 (TABLENS, 'field-number'),
6553 (TABLENS, 'data-type'),
6554 (TABLENS, 'order'),
6555 ),
6556 (TABLENS, 'sort-groups'): (
6557 (TABLENS, 'data-type'),
6558 (TABLENS, 'order'),
6559 ),
6560 (TABLENS, 'source-cell-range'): ((TABLENS, 'cell-range-address'),),
6561 (TABLENS, 'source-range-address'): (
6562 (TABLENS, 'column'),
6563 (TABLENS, 'end-column'),
6564 (TABLENS, 'start-table'),
6565 (TABLENS, 'end-row'),
6566 (TABLENS, 'table'),
6567 (TABLENS, 'start-row'),
6568 (TABLENS, 'row'),
6569 (TABLENS, 'end-table'),
6570 (TABLENS, 'start-column'),
6571 ),
6572 # allowed_attributes
6573 (TABLENS, 'source-service'): (
6574 (TABLENS, 'user-name'),
6575 (TABLENS, 'source-name'),
6576 (TABLENS, 'password'),
6577 (TABLENS, 'object-name'),
6578 (TABLENS, 'name'),
6579 ),
6580 (TABLENS, 'subtotal-field'): (
6581 (TABLENS, 'function'),
6582 (TABLENS, 'field-number'),
6583 ),
6584 (TABLENS, 'subtotal-rule'): ((TABLENS, 'group-by-field-number'),),
6585 (TABLENS, 'subtotal-rules'): (
6586 (TABLENS, 'bind-styles-to-content'),
6587 (TABLENS, 'page-breaks-on-group-change'),
6588 (TABLENS, 'case-sensitive'),
6589 ),
6590 (TABLENS, 'table'): (
6591 (TABLENS, 'name'),
6592 (TABLENS, 'is-sub-table'),
6593 (TABLENS, 'style-name'),
6594 (TABLENS, 'protected'),
6595 (TABLENS, 'print-ranges'),
6596 (TABLENS, 'print'),
6597 (TABLENS, 'protection-key'),
6598 ),
6599 (TABLENS, 'table-cell'): (
6600 (TABLENS, 'protect'),
6601 (TABLENS, 'number-matrix-rows-spanned'),
6602 (TABLENS, 'number-matrix-columns-spanned'),
6603 (OFFICENS, 'string-value'),
6604 (TABLENS, 'number-columns-spanned'),
6605 (OFFICENS, 'value'),
6606 (OFFICENS, 'boolean-value'),
6607 (OFFICENS, 'currency'),
6608 (OFFICENS, 'date-value'),
6609 (TABLENS, 'style-name'),
6610 (TABLENS, 'content-validation-name'),
6611 (OFFICENS, 'value-type'),
6612 (TABLENS, 'number-rows-spanned'),
6613 (TABLENS, 'number-columns-repeated'),
6614 (TABLENS, 'formula'),
6615 (OFFICENS, 'time-value'),
6616 ),
6617 # allowed_attributes
6618 (TABLENS, 'table-column'): (
6619 (TABLENS, 'style-name'),
6620 (TABLENS, 'default-cell-style-name'),
6621 (TABLENS, 'visibility'),
6622 (TABLENS, 'number-columns-repeated'),
6623 ),
6624 (TABLENS, 'table-column-group'): ((TABLENS, 'display'),),
6625 (TABLENS, 'table-columns'): (),
6626 (TABLENS, 'table-header-columns'): (),
6627 (TABLENS, 'table-header-rows'): (),
6628 (TABLENS, 'table-row'): (
6629 (TABLENS, 'number-rows-repeated'),
6630 (TABLENS, 'style-name'),
6631 (TABLENS, 'visibility'),
6632 (TABLENS, 'default-cell-style-name'),
6633 ),
6634 (TABLENS, 'table-row-group'): ((TABLENS, 'display'),),
6635 (TABLENS, 'table-rows'): (),
6636 (TABLENS, 'table-source'): (
6637 (TABLENS, 'filter-options'),
6638 (XLINKNS, 'actuate'),
6639 (TABLENS, 'filter-name'),
6640 (XLINKNS, 'href'),
6641 (TABLENS, 'mode'),
6642 (TABLENS, 'table-name'),
6643 (XLINKNS, 'type'),
6644 (TABLENS, 'refresh-delay'),
6645 ),
6646 (TABLENS, 'table-template'): (
6647 (TEXTNS, 'last-row-end-column'),
6648 (TEXTNS, 'first-row-end-column'),
6649 (TEXTNS, 'name'),
6650 (TEXTNS, 'last-row-start-column'),
6651 (TEXTNS, 'first-row-start-column'),
6652 ),
6653 (TABLENS, 'target-range-address'): (
6654 (TABLENS, 'column'),
6655 (TABLENS, 'end-column'),
6656 (TABLENS, 'start-table'),
6657 (TABLENS, 'end-row'),
6658 (TABLENS, 'table'),
6659 (TABLENS, 'start-row'),
6660 (TABLENS, 'row'),
6661 (TABLENS, 'end-table'),
6662 (TABLENS, 'start-column'),
6663 ),
6664 (TABLENS, 'tracked-changes'): ((TABLENS, 'track-changes'),),
6665 # allowed_attributes
6666 (TEXTNS, 'a'): (
6667 (TEXTNS, 'visited-style-name'),
6668 (OFFICENS, 'name'),
6669 (OFFICENS, 'title'),
6670 (XLINKNS, 'show'),
6671 (OFFICENS, 'target-frame-name'),
6672 (XLINKNS, 'actuate'),
6673 (TEXTNS, 'style-name'),
6674 (XLINKNS, 'href'),
6675 (XLINKNS, 'type'),
6676 ),
6677 (TEXTNS, 'alphabetical-index'): (
6678 (TEXTNS, 'protected'),
6679 (TEXTNS, 'style-name'),
6680 (TEXTNS, 'name'),
6681 (TEXTNS, 'protection-key'),
6682 ),
6683 (TEXTNS, 'alphabetical-index-auto-mark-file'): (
6684 (XLINKNS, 'href'),
6685 (XLINKNS, 'type'),
6686 ),
6687 (TEXTNS, 'alphabetical-index-entry-template'): (
6688 (TEXTNS, 'style-name'),
6689 (TEXTNS, 'outline-level'),
6690 ),
6691 (TEXTNS, 'alphabetical-index-mark'): (
6692 (TEXTNS, 'main-entry'),
6693 (TEXTNS, 'key1-phonetic'),
6694 (TEXTNS, 'key2'),
6695 (TEXTNS, 'key1'),
6696 (TEXTNS, 'string-value'),
6697 (TEXTNS, 'key2-phonetic'),
6698 (TEXTNS, 'string-value-phonetic'),
6699 ),
6700 # allowed_attributes
6701 (TEXTNS, 'alphabetical-index-mark-end'): ((TEXTNS, 'id'),),
6702 (TEXTNS, 'alphabetical-index-mark-start'): (
6703 (TEXTNS, 'main-entry'),
6704 (TEXTNS, 'key1-phonetic'),
6705 (TEXTNS, 'key2'),
6706 (TEXTNS, 'key1'),
6707 (TEXTNS, 'string-value-phonetic'),
6708 (TEXTNS, 'key2-phonetic'),
6709 (TEXTNS, 'id'),
6710 ),
6711 (TEXTNS, 'alphabetical-index-source'): (
6712 (TEXTNS, 'capitalize-entries'),
6713 (FONS, 'language'),
6714 (TEXTNS, 'relative-tab-stop-position'),
6715 (TEXTNS, 'alphabetical-separators'),
6716 (TEXTNS, 'combine-entries-with-pp'),
6717 (TEXTNS, 'combine-entries-with-dash'),
6718 (TEXTNS, 'sort-algorithm'),
6719 (TEXTNS, 'ignore-case'),
6720 (TEXTNS, 'combine-entries'),
6721 (TEXTNS, 'comma-separated'),
6722 (FONS, 'country'),
6723 (TEXTNS, 'index-scope'),
6724 (TEXTNS, 'main-entry-style-name'),
6725 (TEXTNS, 'use-keys-as-entries'),
6726 ),
6727 # allowed_attributes
6728 (TEXTNS, 'author-initials'): ((TEXTNS, 'fixed'),),
6729 (TEXTNS, 'author-name'): ((TEXTNS, 'fixed'),),
6730 (TEXTNS, 'bibliography'): (
6731 (TEXTNS, 'protected'),
6732 (TEXTNS, 'style-name'),
6733 (TEXTNS, 'name'),
6734 (TEXTNS, 'protection-key'),
6735 ),
6736 (TEXTNS, 'bibliography-configuration'): (
6737 (TEXTNS, 'suffix'),
6738 (FONS, 'language'),
6739 (TEXTNS, 'numbered-entries'),
6740 (FONS, 'country'),
6741 (TEXTNS, 'sort-by-position'),
6742 (TEXTNS, 'sort-algorithm'),
6743 (TEXTNS, 'prefix'),
6744 ),
6745 (TEXTNS, 'bibliography-entry-template'): (
6746 (TEXTNS, 'style-name'),
6747 (TEXTNS, 'bibliography-type'),
6748 ),
6749 # allowed_attributes
6750 (TEXTNS, 'bibliography-mark'): (
6751 (TEXTNS, 'address'),
6752 (TEXTNS, 'annote'),
6753 (TEXTNS, 'author'),
6754 (TEXTNS, 'bibliography-type'),
6755 (TEXTNS, 'booktitle'),
6756 (TEXTNS, 'chapter'),
6757 (TEXTNS, 'custom1'),
6758 (TEXTNS, 'custom2'),
6759 (TEXTNS, 'custom3'),
6760 (TEXTNS, 'custom4'),
6761 (TEXTNS, 'custom5'),
6762 (TEXTNS, 'edition'),
6763 (TEXTNS, 'editor'),
6764 (TEXTNS, 'howpublished'),
6765 (TEXTNS, 'identifier'),
6766 (TEXTNS, 'institution'),
6767 (TEXTNS, 'isbn'),
6768 (TEXTNS, 'issn'),
6769 (TEXTNS, 'journal'),
6770 (TEXTNS, 'month'),
6771 (TEXTNS, 'note'),
6772 (TEXTNS, 'number'),
6773 (TEXTNS, 'organizations'),
6774 (TEXTNS, 'pages'),
6775 (TEXTNS, 'publisher'),
6776 (TEXTNS, 'report-type'),
6777 (TEXTNS, 'school'),
6778 (TEXTNS, 'series'),
6779 (TEXTNS, 'title'),
6780 (TEXTNS, 'url'),
6781 (TEXTNS, 'volume'),
6782 (TEXTNS, 'year'),
6783 ),
6784 (TEXTNS, 'bibliography-source'): (),
6785 (TEXTNS, 'bookmark'): ((TEXTNS, 'name'),),
6786 (TEXTNS, 'bookmark-end'): ((TEXTNS, 'name'),),
6787 (TEXTNS, 'bookmark-ref'): (
6788 (TEXTNS, 'ref-name'),
6789 (TEXTNS, 'reference-format'),
6790 ),
6791 (TEXTNS, 'bookmark-start'): ((TEXTNS, 'name'),),
6792 # allowed_attributes
6793 (TEXTNS, 'change'): ((TEXTNS, 'change-id'),),
6794 (TEXTNS, 'change-end'): ((TEXTNS, 'change-id'),),
6795 (TEXTNS, 'change-start'): ((TEXTNS, 'change-id'),),
6796 (TEXTNS, 'changed-region'): ((TEXTNS, 'id'),),
6797 (TEXTNS, 'chapter'): (
6798 (TEXTNS, 'display'),
6799 (TEXTNS, 'outline-level'),
6800 ),
6801 (TEXTNS, 'conditional-text'): (
6802 (TEXTNS, 'string-value-if-true'),
6803 (TEXTNS, 'current-value'),
6804 (TEXTNS, 'string-value-if-false'),
6805 (TEXTNS, 'condition'),
6806 ),
6807 (TEXTNS, 'creation-date'): (
6808 (TEXTNS, 'date-value'),
6809 (TEXTNS, 'fixed'),
6810 (STYLENS, 'data-style-name'),
6811 ),
6812 (TEXTNS, 'creation-time'): (
6813 (TEXTNS, 'fixed'),
6814 (TEXTNS, 'time-value'),
6815 (STYLENS, 'data-style-name'),
6816 ),
6817 (TEXTNS, 'creator'): ((TEXTNS, 'fixed'),),
6818 (TEXTNS, 'database-display'): (
6819 (TEXTNS, 'column-name'),
6820 (TEXTNS, 'table-name'),
6821 (TEXTNS, 'table-type'),
6822 (TEXTNS, 'database-name'),
6823 (STYLENS, 'data-style-name'),
6824 ),
6825 (TEXTNS, 'database-name'): (
6826 (TEXTNS, 'table-name'),
6827 (TEXTNS, 'table-type'),
6828 (TEXTNS, 'database-name'),
6829 ),
6830 (TEXTNS, 'database-next'): (
6831 (TEXTNS, 'table-name'),
6832 (TEXTNS, 'table-type'),
6833 (TEXTNS, 'database-name'),
6834 (TEXTNS, 'condition'),
6835 ),
6836 (TEXTNS, 'database-row-number'): (
6837 (STYLENS, 'num-format'),
6838 (TEXTNS, 'database-name'),
6839 (TEXTNS, 'value'),
6840 (STYLENS, 'num-letter-sync'),
6841 (TEXTNS, 'table-name'),
6842 (TEXTNS, 'table-type'),
6843 ),
6844 (TEXTNS, 'database-row-select'): (
6845 (TEXTNS, 'row-number'),
6846 (TEXTNS, 'table-name'),
6847 (TEXTNS, 'table-type'),
6848 (TEXTNS, 'database-name'),
6849 (TEXTNS, 'condition'),
6850 ),
6851 # allowed_attributes
6852 (TEXTNS, 'date'): (
6853 (TEXTNS, 'date-value'),
6854 (TEXTNS, 'fixed'),
6855 (TEXTNS, 'date-adjust'),
6856 (STYLENS, 'data-style-name'),
6857 ),
6858 (TEXTNS, 'dde-connection'): ((TEXTNS, 'connection-name'),),
6859 (TEXTNS, 'dde-connection-decl'): (
6860 (OFFICENS, 'automatic-update'),
6861 (OFFICENS, 'dde-topic'),
6862 (OFFICENS, 'dde-application'),
6863 (OFFICENS, 'name'),
6864 (OFFICENS, 'dde-item'),
6865 ),
6866 (TEXTNS, 'dde-connection-decls'): (),
6867 (TEXTNS, 'deletion'): (),
6868 (TEXTNS, 'description'): ((TEXTNS, 'fixed'),),
6869 (TEXTNS, 'editing-cycles'): ((TEXTNS, 'fixed'),),
6870 (TEXTNS, 'editing-duration'): (
6871 (TEXTNS, 'duration'),
6872 (TEXTNS, 'fixed'),
6873 (STYLENS, 'data-style-name'),
6874 ),
6875 (TEXTNS, 'execute-macro'): ((TEXTNS, 'name'),),
6876 (TEXTNS, 'expression'): (
6877 (TEXTNS, 'display'),
6878 (OFFICENS, 'string-value'),
6879 (OFFICENS, 'value'),
6880 (OFFICENS, 'boolean-value'),
6881 (OFFICENS, 'currency'),
6882 (OFFICENS, 'date-value'),
6883 (STYLENS, 'data-style-name'),
6884 (OFFICENS, 'value-type'),
6885 (TEXTNS, 'formula'),
6886 (OFFICENS, 'time-value'),
6887 ),
6888 (TEXTNS, 'file-name'): (
6889 (TEXTNS, 'fixed'),
6890 (TEXTNS, 'display'),
6891 ),
6892 # allowed_attributes
6893 (TEXTNS, 'format-change'): (),
6894 (TEXTNS, 'h'): (
6895 (TEXTNS, 'restart-numbering'),
6896 (TEXTNS, 'cond-style-name'),
6897 (TEXTNS, 'is-list-header'),
6898 (TEXTNS, 'style-name'),
6899 (TEXTNS, 'class-names'),
6900 (TEXTNS, 'start-value'),
6901 (TEXTNS, 'id'),
6902 (TEXTNS, 'outline-level'),
6903 ),
6904 (TEXTNS, 'hidden-paragraph'): (
6905 (TEXTNS, 'is-hidden'),
6906 (TEXTNS, 'condition'),
6907 ),
6908 (TEXTNS, 'hidden-text'): (
6909 (TEXTNS, 'string-value'),
6910 (TEXTNS, 'is-hidden'),
6911 (TEXTNS, 'condition'),
6912 ),
6913 (TEXTNS, 'illustration-index'): (
6914 (TEXTNS, 'protected'),
6915 (TEXTNS, 'style-name'),
6916 (TEXTNS, 'name'),
6917 (TEXTNS, 'protection-key'),
6918 ),
6919 (TEXTNS, 'illustration-index-entry-template'): ((TEXTNS, 'style-name'),),
6920 (TEXTNS, 'illustration-index-source'): (
6921 (TEXTNS, 'index-scope'),
6922 (TEXTNS, 'caption-sequence-name'),
6923 (TEXTNS, 'use-caption'),
6924 (TEXTNS, 'caption-sequence-format'),
6925 (TEXTNS, 'relative-tab-stop-position'),
6926 ),
6927 (TEXTNS, 'index-body'): (),
6928 (TEXTNS, 'index-entry-bibliography'): (
6929 (TEXTNS, 'bibliography-data-field'),
6930 (TEXTNS, 'style-name'),
6931 ),
6932 (TEXTNS, 'index-entry-chapter'): (
6933 (TEXTNS, 'style-name'),
6934 (TEXTNS, 'display'),
6935 ),
6936 # allowed_attributes
6937 (TEXTNS, 'index-entry-link-end'): ((TEXTNS, 'style-name'),),
6938 (TEXTNS, 'index-entry-link-start'): ((TEXTNS, 'style-name'),),
6939 (TEXTNS, 'index-entry-page-number'): ((TEXTNS, 'style-name'),),
6940 (TEXTNS, 'index-entry-span'): ((TEXTNS, 'style-name'),),
6941 (TEXTNS, 'index-entry-tab-stop'): (
6942 (STYLENS, 'position'),
6943 (TEXTNS, 'style-name'),
6944 (STYLENS, 'type'),
6945 (STYLENS, 'leader-char'),
6946 ),
6947 (TEXTNS, 'index-entry-text'): ((TEXTNS, 'style-name'),),
6948 (TEXTNS, 'index-source-style'): ((TEXTNS, 'style-name'),),
6949 (TEXTNS, 'index-source-styles'): ((TEXTNS, 'outline-level'),),
6950 (TEXTNS, 'index-title'): (
6951 (TEXTNS, 'protected'),
6952 (TEXTNS, 'style-name'),
6953 (TEXTNS, 'name'),
6954 (TEXTNS, 'protection-key'),
6955 ),
6956 (TEXTNS, 'index-title-template'): ((TEXTNS, 'style-name'),),
6957 (TEXTNS, 'initial-creator'): ((TEXTNS, 'fixed'),),
6958 (TEXTNS, 'insertion'): (),
6959 # allowed_attributes
6960 (TEXTNS, 'keywords'): ((TEXTNS, 'fixed'),),
6961 (TEXTNS, 'line-break'): (),
6962 (TEXTNS, 'linenumbering-configuration'): (
6963 (TEXTNS, 'number-position'),
6964 (TEXTNS, 'number-lines'),
6965 (STYLENS, 'num-format'),
6966 (TEXTNS, 'count-empty-lines'),
6967 (TEXTNS, 'count-in-text-boxes'),
6968 (TEXTNS, 'style-name'),
6969 (STYLENS, 'num-letter-sync'),
6970 (TEXTNS, 'increment'),
6971 (TEXTNS, 'offset'),
6972 (TEXTNS, 'restart-on-page'),
6973 ),
6974 (TEXTNS, 'linenumbering-separator'): ((TEXTNS, 'increment'),),
6975 (TEXTNS, 'list'): (
6976 (TEXTNS, 'style-name'),
6977 (TEXTNS, 'continue-numbering'),
6978 ),
6979 (TEXTNS, 'list-header'): (),
6980 (TEXTNS, 'list-item'): ((TEXTNS, 'start-value'),),
6981 (TEXTNS, 'list-level-style-bullet'): (
6982 (TEXTNS, 'level'),
6983 (STYLENS, 'num-prefix'),
6984 (STYLENS, 'num-suffix'),
6985 (TEXTNS, 'bullet-relative-size'),
6986 (TEXTNS, 'style-name'),
6987 (TEXTNS, 'bullet-char'),
6988 ),
6989 (TEXTNS, 'list-level-style-image'): (
6990 (XLINKNS, 'show'),
6991 (XLINKNS, 'actuate'),
6992 (XLINKNS, 'href'),
6993 (XLINKNS, 'type'),
6994 (TEXTNS, 'level'),
6995 ),
6996 (TEXTNS, 'list-level-style-number'): (
6997 (TEXTNS, 'level'),
6998 (TEXTNS, 'display-levels'),
6999 (STYLENS, 'num-format'),
7000 (STYLENS, 'num-suffix'),
7001 (TEXTNS, 'style-name'),
7002 (STYLENS, 'num-prefix'),
7003 (STYLENS, 'num-letter-sync'),
7004 (TEXTNS, 'start-value'),
7005 ),
7006 # allowed_attributes
7007 (TEXTNS, 'list-style'): (
7008 (TEXTNS, 'consecutive-numbering'),
7009 (STYLENS, 'display-name'),
7010 (STYLENS, 'name'),
7011 ),
7012 (TEXTNS, 'measure'): ((TEXTNS, 'kind'),),
7013 (TEXTNS, 'modification-date'): (
7014 (TEXTNS, 'date-value'),
7015 (TEXTNS, 'fixed'),
7016 (STYLENS, 'data-style-name'),
7017 ),
7018 (TEXTNS, 'modification-time'): (
7019 (TEXTNS, 'fixed'),
7020 (TEXTNS, 'time-value'),
7021 (STYLENS, 'data-style-name'),
7022 ),
7023 (TEXTNS, 'note'): (
7024 (TEXTNS, 'note-class'),
7025 (TEXTNS, 'id'),
7026 ),
7027 (TEXTNS, 'note-body'): (),
7028 (TEXTNS, 'note-citation'): ((TEXTNS, 'label'),),
7029 (TEXTNS, 'note-continuation-notice-backward'): (),
7030 (TEXTNS, 'note-continuation-notice-forward'): (),
7031 (TEXTNS, 'note-ref'): (
7032 (TEXTNS, 'ref-name'),
7033 (TEXTNS, 'note-class'),
7034 (TEXTNS, 'reference-format'),
7035 ),
7036 (TEXTNS, 'notes-configuration'): (
7037 (TEXTNS, 'citation-body-style-name'),
7038 (STYLENS, 'num-format'),
7039 (TEXTNS, 'default-style-name'),
7040 (STYLENS, 'num-suffix'),
7041 (TEXTNS, 'start-numbering-at'),
7042 (STYLENS, 'num-prefix'),
7043 (STYLENS, 'num-letter-sync'),
7044 (TEXTNS, 'citation-style-name'),
7045 (TEXTNS, 'footnotes-position'),
7046 (TEXTNS, 'master-page-name'),
7047 (TEXTNS, 'start-value'),
7048 (TEXTNS, 'note-class'),
7049 ),
7050 (TEXTNS, 'number'): (),
7051 (TEXTNS, 'numbered-paragraph'): (
7052 (TEXTNS, 'continue-numbering'),
7053 (TEXTNS, 'style-name'),
7054 (TEXTNS, 'start-value'),
7055 (TEXTNS, 'level'),
7056 ),
7057 (TEXTNS, 'object-count'): (
7058 (STYLENS, 'num-format'),
7059 (STYLENS, 'num-letter-sync'),
7060 ),
7061 (TEXTNS, 'object-index'): (
7062 (TEXTNS, 'protected'),
7063 (TEXTNS, 'style-name'),
7064 (TEXTNS, 'name'),
7065 (TEXTNS, 'protection-key'),
7066 ),
7067 # allowed_attributes
7068 (TEXTNS, 'object-index-entry-template'): ((TEXTNS, 'style-name'),),
7069 (TEXTNS, 'object-index-source'): (
7070 (TEXTNS, 'use-draw-objects'),
7071 (TEXTNS, 'use-math-objects'),
7072 (TEXTNS, 'relative-tab-stop-position'),
7073 (TEXTNS, 'use-chart-objects'),
7074 (TEXTNS, 'index-scope'),
7075 (TEXTNS, 'use-spreadsheet-objects'),
7076 (TEXTNS, 'use-other-objects'),
7077 ),
7078 (TEXTNS, 'outline-level-style'): (
7079 (TEXTNS, 'level'),
7080 (TEXTNS, 'display-levels'),
7081 (STYLENS, 'num-format'),
7082 (STYLENS, 'num-suffix'),
7083 (TEXTNS, 'style-name'),
7084 (STYLENS, 'num-prefix'),
7085 (STYLENS, 'num-letter-sync'),
7086 (TEXTNS, 'start-value'),
7087 ),
7088 (TEXTNS, 'outline-style'): (),
7089 (TEXTNS, 'p'): (
7090 (TEXTNS, 'cond-style-name'),
7091 (TEXTNS, 'style-name'),
7092 (TEXTNS, 'class-names'),
7093 (TEXTNS, 'id'),
7094 ),
7095 (TEXTNS, 'page'): ((TEXTNS, 'master-page-name'),),
7096 (TEXTNS, 'page-continuation'): (
7097 (TEXTNS, 'string-value'),
7098 (TEXTNS, 'select-page'),
7099 ),
7100 (TEXTNS, 'page-number'): (
7101 (TEXTNS, 'page-adjust'),
7102 (STYLENS, 'num-format'),
7103 (TEXTNS, 'fixed'),
7104 (STYLENS, 'num-letter-sync'),
7105 (TEXTNS, 'select-page'),
7106 ),
7107 (TEXTNS, 'page-sequence'): (),
7108 (TEXTNS, 'page-variable-get'): (
7109 (STYLENS, 'num-format'),
7110 (STYLENS, 'num-letter-sync'),
7111 ),
7112 (TEXTNS, 'page-variable-set'): (
7113 (TEXTNS, 'active'),
7114 (TEXTNS, 'page-adjust'),
7115 ),
7116 (TEXTNS, 'placeholder'): (
7117 (TEXTNS, 'placeholder-type'),
7118 (TEXTNS, 'description'),
7119 ),
7120 (TEXTNS, 'print-date'): (
7121 (TEXTNS, 'date-value'),
7122 (TEXTNS, 'fixed'),
7123 (STYLENS, 'data-style-name'),
7124 ),
7125 (TEXTNS, 'print-time'): (
7126 (TEXTNS, 'fixed'),
7127 (TEXTNS, 'time-value'),
7128 (STYLENS, 'data-style-name'),
7129 ),
7130 (TEXTNS, 'printed-by'): ((TEXTNS, 'fixed'),),
7131 (TEXTNS, 'reference-mark'): ((TEXTNS, 'name'),),
7132 (TEXTNS, 'reference-mark-end'): ((TEXTNS, 'name'),),
7133 (TEXTNS, 'reference-mark-start'): ((TEXTNS, 'name'),),
7134 (TEXTNS, 'ruby'): ((TEXTNS, 'style-name'),),
7135 (TEXTNS, 'ruby-base'): (),
7136 (TEXTNS, 'ruby-text'): ((TEXTNS, 'style-name'),),
7137 (TEXTNS, 's'): ((TEXTNS, 'c'),),
7138 (TEXTNS, 'script'): (
7139 (XLINKNS, 'href'),
7140 (XLINKNS, 'type'),
7141 (SCRIPTNS, 'language'),
7142 ),
7143 (TEXTNS, 'section'): (
7144 (TEXTNS, 'name'),
7145 (TEXTNS, 'protection-key'),
7146 (TEXTNS, 'style-name'),
7147 (TEXTNS, 'protected'),
7148 (TEXTNS, 'display'),
7149 (TEXTNS, 'condition'),
7150 ),
7151 (TEXTNS, 'section-source'): (
7152 (TEXTNS, 'filter-name'),
7153 (XLINKNS, 'href'),
7154 (XLINKNS, 'type'),
7155 (TEXTNS, 'section-name'),
7156 (XLINKNS, 'show'),
7157 ),
7158 (TEXTNS, 'sender-city'): ((TEXTNS, 'fixed'),),
7159 (TEXTNS, 'sender-company'): ((TEXTNS, 'fixed'),),
7160 (TEXTNS, 'sender-country'): ((TEXTNS, 'fixed'),),
7161 # allowed_attributes
7162 (TEXTNS, 'sender-email'): ((TEXTNS, 'fixed'),),
7163 (TEXTNS, 'sender-fax'): ((TEXTNS, 'fixed'),),
7164 (TEXTNS, 'sender-firstname'): ((TEXTNS, 'fixed'),),
7165 (TEXTNS, 'sender-initials'): ((TEXTNS, 'fixed'),),
7166 (TEXTNS, 'sender-lastname'): ((TEXTNS, 'fixed'),),
7167 (TEXTNS, 'sender-phone-private'): ((TEXTNS, 'fixed'),),
7168 (TEXTNS, 'sender-phone-work'): ((TEXTNS, 'fixed'),),
7169 (TEXTNS, 'sender-position'): ((TEXTNS, 'fixed'),),
7170 (TEXTNS, 'sender-postal-code'): ((TEXTNS, 'fixed'),),
7171 (TEXTNS, 'sender-state-or-province'): ((TEXTNS, 'fixed'),),
7172 (TEXTNS, 'sender-street'): ((TEXTNS, 'fixed'),),
7173 (TEXTNS, 'sender-title'): ((TEXTNS, 'fixed'),),
7174 (TEXTNS, 'sequence'): (
7175 (TEXTNS, 'formula'),
7176 (STYLENS, 'num-format'),
7177 (STYLENS, 'num-letter-sync'),
7178 (TEXTNS, 'name'),
7179 (TEXTNS, 'ref-name'),
7180 ),
7181 (TEXTNS, 'sequence-decl'): (
7182 (TEXTNS, 'separation-character'),
7183 (TEXTNS, 'display-outline-level'),
7184 (TEXTNS, 'name'),
7185 ),
7186 (TEXTNS, 'sequence-decls'): (),
7187 (TEXTNS, 'sequence-ref'): (
7188 (TEXTNS, 'ref-name'),
7189 (TEXTNS, 'reference-format'),
7190 ),
7191 (TEXTNS, 'sheet-name'): (),
7192 (TEXTNS, 'soft-page-break'): (),
7193 (TEXTNS, 'sort-key'): (
7194 (TEXTNS, 'sort-ascending'),
7195 (TEXTNS, 'key'),
7196 ),
7197 # allowed_attributes
7198 (TEXTNS, 'span'): (
7199 (TEXTNS, 'style-name'),
7200 (TEXTNS, 'class-names'),
7201 ),
7202 (TEXTNS, 'subject'): ((TEXTNS, 'fixed'),),
7203 (TEXTNS, 'tab'): ((TEXTNS, 'tab-ref'),),
7204 (TEXTNS, 'table-formula'): (
7205 (TEXTNS, 'formula'),
7206 (STYLENS, 'data-style-name'),
7207 (TEXTNS, 'display'),
7208 ),
7209 (TEXTNS, 'table-index'): (
7210 (TEXTNS, 'protected'),
7211 (TEXTNS, 'style-name'),
7212 (TEXTNS, 'name'),
7213 (TEXTNS, 'protection-key'),
7214 ),
7215 (TEXTNS, 'table-index-entry-template'): ((TEXTNS, 'style-name'),),
7216 (TEXTNS, 'table-index-source'): (
7217 (TEXTNS, 'index-scope'),
7218 (TEXTNS, 'caption-sequence-name'),
7219 (TEXTNS, 'use-caption'),
7220 (TEXTNS, 'caption-sequence-format'),
7221 (TEXTNS, 'relative-tab-stop-position'),
7222 ),
7223 # allowed_attributes
7224 (TEXTNS, 'table-of-content'): (
7225 (TEXTNS, 'protected'),
7226 (TEXTNS, 'style-name'),
7227 (TEXTNS, 'name'),
7228 (TEXTNS, 'protection-key'),
7229 ),
7230 (TEXTNS, 'table-of-content-entry-template'): (
7231 (TEXTNS, 'style-name'),
7232 (TEXTNS, 'outline-level'),
7233 ),
7234 (TEXTNS, 'table-of-content-source'): (
7235 (TEXTNS, 'index-scope'),
7236 (TEXTNS, 'outline-level'),
7237 (TEXTNS, 'relative-tab-stop-position'),
7238 (TEXTNS, 'use-index-marks'),
7239 (TEXTNS, 'use-outline-level'),
7240 (TEXTNS, 'use-index-source-styles'),
7241 ),
7242 (TEXTNS, 'template-name'): ((TEXTNS, 'display'),),
7243 (TEXTNS, 'text-input'): ((TEXTNS, 'description'),),
7244 (TEXTNS, 'time'): (
7245 (TEXTNS, 'time-adjust'),
7246 (TEXTNS, 'fixed'),
7247 (TEXTNS, 'time-value'),
7248 (STYLENS, 'data-style-name'),
7249 ),
7250 (TEXTNS, 'title'): ((TEXTNS, 'fixed'),),
7251 (TEXTNS, 'toc-mark'): (
7252 (TEXTNS, 'string-value'),
7253 (TEXTNS, 'outline-level'),
7254 ),
7255 (TEXTNS, 'toc-mark-end'): ((TEXTNS, 'id'),),
7256 (TEXTNS, 'toc-mark-start'): (
7257 (TEXTNS, 'id'),
7258 (TEXTNS, 'outline-level'),
7259 ),
7260 (TEXTNS, 'tracked-changes'): ((TEXTNS, 'track-changes'),),
7261 (TEXTNS, 'user-defined'): (
7262 (TEXTNS, 'name'),
7263 (OFFICENS, 'string-value'),
7264 (OFFICENS, 'value'),
7265 (OFFICENS, 'boolean-value'),
7266 (OFFICENS, 'date-value'),
7267 (STYLENS, 'data-style-name'),
7268 (TEXTNS, 'fixed'),
7269 (OFFICENS, 'time-value'),
7270 ),
7271 (TEXTNS, 'user-field-decl'): (
7272 (TEXTNS, 'name'),
7273 (OFFICENS, 'string-value'),
7274 (OFFICENS, 'value'),
7275 (OFFICENS, 'boolean-value'),
7276 (OFFICENS, 'currency'),
7277 (OFFICENS, 'date-value'),
7278 (OFFICENS, 'value-type'),
7279 (TEXTNS, 'formula'),
7280 (OFFICENS, 'time-value'),
7281 ),
7282 (TEXTNS, 'user-field-decls'): (),
7283 (TEXTNS, 'user-field-get'): (
7284 (STYLENS, 'data-style-name'),
7285 (TEXTNS, 'name'),
7286 (TEXTNS, 'display'),
7287 ),
7288 # allowed_attributes
7289 (TEXTNS, 'user-field-input'): (
7290 (STYLENS, 'data-style-name'),
7291 (TEXTNS, 'name'),
7292 (TEXTNS, 'description'),
7293 ),
7294 (TEXTNS, 'user-index'): (
7295 (TEXTNS, 'protected'),
7296 (TEXTNS, 'style-name'),
7297 (TEXTNS, 'name'),
7298 (TEXTNS, 'protection-key'),
7299 ),
7300 (TEXTNS, 'user-index-entry-template'): (
7301 (TEXTNS, 'style-name'),
7302 (TEXTNS, 'outline-level'),
7303 ),
7304 (TEXTNS, 'user-index-mark'): (
7305 (TEXTNS, 'index-name'),
7306 (TEXTNS, 'string-value'),
7307 (TEXTNS, 'outline-level'),
7308 ),
7309 (TEXTNS, 'user-index-mark-end'): (
7310 (TEXTNS, 'id'),
7311 (TEXTNS, 'outline-level'),
7312 ),
7313 (TEXTNS, 'user-index-mark-start'): (
7314 (TEXTNS, 'index-name'),
7315 (TEXTNS, 'id'),
7316 (TEXTNS, 'outline-level'),
7317 ),
7318 # allowed_attributes
7319 (TEXTNS, 'user-index-source'): (
7320 (TEXTNS, 'copy-outline-levels'),
7321 (TEXTNS, 'index-name'),
7322 (TEXTNS, 'index-scope'),
7323 (TEXTNS, 'relative-tab-stop-position'),
7324 (TEXTNS, 'use-floating-frames'),
7325 (TEXTNS, 'use-graphics'),
7326 (TEXTNS, 'use-index-marks'),
7327 (TEXTNS, 'use-objects'),
7328 (TEXTNS, 'use-tables'),
7329 ),
7330 (TEXTNS, 'variable-decl'): (
7331 (TEXTNS, 'name'),
7332 (OFFICENS, 'value-type'),
7333 ),
7334 (TEXTNS, 'variable-decls'): (),
7335 (TEXTNS, 'variable-get'): (
7336 (STYLENS, 'data-style-name'),
7337 (TEXTNS, 'name'),
7338 (TEXTNS, 'display'),
7339 ),
7340 (TEXTNS, 'variable-input'): (
7341 (STYLENS, 'data-style-name'),
7342 (TEXTNS, 'display'),
7343 (TEXTNS, 'name'),
7344 (OFFICENS, 'value-type'),
7345 (TEXTNS, 'description'),
7346 ),
7347 (TEXTNS, 'variable-set'): (
7348 (TEXTNS, 'name'),
7349 (TEXTNS, 'display'),
7350 (OFFICENS, 'string-value'),
7351 (OFFICENS, 'value'),
7352 (OFFICENS, 'boolean-value'),
7353 (OFFICENS, 'currency'),
7354 (OFFICENS, 'date-value'),
7355 (STYLENS, 'data-style-name'),
7356 (OFFICENS, 'value-type'),
7357 (TEXTNS, 'formula'),
7358 (OFFICENS, 'time-value'),
7359 ),
7360 # allowed_attributes
7361 }