Removed OpenDocument rng files and v1.1 rnc file
authorJambunathan K <kjambunathan@gmail.com>
Wed, 28 Sep 2011 06:34:17 +0000 (12:04 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Wed, 28 Sep 2011 06:45:08 +0000 (12:15 +0530)
* contrib/odt/OASIS: Removed.  The rng files are needed only for generating
  rnc files.  They are not needed for integrating with Emacs proper.

* contrib/odt/etc/schema/od-schema-v1.1.rnc: Removed.  Just go with 1.2
  schema.

Should the deleted files be needed later, they can always be resurructed
from the git repo.

contrib/odt/OASIS/OpenDocument-schema-v1.1.rng [deleted file]
contrib/odt/OASIS/OpenDocument-v1.2-cs01-manifest-schema.rng [deleted file]
contrib/odt/OASIS/OpenDocument-v1.2-cs01-schema.rng [deleted file]
contrib/odt/etc/schema/od-schema-v1.1.rnc [deleted file]

diff --git a/contrib/odt/OASIS/OpenDocument-schema-v1.1.rng b/contrib/odt/OASIS/OpenDocument-schema-v1.1.rng
deleted file mode 100644 (file)
index 3ba6a68..0000000
+++ /dev/null
@@ -1,17891 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-    OASIS OpenDocument v1.1
-    OASIS Standard, 1 Feb 2007
-    Relax-NG Schema
-
-    $Id$
-
-    © 2002-2007 OASIS Open
-    © 1999-2007 Sun Microsystems, Inc.
--->
-
-<grammar
-    xmlns="http://relaxng.org/ns/structure/1.0"
-    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
-
-    datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
-
-    xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
-    xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
-    xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
-    xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
-    xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
-    xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
-    xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
-    xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
-    xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
-    xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
-    xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
-    xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
-    xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
-    xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
-
-    xmlns:dc="http://purl.org/dc/elements/1.1/"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    xmlns:math="http://www.w3.org/1998/Math/MathML"
-    xmlns:xforms="http://www.w3.org/2002/xforms"
-
-    xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
-    xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
-    xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
->
-<define name="office-process-content">
-    <optional>
-        <attribute name="office:process-content" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<start>
-    <choice>
-        <ref name="office-document"/>
-        <ref name="office-document-content"/>
-        <ref name="office-document-styles"/>
-        <ref name="office-document-meta"/>
-        <ref name="office-document-settings"/>
-    </choice>
-</start>
-<define name="office-document">
-    <element name="office:document">
-        <ref name="office-document-attrs"/>
-        <ref name="office-document-common-attrs"/>
-        <ref name="office-meta"/>
-        <ref name="office-settings"/>
-        <ref name="office-scripts"/>
-        <ref name="office-font-face-decls"/>
-        <ref name="office-styles"/>
-        <ref name="office-automatic-styles"/>
-        <ref name="office-master-styles"/>
-        <ref name="office-body"/>
-    </element>
-</define>
-<define name="office-document-content">
-    <element name="office:document-content">
-        <ref name="office-document-common-attrs"/>
-        <ref name="office-scripts"/>
-        <ref name="office-font-face-decls"/>
-        <ref name="office-automatic-styles"/>
-        <ref name="office-body"/>
-    </element>
-</define>
-<define name="office-document-styles">
-    <element name="office:document-styles">
-        <ref name="office-document-common-attrs"/>
-        <ref name="office-font-face-decls"/>
-        <ref name="office-styles"/>
-        <ref name="office-automatic-styles"/>
-        <ref name="office-master-styles"/>
-    </element>
-</define>
-<define name="office-document-meta">
-    <element name="office:document-meta">
-        <ref name="office-document-common-attrs"/>
-        <ref name="office-meta"/>
-    </element>
-</define>
-<define name="office-document-settings">
-    <element name="office:document-settings">
-        <ref name="office-document-common-attrs"/>
-        <ref name="office-settings"/>
-    </element>
-</define>
-<define name="office-document-common-attrs" combine="interleave">
-    <optional>
-        <attribute name="office:version">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="office-document-attrs" combine="interleave">
-    <attribute name="office:mimetype">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="office-meta">
-    <optional>
-        <element name="office:meta">
-            <ref name="office-meta-content"/>
-        </element>
-    </optional>
-</define>
-
-<define name="office-meta-content">
-    <ref name="anyElements"/>
-</define>
-
-<define name="office-meta-content-strict">
-    <zeroOrMore>
-        <ref name="office-meta-data"/>
-    </zeroOrMore>
-</define>
-<define name="office-body">
-    <element name="office:body">
-        <ref name="office-body-content"/>
-    </element>
-</define>
-<define name="office-body-content" combine="choice">
-    <element name="office:text">
-        <ref name="office-text-attlist"/>
-        <ref name="office-text-content-prelude"/>
-        <zeroOrMore>
-            <ref name="office-text-content-main"/>
-        </zeroOrMore>
-        <ref name="office-text-content-epilogue"/>
-    </element>
-</define>
-<define name="office-text-content-prelude">
-    <ref name="office-forms"/>
-    <ref name="text-tracked-changes"/>
-    <ref name="text-decls"/>
-    <ref name="table-decls"/>
-</define>
-<define name="office-text-content-main">
-    <choice>
-        <zeroOrMore>
-            <ref name="text-content"/>
-        </zeroOrMore>
-        <group>
-            <ref name="text-page-sequence"/>
-            <zeroOrMore>
-                <choice>
-                    <ref name="draw-a"/>
-                    <ref name="shape"/>
-                </choice>
-            </zeroOrMore>
-        </group>
-    </choice>
-</define>
-
-<define name="text-content">
-    <choice>
-        <ref name="text-h"/>
-        <ref name="text-p"/>
-        <ref name="text-list"/>
-        <ref name="text-numbered-paragraph"/>
-        <ref name="table-table"/>
-        <ref name="draw-a"/>
-        <ref name="text-section"/>
-        <ref name="text-soft-page-break"/> 
-        <ref name="text-table-of-content"/>
-        <ref name="text-illustration-index"/>
-        <ref name="text-table-index"/>
-        <ref name="text-object-index"/>
-        <ref name="text-user-index"/>
-        <ref name="text-alphabetical-index"/>
-        <ref name="text-bibliography"/>
-        <ref name="shape"/>
-        <ref name="change-marks"/>
-    </choice>
-</define>
-<define name="office-text-content-epilogue">
-    <ref name="table-functions"/>
-</define>
-<define name="office-text-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:global" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="office-text-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:use-soft-page-breaks" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="office-body-content" combine="choice">
-    <element name="office:drawing">
-        <ref name="office-drawing-attlist"/>
-        <ref name="office-drawing-content-prelude"/>
-        <ref name="office-drawing-content-main"/>
-        <ref name="office-drawing-content-epilogue"/>
-    </element>
-</define>
-
-<define name="office-drawing-attlist">
-    <empty/>
-</define>
-<define name="office-drawing-content-prelude">
-    <ref name="text-decls"/>
-    <ref name="table-decls"/>
-</define>
-<define name="office-drawing-content-main">
-    <zeroOrMore>
-        <ref name="draw-page"/>
-    </zeroOrMore>
-</define>
-<define name="office-drawing-content-epilogue">
-    <ref name="table-functions"/>
-</define>
-<define name="office-body-content" combine="choice">
-    <element name="office:presentation">
-        <ref name="office-presentation-attlist"/>
-        <ref name="office-presentation-content-prelude"/>
-        <ref name="office-presentation-content-main"/>
-        <ref name="office-presentation-content-epilogue"/>
-    </element>
-</define>
-
-<define name="office-presentation-attlist">
-    <empty/>
-</define>
-<define name="office-presentation-content-prelude">
-    <ref name="text-decls"/>
-    <ref name="table-decls"/>
-    <ref name="presentation-decls"/>
-</define>
-<define name="office-presentation-content-main">
-    <zeroOrMore>
-        <ref name="draw-page"/>
-    </zeroOrMore>
-</define>
-<define name="office-presentation-content-epilogue">
-    <ref name="presentation-settings"/>
-    <ref name="table-functions"/>
-</define>
-<define name="office-body-content" combine="choice">
-    <element name="office:spreadsheet">
-        <ref name="office-spreadsheet-attlist"/>
-        <ref name="office-spreadsheet-content-prelude"/>
-        <ref name="office-spreadsheet-content-main"/>
-        <ref name="office-spreadsheet-content-epilogue"/>
-    </element>
-</define>
-<define name="office-spreadsheet-content-prelude">
-    <optional>
-        <ref name="table-tracked-changes"/>    
-    </optional>
-    <ref name="text-decls"/>
-    <ref name="table-decls"/>
-</define>
-
-<define name="table-decls">
-    <optional>
-        <ref name="table-calculation-settings"/>    
-    </optional>
-    <optional>
-        <ref name="table-content-validations"/>    
-    </optional>
-    <optional>
-        <ref name="table-label-ranges"/>    
-    </optional>
-</define>
-<define name="office-spreadsheet-content-main">
-    <zeroOrMore>
-        <ref name="table-table"/>
-    </zeroOrMore>
-</define>
-<define name="office-spreadsheet-content-epilogue">
-    <ref name="table-functions"/>    
-</define>
-
-<define name="table-functions">
-    <optional>
-        <ref name="table-named-expressions"/>    
-    </optional>
-    <optional>
-        <ref name="table-database-ranges"/>    
-    </optional>
-    <optional>
-        <ref name="table-data-pilot-tables"/>    
-    </optional>
-    <optional>
-        <ref name="table-consolidation"/>    
-    </optional>
-    <optional>
-        <ref name="table-dde-links"/>    
-    </optional>
-</define>
-<define name="office-body-content" combine="choice">
-    <element name="office:chart">
-        <ref name="office-chart-attlist"/>
-        <ref name="office-chart-content-prelude"/>
-        <ref name="office-chart-content-main"/>
-        <ref name="office-chart-content-epilogue"/>
-    </element>
-</define>
-
-<define name="office-chart-attlist">
-    <empty/>
-</define>
-<define name="office-chart-content-prelude">
-    <ref name="text-decls"/>
-    <ref name="table-decls"/>
-</define>
-<define name="office-chart-content-main">
-    <ref name="chart-chart"/>
-</define>
-<define name="office-chart-content-epilogue">
-    <ref name="table-functions"/>    
-</define>
-<define name="office-body-content" combine="choice">
-    <element name="office:image">
-        <ref name="office-image-attlist"/>
-        <ref name="office-image-content-prelude"/>
-        <ref name="office-image-content-main"/>
-        <ref name="office-image-content-epilogue"/>
-    </element>
-</define>
-
-<define name="office-image-attlist">
-    <empty/>
-</define>
-<define name="office-image-content-prelude">
-    <empty/>
-</define>
-<define name="office-image-content-main">
-    <ref name="draw-frame"/>
-</define>
-<define name="office-image-content-epilogue">
-    <empty/>
-</define>
-<define name="office-settings">
-    <optional>
-        <element name="office:settings">
-            <oneOrMore>
-                <ref name="config-config-item-set"/>
-            </oneOrMore>
-        </element>
-    </optional>
-</define>
-<define name="config-config-item-set">
-    <element name="config:config-item-set">
-        <ref name="config-config-item-set-attlist"/>
-        <ref name="config-items"/>
-    </element>
-</define>
-
-<define name="config-items">
-    <oneOrMore>
-        <choice>
-            <ref name="config-config-item"/>
-            <ref name="config-config-item-set"/>
-            <ref name="config-config-item-map-named"/>
-            <ref name="config-config-item-map-indexed"/>
-        </choice>
-    </oneOrMore>
-</define>
-<define name="config-config-item-set-attlist" combine="interleave">
-    <attribute name="config:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="config-config-item">
-    <element name="config:config-item">
-        <ref name="config-config-item-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="config-config-item-attlist" combine="interleave">
-    <attribute name="config:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="config-config-item-attlist" combine="interleave">
-    <attribute name="config:type">
-        <choice>
-            <value>boolean</value>
-            <value>short</value>
-            <value>int</value>
-            <value>long</value>
-            <value>double</value>
-            <value>string</value>
-            <value>datetime</value>
-            <value>base64Binary</value>
-        </choice>
-    </attribute>
-</define>
-<define name="config-config-item-map-indexed">
-    <element name="config:config-item-map-indexed">
-        <ref name="config-config-item-map-indexed-attlist"/>
-        <oneOrMore>
-            <ref name="config-config-item-map-entry"/>
-        </oneOrMore>
-    </element>
-</define>
-<define name="config-config-item-map-indexed-attlist" combine="interleave">
-    <attribute name="config:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="config-config-item-map-entry">
-    <element name="config:config-item-map-entry">
-        <ref name="config-config-item-map-entry-attlist"/>
-        <ref name="config-items"/>
-    </element>
-</define>
-<define name="config-config-item-map-entry-attlist" combine="interleave">
-    <optional>
-        <attribute name="config:name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="config-config-item-map-named">
-    <element name="config:config-item-map-named">
-        <ref name="config-config-item-map-named-attlist"/>
-        <oneOrMore>
-            <ref name="config-config-item-map-entry"/>
-        </oneOrMore>
-    </element>
-</define>
-<define name="config-config-item-map-named-attlist" combine="interleave">
-    <attribute name="config:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="office-scripts">
-    <optional>
-        <element name="office:scripts">
-            <zeroOrMore>
-                <ref name="office-script"/>
-            </zeroOrMore>
-            <optional>
-                <ref name="office-event-listeners"/>
-            </optional>
-        </element>
-    </optional>
-</define>
-<define name="office-script">
-    <element name="office:script">
-        <ref name="office-script-attlist"/>
-        <mixed>
-            <ref name="anyElements"/>
-        </mixed>
-    </element>
-</define>
-<define name="office-script-attlist">
-    <attribute name="script:language">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="office-font-face-decls">
-    <optional>
-        <element name="office:font-face-decls">
-            <zeroOrMore>
-                <ref name="style-font-face"/>
-            </zeroOrMore>
-        </element>
-    </optional>
-</define>
-<define name="office-styles">
-    <optional>
-        <element name="office:styles">
-            <interleave>
-                <ref name="styles"/>
-                <zeroOrMore>
-                    <ref name="style-default-style"/>
-                </zeroOrMore>
-                <optional>
-                    <ref name="text-outline-style"/>
-                </optional>
-                <zeroOrMore>
-                    <ref name="text-notes-configuration"/>
-                </zeroOrMore>
-                <optional>
-                    <ref name="text-bibliography-configuration"/>
-                </optional>
-                <optional>
-                    <ref name="text-linenumbering-configuration"/>
-                </optional>
-                <zeroOrMore>
-                    <ref name="draw-gradient"/>
-                </zeroOrMore>
-                <zeroOrMore>
-                    <ref name="svg-linearGradient"/>
-                </zeroOrMore>
-                <zeroOrMore>
-                    <ref name="svg-radialGradient"/>
-                </zeroOrMore>
-                <zeroOrMore>
-                    <ref name="draw-hatch"/>
-                </zeroOrMore>
-                <zeroOrMore>
-                    <ref name="draw-fill-image"/>
-                </zeroOrMore>
-                <zeroOrMore>
-                    <ref name="draw-marker"/>
-                </zeroOrMore>
-                <zeroOrMore>
-                    <ref name="draw-stroke-dash"/>
-                </zeroOrMore>
-                <zeroOrMore>
-                    <ref name="draw-opacity"/>
-                </zeroOrMore>
-                <zeroOrMore>
-                    <ref name="style-presentation-page-layout"/>
-                </zeroOrMore>
-            </interleave>
-        </element>
-    </optional>
-</define>
-<define name="office-automatic-styles">
-    <optional>
-        <element name="office:automatic-styles">
-            <interleave>
-                <ref name="styles"/>
-                <zeroOrMore>
-                    <ref name="style-page-layout"/>
-                </zeroOrMore>
-            </interleave>
-        </element>
-    </optional>
-</define>
-<define name="office-master-styles">
-    <optional>
-        <element name="office:master-styles">
-            <interleave>
-                <zeroOrMore>
-                    <ref name="style-master-page"/>
-                </zeroOrMore>
-                <optional>
-                    <ref name="style-handout-master"/>
-                </optional>
-                <optional>
-                    <ref name="draw-layer-set"/>
-                </optional>
-            </interleave>
-        </element>
-    </optional>
-</define>
-
-<define name="styles">
-    <interleave>
-        <zeroOrMore>
-            <ref name="style-style"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="text-list-style"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="number-number-style"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="number-currency-style"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="number-percentage-style"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="number-date-style"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="number-time-style"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="number-boolean-style"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="number-text-style"/>
-        </zeroOrMore>
-    </interleave>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="meta:generator">
-        <ref name="string"/>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="dc:title">
-        <ref name="string"/>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="dc:description">
-        <ref name="string"/>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="dc:subject">
-        <ref name="string"/>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="meta:keyword">
-        <ref name="string"/>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="meta:initial-creator">
-        <ref name="string"/>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <ref name="dc-creator"/>
-</define>
-<define name="dc-creator">
-    <element name="dc:creator">
-        <ref name="string"/>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="meta:printed-by">
-        <ref name="string"/>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="meta:creation-date">
-        <ref name="dateTime"/>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <ref name="dc-date"/>
-</define>
-<define name="dc-date">
-    <element name="dc:date">
-        <ref name="dateTime"/>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="meta:print-date">
-        <ref name="dateTime"/>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="meta:template">
-        <attribute name="xlink:href">
-            <ref name="anyURI"/>
-        </attribute>
-        <optional>
-            <attribute name="xlink:type" a:defaultValue="simple">
-                <value>simple</value>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="xlink:actuate" a:defaultValue="onRequest">
-                <value>onRequest</value>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="xlink:title">
-                <ref name="string"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="meta:date">
-                <ref name="dateTime"/>
-            </attribute>
-        </optional>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="meta:auto-reload">
-        <optional>
-            <attribute name="xlink:type" a:defaultValue="simple">
-                <value>simple</value>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="xlink:show" a:defaultValue="replace">
-                <value>replace</value>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="xlink:actuate" a:defaultValue="onLoad">
-                <value>onLoad</value>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="xlink:href">
-                <ref name="anyURI"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="meta:delay">
-                <ref name="duration"/>
-            </attribute>
-        </optional>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="meta:hyperlink-behaviour">
-        <optional>
-            <attribute name="office:target-frame-name">
-                <ref name="targetFrameName"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="xlink:show">
-                <choice>
-                    <value>new</value>
-                    <value>replace</value>
-                </choice>
-            </attribute>
-        </optional>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="dc:language">
-        <ref name="language"/>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="meta:editing-cycles">
-        <ref name="nonNegativeInteger"/>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="meta:editing-duration">
-        <ref name="duration"/>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="meta:document-statistic">
-        <optional>
-            <attribute name="meta:page-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="meta:table-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="meta:draw-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="meta:image-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="meta:ole-object-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="meta:object-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="meta:paragraph-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="meta:word-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="meta:character-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="frame-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="sentence-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="syllable-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="non-whitespace-character-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="meta:row-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="meta:cell-count">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-    </element>
-</define>
-<define name="office-meta-data" combine="choice">
-    <element name="meta:user-defined">
-        <attribute name="meta:name">
-            <ref name="string"/>
-        </attribute>
-        <choice>
-            <group>
-                <attribute name="meta:value-type">
-                    <value>float</value>
-                </attribute>
-                <ref name="double"/>
-            </group>
-            <group>
-                <attribute name="meta:value-type">
-                    <value>date</value>
-                </attribute>
-                <ref name="dateOrDateTime"/>
-            </group>
-            <group>
-                <attribute name="meta:value-type">
-                    <value>time</value>
-                </attribute>
-                <ref name="duration"/>
-            </group>
-            <group>
-                <attribute name="meta:value-type">
-                    <value>boolean</value>
-                </attribute>
-                <ref name="boolean"/>
-            </group>
-            <group>
-                <attribute name="meta:value-type">
-                    <value>string</value>
-                </attribute>
-                <ref name="string"/>
-            </group>
-            <text/>
-        </choice>
-    </element>
-</define>
-<define name="text-h">
-    <element name="text:h">
-        <ref name="heading-attrs"/>
-        <ref name="paragraph-attrs"/>
-        <optional>
-            <ref name="text-number"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="paragraph-content"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="heading-attrs" combine="interleave">
-    <attribute name="text:outline-level">
-        <ref name="positiveInteger"/>
-    </attribute>
-</define>
-<define name="heading-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:restart-numbering" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="heading-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:start-value">
-            <ref name="nonNegativeInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="heading-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:is-list-header" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-number">
-    <element name="text:number">
-        <ref name="string"/>
-    </element>
-</define>
-<define name="text-p">
-    <element name="text:p">
-        <ref name="paragraph-attrs"/>
-        <zeroOrMore>
-            <ref name="paragraph-content"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="paragraph-attrs">
-    <optional>
-        <attribute name="text:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="text:class-names">
-            <ref name="styleNameRefs"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="text:cond-style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-attrs" combine="interleave">
-    <optional>
-        <ref name="text-id"/>
-    </optional>
-</define>
-<define name="text-page-sequence">
-    <element name="text:page-sequence">
-        <oneOrMore>
-            <ref name="text-page"/>
-        </oneOrMore>
-    </element>
-</define>
-<define name="text-page">
-    <element name="text:page">
-        <ref name="text-page-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="text-page-attlist">
-    <attribute name="text:master-page-name">
-        <ref name="styleNameRef"/>
-    </attribute>
-</define>
-<define name="text-list">
-    <element name="text:list">
-        <ref name="text-list-attr"/>
-        <optional>
-            <ref name="text-list-header"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="text-list-item"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="text-list-attr" combine="interleave">
-    <optional>
-        <attribute name="text:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-list-attr" combine="interleave">
-    <optional>
-        <attribute name="text:continue-numbering">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-list-item">
-    <element name="text:list-item">
-        <ref name="text-list-item-attr"/>
-        <ref name="text-list-item-content"/>
-    </element>
-</define>
-<define name="text-list-item-content">
-    <optional>
-        <ref name="text-number"/>
-    </optional>
-    <zeroOrMore>
-        <choice>
-            <ref name="text-p"/>
-            <ref name="text-h"/>
-            <ref name="text-list"/>
-            <ref name="text-soft-page-break"/>
-        </choice>
-    </zeroOrMore>
-</define>
-<define name="text-list-item-attr" combine="interleave">
-    <optional>
-        <attribute name="text:start-value">
-            <ref name="nonNegativeInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-list-header">
-    <element name="text:list-header">
-        <ref name="text-list-item-content"/>
-    </element>
-</define>
-<define name="text-numbered-paragraph">
-    <element name="text:numbered-paragraph">
-        <ref name="text-numbered-paragraph-attr"/>
-        <optional>
-            <ref name="text-number"/>
-        </optional>
-        <choice>
-            <ref name="text-p"/>
-            <ref name="text-h"/>
-        </choice>
-    </element>
-</define>
-<define name="text-numbered-paragraph-attr" combine="interleave">
-    <optional>
-        <attribute name="text:level" a:defaultValue="1">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-numbered-paragraph-attr" combine="interleave">
-    <ref name="text-list-attr"/>
-</define>
-<define name="text-numbered-paragraph-attr" combine="interleave">
-    <ref name="text-list-item-attr"/>
-</define>
-<define name="text-section">
-    <element name="text:section">
-        <ref name="text-section-attr"/>
-        <choice>
-            <ref name="text-section-source"/>
-            <ref name="text-section-source-dde"/>
-            <empty/>
-        </choice>
-        <zeroOrMore>
-            <ref name="text-content"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="text-section-attr" combine="interleave">
-    <ref name="sectionAttr"/>
-</define>
-<define name="sectionAttr" combine="interleave">
-    <optional>
-        <attribute name="text:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="sectionAttr" combine="interleave">
-    <attribute name="text:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="sectionAttr" combine="interleave">
-    <optional>
-        <attribute name="text:protected">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="sectionAttr" combine="interleave">
-    <optional>
-        <attribute name="text:protection-key">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-section-attr" combine="interleave">
-    <choice>
-        <attribute name="text:display">
-            <choice>
-                <value>true</value>
-                <value>none</value>
-            </choice>
-        </attribute>
-        <group>
-            <attribute name="text:display">
-                <value>condition</value>
-            </attribute>
-            <attribute name="text:condition">
-                <ref name="string"/>
-            </attribute>
-        </group>
-        <empty/>
-    </choice>
-</define>
-<define name="text-section-source">
-    <element name="text:section-source">
-        <ref name="text-section-source-attr"/>
-    </element>
-</define>
-<define name="text-section-source-attr" combine="interleave">
-    <optional>
-        <attribute name="xlink:href">
-            <ref name="anyURI"/>
-        </attribute>
-        <optional>
-            <attribute name="xlink:type" a:defaultValue="simple">
-                <value>simple</value>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="xlink:show" a:defaultValue="embed">
-                <value>embed</value>
-            </attribute>
-        </optional>
-    </optional>
-</define>
-<define name="text-section-source-attr" combine="interleave">
-    <optional>
-        <attribute name="text:section-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-section-source-attr" combine="interleave">
-    <optional>
-        <attribute name="text:filter-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-section-source-dde">
-    <ref name="office-dde-source"/>
-</define>
-<define name="text-tracked-changes">
-    <optional>
-        <element name="text:tracked-changes">
-            <ref name="text-tracked-changes-attr"/>
-            <zeroOrMore>
-                <ref name="text-changed-region"/>
-            </zeroOrMore>
-        </element>
-    </optional>
-</define>
-<define name="text-tracked-changes-attr" combine="interleave">
-    <optional>
-        <attribute name="text:track-changes" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-changed-region">
-    <element name="text:changed-region">
-        <ref name="text-changed-region-attr"/>
-        <ref name="text-changed-region-content"/>
-    </element>
-</define>
-<define name="text-changed-region-attr" combine="interleave">
-    <attribute name="text:id">
-        <ref name="ID"/>
-    </attribute>
-</define>
-<define name="text-changed-region-content" combine="choice">
-    <element name="text:insertion">
-        <ref name="office-change-info"/>
-    </element>
-</define>
-<define name="text-changed-region-content" combine="choice">
-    <element name="text:deletion">
-        <ref name="office-change-info"/>
-        <zeroOrMore>
-            <ref name="text-content"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="text-changed-region-content" combine="choice">
-    <element name="text:format-change">
-        <ref name="office-change-info"/>
-    </element>
-</define>
-<define name="change-marks">
-    <choice>
-        <element name="text:change">
-            <ref name="change-mark-attr"/>
-        </element>
-        <element name="text:change-start">
-            <ref name="change-mark-attr"/>
-        </element>
-        <element name="text:change-end">
-            <ref name="change-mark-attr"/>
-        </element>
-    </choice>
-</define>
-<define name="change-mark-attr">
-    <attribute name="text:change-id">
-        <ref name="IDREF"/>
-    </attribute>
-</define>
-<define name="text-soft-page-break">
-    <element name="text:soft-page-break">
-        <empty/>
-    </element>
-</define>
-<define name="text-decls">
-    <optional>
-        <element name="text:variable-decls">
-            <zeroOrMore>
-                <ref name="text-variable-decl"/>
-            </zeroOrMore>
-        </element>
-    </optional>
-    <optional>
-        <element name="text:sequence-decls">
-            <zeroOrMore>
-                <ref name="text-sequence-decl"/>
-            </zeroOrMore>
-        </element>
-    </optional>
-    <optional>
-        <element name="text:user-field-decls">
-            <zeroOrMore>
-                <ref name="text-user-field-decl"/>
-            </zeroOrMore>
-        </element>
-    </optional>
-    <optional>
-        <element name="text:dde-connection-decls">
-            <zeroOrMore>
-                <ref name="text-dde-connection-decl"/>
-            </zeroOrMore>
-        </element>
-    </optional>
-    <optional>
-        <ref name="text-alphabetical-index-auto-mark-file"/>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <text/>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:s">
-        <optional>
-            <attribute name="text:c">
-                <ref name="nonNegativeInteger"/>
-            </attribute>
-        </optional>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:tab">
-        <ref name="text-tab-attr"/>
-    </element>
-</define>
-<define name="text-tab-attr">
-    <optional>
-        <attribute name="text:tab-ref">
-            <ref name="nonNegativeInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:line-break">
-        <empty/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <ref name="text-soft-page-break"/>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:span">
-        <optional>
-            <attribute name="text:style-name">
-                <ref name="styleNameRef"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="text:class-names">
-                <ref name="styleNameRefs"/>
-            </attribute>
-        </optional>
-        <zeroOrMore>
-            <ref name="paragraph-content"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:a">
-        <ref name="text-a-attlist"/>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="paragraph-content"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="text-a-attlist" combine="interleave">
-    <optional>
-        <attribute name="office:name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-a-attlist" combine="interleave">
-    <optional>
-        <attribute name="office:title">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-a-attlist" combine="interleave">
-    <attribute name="xlink:href">
-        <ref name="anyURI"/>
-    </attribute>
-    <optional>
-        <attribute name="xlink:type" a:defaultValue="simple">
-            <value>simple</value>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="xlink:actuate" a:defaultValue="onRequest">
-            <value>onRequest</value>
-        </attribute>
-    </optional>
-</define>
-<define name="text-a-attlist" combine="interleave">
-    <optional>
-        <attribute name="office:target-frame-name">
-            <ref name="targetFrameName"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="xlink:show">
-            <choice>
-                <value>new</value>
-                <value>replace</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="text-a-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="text:visited-style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <choice>
-        <element name="text:bookmark">
-            <attribute name="text:name">
-                <ref name="string"/>
-            </attribute>
-        </element>
-        <element name="text:bookmark-start">
-            <attribute name="text:name">
-                <ref name="string"/>
-            </attribute>
-        </element>
-        <element name="text:bookmark-end">
-            <attribute name="text:name">
-                <ref name="string"/>
-            </attribute>
-        </element>
-    </choice>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:reference-mark">
-        <attribute name="text:name">
-            <ref name="string"/>
-        </attribute>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <choice>
-        <element name="text:reference-mark-start">
-            <attribute name="text:name">
-                <ref name="string"/>
-            </attribute>
-        </element>
-        <element name="text:reference-mark-end">
-            <attribute name="text:name">
-                <ref name="string"/>
-            </attribute>
-        </element>
-    </choice>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:note">
-        <ref name="text-note-class"/>
-        <optional>
-            <attribute name="text:id">
-                <ref name="string"/>
-            </attribute>
-        </optional>
-        <element name="text:note-citation">
-            <optional>
-                <attribute name="text:label">
-                    <ref name="string"/>
-                </attribute>
-            </optional>
-            <text/>
-        </element>
-        <element name="text:note-body">
-            <zeroOrMore>
-                <ref name="text-content"/>
-            </zeroOrMore>
-        </element>
-    </element>
-</define>
-<define name="text-note-class">
-    <attribute name="text:note-class">
-        <choice>
-            <value>footnote</value>
-            <value>endnote</value>
-        </choice>
-    </attribute>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:ruby">
-        <optional>
-            <attribute name="text:style-name">
-                <ref name="styleNameRef"/>
-            </attribute>
-        </optional>
-        <element name="text:ruby-base">
-            <ref name="paragraph-content"/>
-        </element>
-        <element name="text:ruby-text">
-            <optional>
-                <attribute name="text:style-name">
-                    <ref name="styleNameRef"/>
-                </attribute>
-            </optional>
-            <text/>
-        </element>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <ref name="office-annotation"/>
-</define>
-<define name="paragraph-content" combine="choice">
-    <ref name="change-marks"/>
-</define>
-<define name="paragraph-content" combine="choice">
-    <choice>
-        <ref name="shape"/>
-        <ref name="draw-a"/>
-    </choice>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:date">
-        <ref name="text-date-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="text-date-attlist" combine="interleave">
-    <interleave>
-        <ref name="common-field-fixed-attlist"/>
-        <ref name="common-field-data-style-name-attlist"/>
-    </interleave>
-</define>
-<define name="text-date-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:date-value">
-            <ref name="dateOrDateTime"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-date-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:date-adjust">
-            <ref name="duration"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:time">
-        <ref name="text-time-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="text-time-attlist" combine="interleave">
-    <interleave>
-        <ref name="common-field-fixed-attlist"/>
-        <ref name="common-field-data-style-name-attlist"/>
-    </interleave>
-</define>
-<define name="text-time-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:time-value">
-            <ref name="timeOrDateTime"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-time-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:time-adjust">
-            <ref name="duration"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:page-number">
-        <ref name="text-page-number-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="text-page-number-attlist" combine="interleave">
-    <interleave>
-        <ref name="common-field-num-format-attlist"/>
-        <ref name="common-field-fixed-attlist"/>
-    </interleave>
-</define>
-<define name="text-page-number-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:page-adjust">
-            <ref name="integer"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-page-number-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:select-page">
-            <choice>
-                <value>previous</value>
-                <value>current</value>
-                <value>next</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:page-continuation">
-        <ref name="text-page-continuation-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="text-page-continuation-attlist" combine="interleave">
-    <attribute name="text:select-page">
-        <choice>
-            <value>previous</value>
-            <value>next</value>
-        </choice>
-    </attribute>
-</define>
-<define name="text-page-continuation-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:string-value">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-firstname">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-lastname">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-initials">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-title">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-position">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-email">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-phone-private">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-fax">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-company">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-phone-work">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-street">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-city">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-postal-code">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-country">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sender-state-or-province">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:author-name">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:author-initials">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:chapter">
-        <ref name="text-chapter-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="text-chapter-attlist" combine="interleave">
-    <attribute name="text:display">
-        <choice>
-            <value>name</value>
-            <value>number</value>
-            <value>number-and-name</value>
-            <value>plain-number-and-name</value>
-            <value>plain-number</value>
-        </choice>
-    </attribute>
-</define>
-<define name="text-chapter-attlist" combine="interleave">
-    <attribute name="text:outline-level">
-        <ref name="nonNegativeInteger"/>
-    </attribute>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:file-name">
-        <ref name="text-file-name-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="text-file-name-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:display">
-            <choice>
-                <value>full</value>
-                <value>path</value>
-                <value>name</value>
-                <value>name-and-extension</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="text-file-name-attlist" combine="interleave">
-    <ref name="common-field-fixed-attlist"/>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:template-name">
-        <ref name="text-template-name-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="text-template-name-attlist">
-    <optional>
-        <attribute name="text:display">
-            <choice>
-                <value>full</value>
-                <value>path</value>
-                <value>name</value>
-                <value>name-and-extension</value>
-                <value>area</value>
-                <value>title</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sheet-name">
-        <text/>
-    </element>
-</define>
-<define name="text-variable-decl">
-    <element name="text:variable-decl">
-        <ref name="common-field-name-attlist"/>
-        <ref name="common-value-type-attlist"/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:variable-set">
-        <interleave>
-            <ref name="common-field-name-attlist"/>
-            <ref name="common-field-formula-attlist"/>
-            <ref name="common-value-and-type-attlist"/>
-            <ref name="common-field-display-value-none-attlist"/>
-            <ref name="common-field-data-style-name-attlist"/>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:variable-get">
-        <interleave>
-            <ref name="common-field-name-attlist"/>
-            <ref name="common-field-display-value-formula-attlist"/>
-            <ref name="common-field-data-style-name-attlist"/>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:variable-input">
-        <interleave>
-            <ref name="common-field-name-attlist"/>
-            <ref name="common-field-description-attlist"/>
-            <ref name="common-value-type-attlist"/>
-            <ref name="common-field-display-value-none-attlist"/>
-            <ref name="common-field-data-style-name-attlist"/>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="text-user-field-decl">
-    <element name="text:user-field-decl">
-        <ref name="common-field-name-attlist"/>
-        <optional>
-            <ref name="common-field-formula-attlist"/>
-        </optional>
-        <ref name="common-value-and-type-attlist"/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:user-field-get">
-        <interleave>
-            <ref name="common-field-name-attlist"/>
-            <ref name="common-field-display-value-formula-none-attlist"/>
-            <ref name="common-field-data-style-name-attlist"/>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:user-field-input">
-        <interleave>
-            <ref name="common-field-name-attlist"/>
-            <ref name="common-field-description-attlist"/>
-            <ref name="common-field-data-style-name-attlist"/>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="text-sequence-decl">
-    <element name="text:sequence-decl">
-        <ref name="text-sequence-decl-attlist"/>
-    </element>
-</define>
-<define name="text-sequence-decl-attlist" combine="interleave">
-    <ref name="common-field-name-attlist"/>
-</define>
-<define name="text-sequence-decl-attlist" combine="interleave">
-    <attribute name="text:display-outline-level">
-        <ref name="nonNegativeInteger"/>
-    </attribute>
-</define>
-<define name="text-sequence-decl-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:separation-character">
-            <ref name="character"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sequence">
-        <interleave>
-            <ref name="common-field-name-attlist"/>
-            <ref name="common-field-formula-attlist"/>
-            <ref name="common-field-num-format-attlist"/>
-            <ref name="text-sequence-ref-name"/>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="text-sequence-ref-name">
-    <optional>
-        <attribute name="text:ref-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:expression">
-        <interleave>
-            <ref name="common-field-formula-attlist"/>
-            <optional>
-                <ref name="common-value-and-type-attlist"/>
-            </optional>
-            <ref name="common-field-display-value-formula-attlist"/>
-            <ref name="common-field-data-style-name-attlist"/>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:text-input">
-        <ref name="common-field-description-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:initial-creator">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:creation-date">
-        <interleave>
-            <ref name="common-field-fixed-attlist"/>
-            <ref name="common-field-data-style-name-attlist"/>
-            <optional>
-                <attribute name="text:date-value">
-                    <ref name="dateOrDateTime"/>
-                </attribute>
-            </optional>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:creation-time">
-        <interleave>
-            <ref name="common-field-fixed-attlist"/>
-            <ref name="common-field-data-style-name-attlist"/>
-            <optional>
-                <attribute name="text:time-value">
-                    <ref name="timeOrDateTime"/>
-                </attribute>
-            </optional>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:description">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:user-defined">
-        <interleave>
-            <ref name="common-field-fixed-attlist"/>
-            <attribute name="text:name">
-                <ref name="string"/>
-            </attribute>
-            <ref name="common-field-data-style-name-attlist"/>
-            <optional>
-                <attribute name="office:value">
-                    <ref name="double"/>
-                </attribute>
-            </optional>
-            <optional>
-                <attribute name="office:date-value">
-                    <ref name="dateOrDateTime"/>
-                </attribute>
-            </optional>
-            <optional>
-                <attribute name="office:time-value">
-                    <ref name="duration"/>
-                </attribute>
-            </optional>
-            <optional>
-                <attribute name="office:boolean-value">
-                    <ref name="boolean"/>
-                </attribute>
-            </optional>
-            <optional>
-                <attribute name="office:string-value">
-                    <ref name="string"/>
-                </attribute>
-            </optional>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:print-time">
-        <interleave>
-            <ref name="common-field-fixed-attlist"/>
-            <ref name="common-field-data-style-name-attlist"/>
-            <optional>
-                <attribute name="text:time-value">
-                    <ref name="time"/>
-                </attribute>
-            </optional>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:print-date">
-        <interleave>
-            <ref name="common-field-fixed-attlist"/>
-            <ref name="common-field-data-style-name-attlist"/>
-            <optional>
-                <attribute name="text:date-value">
-                    <ref name="date"/>
-                </attribute>
-            </optional>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:printed-by">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:title">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:subject">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:keywords">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:editing-cycles">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:editing-duration">
-        <interleave>
-            <ref name="common-field-fixed-attlist"/>
-            <ref name="common-field-data-style-name-attlist"/>
-            <optional>
-                <attribute name="text:duration">
-                    <ref name="duration"/>
-                </attribute>
-            </optional>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:modification-time">
-        <interleave>
-            <ref name="common-field-fixed-attlist"/>
-            <ref name="common-field-data-style-name-attlist"/>
-            <optional>
-                <attribute name="text:time-value">
-                    <ref name="time"/>
-                </attribute>
-            </optional>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:modification-date">
-        <interleave>
-            <ref name="common-field-fixed-attlist"/>
-            <ref name="common-field-data-style-name-attlist"/>
-            <optional>
-                <attribute name="text:date-value">
-                    <ref name="date"/>
-                </attribute>
-            </optional>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:creator">
-        <ref name="common-field-fixed-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element>
-        <choice>
-            <name>text:page-count</name>
-            <name>text:paragraph-count</name>
-            <name>text:word-count</name>
-            <name>text:character-count</name>
-            <name>text:table-count</name>
-            <name>text:image-count</name>
-            <name>text:object-count</name>
-        </choice>
-        <ref name="common-field-num-format-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="common-field-database-table">
-    <ref name="common-field-database-table-attlist"/>
-    <ref name="common-field-database-name"/>
-</define>
-<define name="common-field-database-name" combine="choice">
-    <optional>
-        <attribute name="text:database-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-field-database-name" combine="choice">
-    <ref name="form-connection-resource"/>
-</define>
-<define name="common-field-database-table-attlist" combine="interleave">
-    <attribute name="text:table-name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="common-field-database-table-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:table-type">
-            <choice>
-                <value>table</value>
-                <value>query</value>
-                <value>command</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:database-display">
-        <ref name="text-database-display-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="text-database-display-attlist" combine="interleave">
-    <ref name="common-field-database-table"/>
-</define>
-<define name="text-database-display-attlist" combine="interleave">
-    <ref name="common-field-data-style-name-attlist"/>
-</define>
-<define name="text-database-display-attlist" combine="interleave">
-    <attribute name="text:column-name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:database-next">
-        <ref name="text-database-next-attlist"/>
-    </element>
-</define>
-<define name="text-database-next-attlist" combine="interleave">
-    <ref name="common-field-database-table"/>
-</define>
-<define name="text-database-next-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:condition">
-            <ref name="formula"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:database-row-select">
-        <ref name="text-database-row-select-attlist"/>
-    </element>
-</define>
-<define name="text-database-row-select-attlist" combine="interleave">
-    <ref name="common-field-database-table"/>
-</define>
-<define name="text-database-row-select-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:condition">
-            <ref name="formula"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-database-row-select-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:row-number">
-            <ref name="nonNegativeInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:database-row-number">
-        <interleave>
-            <ref name="common-field-database-table"/>
-            <ref name="common-field-num-format-attlist"/>
-            <optional>
-                <attribute name="text:value">
-                    <ref name="nonNegativeInteger"/>
-                </attribute>
-            </optional>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:database-name">
-        <ref name="common-field-database-table"/>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:page-variable-set">
-        <ref name="text-set-page-variable-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="text-set-page-variable-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:active">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-set-page-variable-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:page-adjust">
-            <ref name="integer"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:page-variable-get">
-        <ref name="text-get-page-variable-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="text-get-page-variable-attlist" combine="interleave">
-    <ref name="common-field-num-format-attlist"/>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:placeholder">
-        <ref name="text-placeholder-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="text-placeholder-attlist" combine="interleave">
-    <attribute name="text:placeholder-type">
-        <choice>
-            <value>text</value>
-            <value>table</value>
-            <value>text-box</value>
-            <value>image</value>
-            <value>object</value>
-        </choice>
-    </attribute>
-</define>
-<define name="text-placeholder-attlist" combine="interleave">
-    <ref name="common-field-description-attlist"/>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:conditional-text">
-        <ref name="text-conditional-text-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="text-conditional-text-attlist" combine="interleave">
-    <attribute name="text:condition">
-        <ref name="formula"/>
-    </attribute>
-</define>
-<define name="text-conditional-text-attlist" combine="interleave">
-    <attribute name="text:string-value-if-true">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="text-conditional-text-attlist" combine="interleave">
-    <attribute name="text:string-value-if-false">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="text-conditional-text-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:current-value">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:hidden-text">
-        <ref name="text-hidden-text-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="text-hidden-text-attlist" combine="interleave">
-    <attribute name="text:condition">
-        <ref name="formula"/>
-    </attribute>
-</define>
-<define name="text-hidden-text-attlist" combine="interleave">
-    <attribute name="text:string-value">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="text-hidden-text-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:is-hidden">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element>
-        <choice>
-            <name>text:reference-ref</name>
-            <name>text:bookmark-ref</name>
-        </choice>
-        <interleave>
-            <ref name="text-common-ref-content"/>
-            <ref name="text-ref-content"/>
-        </interleave>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:note-ref">
-        <interleave>
-            <ref name="text-common-ref-content"/>
-            <ref name="text-note-ref-content"/>
-            <ref name="text-ref-content"/>
-        </interleave>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:sequence-ref">
-        <interleave>
-            <ref name="text-common-ref-content"/>
-            <ref name="text-sequence-ref-content"/>
-        </interleave>
-    </element>
-</define>
-<define name="text-common-ref-content" combine="interleave">
-    <text/>
-</define>
-<define name="text-common-ref-content" combine="interleave">
-    <optional>
-        <attribute name="text:ref-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-note-ref-content" combine="interleave">
-    <ref name="text-note-class"/>
-</define>
-<define name="text-ref-content" combine="interleave">
-    <optional>
-        <attribute name="text:reference-format">
-            <choice>
-                <value>page</value>
-                <value>chapter</value>
-                <value>direction</value>
-                <value>text</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="text-sequence-ref-content" combine="interleave">
-    <optional>
-        <attribute name="text:reference-format">
-            <choice>
-                <value>page</value>
-                <value>chapter</value>
-                <value>direction</value>
-                <value>text</value>
-                <value>category-and-value</value>
-                <value>caption</value>
-                <value>value</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:script">
-        <interleave>
-            <choice>
-                <group>
-                    <attribute name="xlink:href">
-                        <ref name="anyURI"/>
-                    </attribute>
-                    <optional>
-                        <attribute name="xlink:type" a:defaultValue="simple">
-                            <value>simple</value>
-                        </attribute>
-                    </optional>
-                </group>    
-                <text/>
-            </choice>
-            <optional>
-                <attribute name="script:language">
-                    <ref name="string"/>
-                </attribute>
-            </optional>
-        </interleave>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:execute-macro">
-        <optional>
-            <attribute name="text:name">
-                <ref name="string"/>
-            </attribute>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:hidden-paragraph">
-        <ref name="text-hidden-paragraph-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="text-hidden-paragraph-attlist" combine="interleave">
-    <attribute name="text:condition">
-        <ref name="formula"/>
-    </attribute>
-</define>
-<define name="text-hidden-paragraph-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:is-hidden">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:dde-connection">
-        <attribute name="text:connection-name">
-            <ref name="string"/>
-        </attribute>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:measure">
-        <attribute name="text:kind">
-            <choice>
-                <value>value</value>
-                <value>unit</value>
-                <value>gap</value>
-            </choice>
-        </attribute>
-        <text/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:table-formula">
-        <interleave>
-            <ref name="common-field-formula-attlist"/>
-            <ref name="common-field-display-value-formula-attlist"/>
-            <ref name="common-field-data-style-name-attlist"/>
-        </interleave>
-        <text/>
-    </element>
-</define>
-<define name="common-value-type-attlist">
-    <attribute name="office:value-type">
-        <ref name="valueType"/>
-    </attribute>
-</define>
-<define name="common-value-and-type-attlist">
-    <choice>
-        <group>
-            <attribute name="office:value-type">
-                <value>float</value>
-            </attribute>
-            <attribute name="office:value">
-                <ref name="double"/>
-            </attribute>
-        </group>
-        <group>
-            <attribute name="office:value-type">
-                <value>percentage</value>
-            </attribute>
-            <attribute name="office:value">
-                <ref name="double"/>
-            </attribute>
-        </group>
-        <group>
-            <attribute name="office:value-type">
-                <value>currency</value>
-            </attribute>
-            <attribute name="office:value">
-                <ref name="double"/>
-            </attribute>
-            <optional>
-                <attribute name="office:currency">
-                    <ref name="string"/>
-                </attribute>
-            </optional>
-        </group>
-        <group>
-            <attribute name="office:value-type">
-                <value>date</value>
-            </attribute>
-            <attribute name="office:date-value">
-                <ref name="dateOrDateTime"/>
-            </attribute>
-        </group>
-        <group>
-            <attribute name="office:value-type">
-                <value>time</value>
-            </attribute>
-            <attribute name="office:time-value">
-                <ref name="duration"/>
-            </attribute>
-        </group>
-        <group>
-            <attribute name="office:value-type">
-                <value>boolean</value>
-            </attribute>
-            <attribute name="office:boolean-value">
-                <ref name="boolean"/>
-            </attribute>
-        </group>
-        <group>
-            <attribute name="office:value-type">
-                <value>string</value>
-            </attribute>
-            <optional>
-                <attribute name="office:string-value">
-                    <ref name="string"/>
-                </attribute>
-            </optional>
-        </group>
-    </choice>
-</define>
-<define name="common-field-fixed-attlist">
-    <optional>
-        <attribute name="text:fixed">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-field-name-attlist">
-    <attribute name="text:name">
-        <ref name="variableName"/>
-    </attribute>
-</define>
-<define name="common-field-description-attlist">
-    <optional>
-        <attribute name="text:description">
-            <text/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-field-display-value-none-attlist">
-    <optional>
-        <attribute name="text:display">
-            <choice>
-                <value>value</value>
-                <value>none</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="common-field-display-value-formula-none-attlist">
-    <optional>
-        <attribute name="text:display">
-            <choice>
-                <value>value</value>
-                <value>formula</value>
-                <value>none</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="common-field-display-value-formula-attlist">
-    <optional>
-        <attribute name="text:display">
-            <choice>
-                <value>value</value>
-                <value>formula</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="common-field-formula-attlist">
-    <optional>
-        <attribute name="text:formula">
-            <ref name="formula"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-field-data-style-name-attlist">
-    <optional>
-        <attribute name="style:data-style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-field-num-format-attlist">
-    <optional>
-        <ref name="common-num-format-attlist"/>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:toc-mark-start">
-        <ref name="text-toc-mark-start-attrs"/>
-    </element>
-</define>
-<define name="text-toc-mark-start-attrs">
-    <ref name="text-id"/>
-    <ref name="text-outline-level"/>
-</define>
-<define name="text-outline-level">
-    <optional>
-        <attribute name="text:outline-level">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-id">
-    <attribute name="text:id">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:toc-mark-end">
-        <ref name="text-id"/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:toc-mark">
-        <attribute name="text:string-value">
-            <ref name="string"/>
-        </attribute>
-        <ref name="text-outline-level"/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:user-index-mark-start">
-        <ref name="text-id"/>
-        <ref name="text-outline-level"/>
-        <ref name="text-index-name"/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:user-index-mark-end">
-        <ref name="text-id"/>
-        <ref name="text-outline-level"/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:user-index-mark">
-        <attribute name="text:string-value">
-            <ref name="string"/>
-        </attribute>
-        <ref name="text-outline-level"/>
-        <ref name="text-index-name"/>
-    </element>
-</define>
-<define name="text-index-name">
-    <attribute name="text:index-name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:alphabetical-index-mark-start">
-        <ref name="text-id"/>
-        <ref name="text-alphabetical-index-mark-attrs"/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:alphabetical-index-mark-end">
-        <ref name="text-id"/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:alphabetical-index-mark">
-        <attribute name="text:string-value">
-            <ref name="string"/>
-        </attribute>
-        <ref name="text-alphabetical-index-mark-attrs"/>
-    </element>
-</define>
-<define name="text-alphabetical-index-mark-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:key1">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="text:key2">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-alphabetical-index-mark-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:string-value-phonetic">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="text:key1-phonetic">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="text:key2-phonetic">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-alphabetical-index-mark-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:main-entry" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="text:bibliography-mark">
-        <attribute name="text:bibliography-type">
-            <ref name="text-bibliography-types"/>
-        </attribute>
-        <zeroOrMore>
-            <attribute>
-                <choice>
-                    <name>text:identifier</name>
-                    <name>text:address</name>
-                    <name>text:annote</name>
-                    <name>text:author</name>
-                    <name>text:booktitle</name>
-                    <name>text:chapter</name>
-                    <name>text:edition</name>
-                    <name>text:editor</name>
-                    <name>text:howpublished</name>
-                    <name>text:institution</name>
-                    <name>text:journal</name>
-                    <name>text:month</name>
-                    <name>text:note</name>
-                    <name>text:number</name>
-                    <name>text:organizations</name>
-                    <name>text:pages</name>
-                    <name>text:publisher</name>
-                    <name>text:school</name>
-                    <name>text:series</name>
-                    <name>text:title</name>
-                    <name>text:report-type</name>
-                    <name>text:volume</name>
-                    <name>text:year</name>
-                    <name>text:url</name>
-                    <name>text:custom1</name>
-                    <name>text:custom2</name>
-                    <name>text:custom3</name>
-                    <name>text:custom4</name>
-                    <name>text:custom5</name>
-                    <name>text:isbn</name>
-                    <name>text:issn</name>
-                </choice>
-                <ref name="string"/>
-            </attribute>
-        </zeroOrMore>
-        <text/>
-    </element>
-</define>
-<define name="text-bibliography-types">
-    <choice>
-        <value>article</value>
-        <value>book</value>
-        <value>booklet</value>
-        <value>conference</value>
-        <value>custom1</value>
-        <value>custom2</value>
-        <value>custom3</value>
-        <value>custom4</value>
-        <value>custom5</value>
-        <value>email</value>
-        <value>inbook</value>
-        <value>incollection</value>
-        <value>inproceedings</value>
-        <value>journal</value>
-        <value>manual</value>
-        <value>mastersthesis</value>
-        <value>misc</value>
-        <value>phdthesis</value>
-        <value>proceedings</value>
-        <value>techreport</value>
-        <value>unpublished</value>
-        <value>www</value>
-    </choice>
-</define>
-<define name="text-index-body">
-    <element name="text:index-body">
-        <zeroOrMore>
-            <ref name="index-content-main"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="index-content-main">
-    <choice>
-        <ref name="text-content"/>
-        <ref name="text-index-title"/>
-    </choice>
-</define>
-<define name="text-index-title">
-    <element name="text:index-title">
-        <ref name="sectionAttr"/>
-        <zeroOrMore>
-            <ref name="index-content-main"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="text-table-of-content">
-    <element name="text:table-of-content">
-        <ref name="sectionAttr"/>
-        <ref name="text-table-of-content-source"/>
-        <ref name="text-index-body"/>
-    </element>
-</define>
-<define name="text-table-of-content-source">
-    <element name="text:table-of-content-source">
-        <ref name="text-table-of-content-source-attlist"/>
-        <optional>
-            <ref name="text-index-title-template"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="text-table-of-content-entry-template"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="text-index-source-styles"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="text-table-of-content-source-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:outline-level">
-            <choice>
-                <ref name="positiveInteger"/>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="text-table-of-content-source-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:use-outline-level" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-table-of-content-source-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:use-index-marks">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-table-of-content-source-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:use-index-source-styles">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-table-of-content-source-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:index-scope">
-            <choice>
-                <value>document</value>
-                <value>chapter</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="text-table-of-content-source-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:relative-tab-stop-position">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-table-of-content-entry-template">
-    <element name="text:table-of-content-entry-template">
-        <ref name="text-table-of-content-entry-template-attlist"/>
-        <zeroOrMore>
-            <ref name="text-table-of-content-children"/>
-
-        </zeroOrMore>
-    </element>
-</define>
-<define name="text-table-of-content-children">
-    <choice>
-        <ref name="text-index-entry-chapter"/>
-        <ref name="text-index-entry-page-number"/>
-        <ref name="text-index-entry-text"/>
-        <ref name="text-index-entry-span"/>
-        <ref name="text-index-entry-tab-stop"/>
-        <ref name="text-index-entry-link-start"/>
-        <ref name="text-index-entry-link-end"/>
-    </choice>
-</define>
-<define name="text-table-of-content-entry-template-attlist"
-        combine="interleave">
-    <attribute name="text:outline-level">
-        <ref name="positiveInteger"/>
-    </attribute>
-</define>
-<define name="text-table-of-content-entry-template-attlist"
-        combine="interleave">
-    <attribute name="text:style-name">
-        <ref name="styleNameRef"/>
-    </attribute>
-</define>
-<define name="text-illustration-index">
-    <element name="text:illustration-index">
-        <ref name="sectionAttr"/>
-        <ref name="text-illustration-index-source"/>
-        <ref name="text-index-body"/>
-    </element>
-</define>
-<define name="text-illustration-index-source">
-    <element name="text:illustration-index-source">
-        <ref name="text-illustration-index-source-attrs"/>
-        <optional>
-            <ref name="text-index-title-template"/>
-        </optional>
-        <optional>
-            <ref name="text-illustration-index-entry-template"/>
-        </optional>
-    </element>
-</define>
-<define name="text-illustration-index-source-attrs" combine="interleave">
-    <ref name="text-index-scope-attr"/>
-</define>
-<define name="text-index-scope-attr">
-    <optional>
-        <attribute name="text:index-scope" a:defaultValue="document">
-            <choice>
-                <value>document</value>
-                <value>chapter</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="text-illustration-index-source-attrs" combine="interleave">
-    <ref name="text-relative-tab-stop-position-attr"/>
-</define>
-<define name="text-relative-tab-stop-position-attr">
-    <optional>
-        <attribute name="text:relative-tab-stop-position"
-                   a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-illustration-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:use-caption" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-illustration-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:caption-sequence-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-illustration-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:caption-sequence-format">
-            <choice>
-                <value>text</value>
-                <value>category-and-value</value>
-                <value>caption</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="text-illustration-index-entry-template">
-    <element name="text:illustration-index-entry-template">
-        <ref name="text-illustration-index-entry-content"/>
-    </element>
-</define>
-<define name="text-illustration-index-entry-content">
-    <ref name="text-illustration-index-entry-template-attrs"/>
-    <zeroOrMore>
-        <choice>
-            <ref name="text-index-entry-page-number"/>
-            <ref name="text-index-entry-text"/>
-            <ref name="text-index-entry-span"/>
-            <ref name="text-index-entry-tab-stop"/>
-        </choice>
-    </zeroOrMore>
-</define>
-<define name="text-illustration-index-entry-template-attrs">
-    <attribute name="text:style-name">
-        <ref name="styleNameRef"/>
-    </attribute>
-</define>
-<define name="text-table-index">
-    <element name="text:table-index">
-        <ref name="sectionAttr"/>
-        <ref name="text-table-index-source"/>
-        <ref name="text-index-body"/>
-    </element>
-</define>
-<define name="text-table-index-source">
-    <element name="text:table-index-source">
-        <ref name="text-illustration-index-source-attrs"/>
-        <optional>
-            <ref name="text-index-title-template"/>
-        </optional>
-        <optional>
-            <ref name="text-table-index-entry-template"/>
-        </optional>
-    </element>
-</define>
-<define name="text-table-index-entry-template">
-    <element name="text:table-index-entry-template">
-        <ref name="text-illustration-index-entry-content"/>
-    </element>
-</define>
-<define name="text-object-index">
-    <element name="text:object-index">
-        <ref name="sectionAttr"/>
-        <ref name="text-object-index-source"/>
-        <ref name="text-index-body"/>
-    </element>
-</define>
-<define name="text-object-index-source">
-    <element name="text:object-index-source">
-        <ref name="text-object-index-source-attrs"/>
-        <optional>
-            <ref name="text-index-title-template"/>
-        </optional>
-        <optional>
-            <ref name="text-object-index-entry-template"/>
-        </optional>
-    </element>
-</define>
-<define name="text-object-index-source-attrs" combine="interleave">
-    <ref name="text-index-scope-attr"/>
-</define>
-<define name="text-object-index-source-attrs" combine="interleave">
-    <ref name="text-relative-tab-stop-position-attr"/>
-</define>
-<define name="text-object-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:use-spreadsheet-objects" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-object-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:use-math-objects" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-object-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:use-draw-objects" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-object-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:use-chart-objects" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-object-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:use-other-objects" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-object-index-entry-template">
-    <element name="text:object-index-entry-template">
-        <ref name="text-illustration-index-entry-content"/>
-    </element>
-</define>
-<define name="text-user-index">
-    <element name="text:user-index">
-        <ref name="sectionAttr"/>
-        <ref name="text-user-index-source"/>
-        <ref name="text-index-body"/>
-    </element>
-</define>
-<define name="text-user-index-source">
-    <element name="text:user-index-source">
-        <ref name="text-user-index-source-attr"/>
-        <optional>
-            <ref name="text-index-title-template"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="text-user-index-entry-template"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="text-index-source-styles"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="text-user-index-source-attr" combine="interleave">
-    <ref name="text-index-scope-attr"/>
-    <ref name="text-relative-tab-stop-position-attr"/>
-    <attribute name="text:index-name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="text-user-index-source-attr" combine="interleave">
-    <optional>
-        <attribute name="text:use-index-marks" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="text:use-graphics" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="text:use-tables" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="text:use-floating-frames"
-                     a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="text:use-objects" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-user-index-source-attr" combine="interleave">
-    <optional>
-        <attribute name="text:copy-outline-levels"
-                     a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-user-index-entry-template">
-    <element name="text:user-index-entry-template">
-        <ref name="text-user-index-entry-template-attrs"/>
-        <zeroOrMore>
-            <choice>
-                <ref name="text-index-entry-chapter"/>
-                <ref name="text-index-entry-page-number"/>
-                <ref name="text-index-entry-text"/>
-                <ref name="text-index-entry-span"/>
-                <ref name="text-index-entry-tab-stop"/>
-            </choice>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="text-user-index-entry-template-attrs" combine="interleave">
-    <attribute name="text:outline-level">
-        <ref name="positiveInteger"/>
-    </attribute>
-</define>
-<define name="text-user-index-entry-template-attrs" combine="interleave">
-    <attribute name="text:style-name">
-        <ref name="styleNameRef"/>
-    </attribute>
-</define>
-<define name="text-alphabetical-index">
-    <element name="text:alphabetical-index">
-        <ref name="sectionAttr"/>
-        <ref name="text-alphabetical-index-source"/>
-        <ref name="text-index-body"/>
-    </element>
-</define>
-<define name="text-alphabetical-index-source">
-    <element name="text:alphabetical-index-source">
-        <ref name="text-alphabetical-index-source-attrs"/>
-        <optional>
-            <ref name="text-index-title-template"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="text-alphabetical-index-entry-template"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="text-alphabetical-index-source-attrs" combine="interleave">
-    <ref name="text-index-scope-attr"/>
-    <ref name="text-relative-tab-stop-position-attr"/>
-</define>
-<define name="text-alphabetical-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:ignore-case" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-alphabetical-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:main-entry-style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-alphabetical-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:alphabetical-separators" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-alphabetical-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:combine-entries" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="text:combine-entries-with-dash"
-                   a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="text:combine-entries-with-pp" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-alphabetical-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:use-keys-as-entries" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-alphabetical-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:capitalize-entries" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-alphabetical-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:comma-separated" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-alphabetical-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="fo:language">
-            <ref name="languageCode"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-alphabetical-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="fo:country">
-            <ref name="countryCode"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-alphabetical-index-source-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:sort-algorithm">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-alphabetical-index-auto-mark-file">
-    <element name="text:alphabetical-index-auto-mark-file">
-        <attribute name="xlink:href">
-            <ref name="anyURI"/>
-        </attribute>
-        <optional>
-            <attribute name="xlink:type" a:defaultValue="simple">
-                <value>simple</value>
-            </attribute>
-        </optional>
-    </element>
-</define>
-<define name="text-alphabetical-index-entry-template">
-    <element name="text:alphabetical-index-entry-template">
-        <ref name="text-alphabetical-index-entry-template-attrs"/>
-        <zeroOrMore>
-            <choice>
-                <ref name="text-index-entry-chapter"/>
-                <ref name="text-index-entry-page-number"/>
-                <ref name="text-index-entry-text"/>
-                <ref name="text-index-entry-span"/>
-                <ref name="text-index-entry-tab-stop"/>
-            </choice>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="text-alphabetical-index-entry-template-attrs"
-        combine="interleave">
-    <attribute name="text:outline-level">
-        <choice>
-            <value>1</value>
-            <value>2</value>
-            <value>3</value>
-            <value>separator</value>
-        </choice>
-    </attribute>
-</define>
-<define name="text-alphabetical-index-entry-template-attrs"
-        combine="interleave">
-    <attribute name="text:style-name">
-        <ref name="styleNameRef"/>
-    </attribute>
-</define>
-<define name="text-bibliography">
-    <element name="text:bibliography">
-        <ref name="sectionAttr"/>
-        <ref name="text-bibliography-source"/>
-        <ref name="text-index-body"/>
-    </element>
-</define>
-<define name="text-bibliography-source">
-    <element name="text:bibliography-source">
-        <optional>
-            <ref name="text-index-title-template"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="text-bibliography-entry-template"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="text-bibliography-entry-template">
-    <element name="text:bibliography-entry-template">
-        <ref name="text-bibliography-entry-template-attrs"/>
-        <zeroOrMore>
-            <choice>
-                <ref name="text-index-entry-span"/>
-                <ref name="text-index-entry-tab-stop"/>
-                <ref name="text-index-entry-bibliography"/>
-            </choice>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="text-bibliography-entry-template-attrs" combine="interleave">
-    <attribute name="text:bibliography-type">
-        <ref name="text-bibliography-types"/>
-    </attribute>
-</define>
-<define name="text-bibliography-entry-template-attrs" combine="interleave">
-    <attribute name="text:style-name">
-        <ref name="styleNameRef"/>
-    </attribute>
-</define>
-<define name="text-index-source-styles">
-    <element name="text:index-source-styles">
-        <attribute name="text:outline-level">
-            <ref name="positiveInteger"/>
-        </attribute>
-        <zeroOrMore>
-            <ref name="text-index-source-style"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="text-index-source-style">
-    <element name="text:index-source-style">
-        <attribute name="text:style-name">
-            <ref name="styleName"/>
-        </attribute>
-        <empty/>
-    </element>
-</define>
-<define name="text-index-title-template">
-    <element name="text:index-title-template">
-        <optional>
-            <attribute name="text:style-name">
-                <ref name="styleNameRef"/>
-            </attribute>
-        </optional>
-        <text/>
-    </element>
-</define>
-<define name="text-index-entry-chapter">
-    <element name="text:index-entry-chapter">
-        <optional>
-            <attribute name="text:style-name">
-                <ref name="styleNameRef"/>
-            </attribute>
-        </optional>
-        <ref name="text-index-entry-chapter-attrs"/>
-    </element>
-</define>
-<define name="text-index-entry-chapter-attrs">
-    <optional>
-        <attribute name="text:display" a:defaultValue="number">
-            <choice>
-                <value>name</value>
-                <value>number</value>
-                <value>number-and-name</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="text-index-entry-text">
-    <element name="text:index-entry-text">
-        <optional>
-            <attribute name="text:style-name">
-                <ref name="styleNameRef"/>
-            </attribute>
-        </optional>
-    </element>
-</define>
-<define name="text-index-entry-page-number">
-    <element name="text:index-entry-page-number">
-        <optional>
-            <attribute name="text:style-name">
-                <ref name="styleNameRef"/>
-            </attribute>
-        </optional>
-    </element>
-</define>
-<define name="text-index-entry-span">
-    <element name="text:index-entry-span">
-        <optional>
-            <attribute name="text:style-name">
-                <ref name="styleNameRef"/>
-            </attribute>
-        </optional>
-        <text/>
-    </element>
-</define>
-<define name="text-index-entry-bibliography">
-    <element name="text:index-entry-bibliography">
-        <ref name="text-index-entry-bibliography-attrs"/>
-    </element>
-</define>
-<define name="text-index-entry-bibliography-attrs" combine="interleave">
-    <optional>
-        <attribute name="text:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-index-entry-bibliography-attrs" combine="interleave">
-    <attribute name="text:bibliography-data-field">
-        <choice>
-            <value>address</value>
-            <value>annote</value>
-            <value>author</value>
-            <value>bibliography-type</value>
-            <value>booktitle</value>
-            <value>chapter</value>
-            <value>custom1</value>
-            <value>custom2</value>
-            <value>custom3</value>
-            <value>custom4</value>
-            <value>custom5</value>
-            <value>edition</value>
-            <value>editor</value>
-            <value>howpublished</value>
-            <value>identifier</value>
-            <value>institution</value>
-            <value>isbn</value>
-            <value>issn</value>
-            <value>journal</value>
-            <value>month</value>
-            <value>note</value>
-            <value>number</value>
-            <value>organizations</value>
-            <value>pages</value>
-            <value>publisher</value>
-            <value>report-type</value>
-            <value>school</value>
-            <value>series</value>
-            <value>title</value>
-            <value>url</value>
-            <value>volume</value>
-            <value>year</value>
-        </choice>
-    </attribute>
-</define>
-<define name="text-index-entry-tab-stop">
-    <element name="text:index-entry-tab-stop">
-        <optional>
-            <attribute name="text:style-name">
-                <ref name="styleNameRef"/>
-            </attribute>
-        </optional>
-        <ref name="text-index-entry-tab-stop-attrs"/>
-    </element>
-</define>
-<define name="text-index-entry-tab-stop-attrs" combine="interleave">
-    <optional>
-        <attribute name="style:leader-char">
-            <ref name="character"/>
-        </attribute>
-    </optional>
-</define>
-<define name="text-index-entry-tab-stop-attrs" combine="interleave">
-    <choice>
-        <attribute name="style:type">
-            <value>right</value>
-        </attribute>
-        <group>
-            <attribute name="style:type">
-                <value>left</value>
-            </attribute>
-            <attribute name="style:position">
-                <ref name="length"/>
-            </attribute>
-        </group>
-    </choice>
-</define>
-<define name="text-index-entry-link-start">
-    <element name="text:index-entry-link-start">
-        <optional>
-            <attribute name="text:style-name">
-                <ref name="styleNameRef"/>
-            </attribute>
-        </optional>
-    </element>
-</define>
-<define name="text-index-entry-link-end">
-    <element name="text:index-entry-link-end">
-        <optional>
-            <attribute name="text:style-name">
-                <ref name="styleNameRef"/>
-            </attribute>
-        </optional>
-    </element>
-</define>
-<define name="table-table">
-    <element name="table:table">
-        <ref name="table-table-attlist"/>
-        <optional>
-            <ref name="table-table-source"/>
-        </optional>
-        <optional>
-            <ref name="office-dde-source"/>
-        </optional>
-        <optional>
-            <ref name="table-scenario"/>
-        </optional>
-        <optional>
-            <ref name="office-forms"/>
-        </optional>
-        <optional>
-            <ref name="table-shapes"/>
-        </optional>
-        <ref name="table-columns-and-groups"/>
-        <ref name="table-rows-and-groups"/>
-    </element>
-</define>
-<define name="table-columns-and-groups">
-    <oneOrMore>
-        <choice>
-            <ref name="table-table-column-group"/>
-            <ref name="table-columns-no-group"/>
-        </choice>
-    </oneOrMore>
-</define>
-
-<define name="table-columns-no-group">
-    <choice>
-        <group>
-            <ref name="table-columns"/>
-            <optional>
-                <ref name="table-table-header-columns"/>
-                <optional>
-                    <ref name="table-columns"/>
-                </optional>
-            </optional>
-        </group>
-        <group>
-            <ref name="table-table-header-columns"/>
-            <optional>
-                <ref name="table-columns"/>
-            </optional>
-        </group>
-    </choice>
-</define>
-
-<define name="table-columns">
-    <choice>
-        <ref name="table-table-columns"/>
-        <oneOrMore>
-                <ref name="table-table-column"/>
-        </oneOrMore>
-    </choice>
-</define>
-
-<define name="table-rows-and-groups">
-    <oneOrMore>
-        <choice>
-            <ref name="table-table-row-group"/>
-            <ref name="table-rows-no-group"/>
-        </choice>
-    </oneOrMore>
-</define>
-
-<define name="table-rows-no-group">
-    <choice>
-        <group>
-            <ref name="table-rows"/>
-            <optional>
-                <ref name="table-table-header-rows"/>
-                <optional>
-                    <ref name="table-rows"/>
-                </optional>
-            </optional>
-        </group>
-        <group>
-            <ref name="table-table-header-rows"/>
-            <optional>
-                <ref name="table-rows"/>
-            </optional>
-        </group>
-    </choice>
-</define>
-
-<define name="table-rows">
-    <choice>
-        <ref name="table-table-rows"/>
-        <oneOrMore>
-            <optional>
-                <ref name="text-soft-page-break"/>
-            </optional>
-            <ref name="table-table-row"/>
-        </oneOrMore>
-    </choice>
-</define>
-<define name="table-table-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:protected" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="table:protection-key">
-            <text/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:print" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:print-ranges">
-            <ref name="cellRangeAddressList"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-row">
-    <element name="table:table-row">
-        <ref name="table-table-row-attlist"/>
-        <oneOrMore>
-            <choice>
-                <ref name="table-table-cell"/>
-                <ref name="table-covered-table-cell"/>
-            </choice>
-        </oneOrMore>
-    </element>
-</define>
-<define name="table-table-row-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:number-rows-repeated" a:defaultValue="1">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-row-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-row-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:default-cell-style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-row-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:visibility" a:defaultValue="visible">
-            <ref name="table-visibility-value"/>
-        </attribute>
-    </optional>
-</define>
-
-<define name="table-visibility-value">
-    <choice>
-        <value>visible</value>
-        <value>collapse</value>
-        <value>filter</value>
-    </choice>
-</define>
-<define name="table-table-cell">
-    <element name="table:table-cell">
-        <ref name="table-table-cell-attlist"/>
-        <ref name="table-table-cell-attlist-extra"/>
-        <ref name="table-table-cell-content"/>
-    </element>
-</define>
-
-<define name="table-covered-table-cell">
-    <element name="table:covered-table-cell">
-        <ref name="table-table-cell-attlist"/>
-        <ref name="table-table-cell-content"/>
-    </element>
-</define>
-
-<define name="table-table-cell-content">
-    <optional>
-        <ref name="table-cell-range-source"/>
-    </optional>
-    <optional>
-        <ref name="office-annotation"/>
-    </optional>
-    <optional>
-        <ref name="table-detective"/>
-    </optional>
-    <zeroOrMore>
-        <ref name="text-content"/>
-    </zeroOrMore>
-</define>
-<define name="table-table-cell-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:number-columns-repeated" a:defaultValue="1">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-cell-attlist-extra" combine="interleave">
-    <optional>
-        <attribute name="table:number-columns-spanned" a:defaultValue="1">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="table:number-rows-spanned" a:defaultValue="1">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-cell-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-cell-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:content-validation-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-cell-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:formula">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-cell-attlist-extra" combine="interleave">
-    <optional>
-        <attribute name="table:number-matrix-columns-spanned">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="table:number-matrix-rows-spanned">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-cell-attlist" combine="interleave">
-    <optional>
-        <ref name="common-value-and-type-attlist"/>
-    </optional>
-</define>
-<define name="table-table-cell-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:protect" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-column">
-    <element name="table:table-column">
-        <ref name="table-table-column-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-table-column-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:number-columns-repeated" a:defaultValue="1">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-column-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-column-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:visibility" a:defaultValue="visible">
-            <ref name="table-visibility-value"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-column-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:default-cell-style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-header-columns">
-    <element name="table:table-header-columns">
-        <oneOrMore>
-            <ref name="table-table-column"/>
-        </oneOrMore>
-    </element>
-</define>
-
-<define name="table-table-columns">
-    <element name="table:table-columns">
-        <oneOrMore>
-            <ref name="table-table-column"/>
-        </oneOrMore>
-    </element>
-</define>
-<define name="table-table-column-group">
-    <element name="table:table-column-group">
-        <ref name="table-table-column-group-attlist"/>
-        <ref name="table-columns-and-groups"/>
-    </element>
-</define>
-<define name="table-table-column-group-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:display" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-header-rows">
-    <element name="table:table-header-rows">
-        <oneOrMore>
-            <optional>
-                <ref name="text-soft-page-break"/>
-            </optional>
-            <ref name="table-table-row"/>
-        </oneOrMore>
-    </element>
-</define>
-
-<define name="table-table-rows">
-    <element name="table:table-rows">
-        <oneOrMore>
-            <optional>
-                <ref name="text-soft-page-break"/>
-            </optional>
-            <ref name="table-table-row"/>
-        </oneOrMore>
-    </element>
-</define>
-<define name="table-table-row-group">
-    <element name="table:table-row-group">
-        <ref name="table-table-row-group-attlist"/>
-        <ref name="table-rows-and-groups"/>
-    </element>
-</define>
-<define name="table-table-row-group-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:display" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:is-sub-table" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="cellAddress">
-    <data type="string">
-        <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+</param>
-
-    </data>
-</define>
-<define name="cellRangeAddress">
-    <data type="string">
-        <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+(:($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+)?</param>
-
-    </data>
-</define>
-<define name="cellRangeAddressList">
-    <!-- Value is a space separated list of "cellRangeAddress" patterns -->
-    <data type="string"/> 
-</define>
-<define name="table-table-source">
-    <element name="table:table-source">
-        <ref name="table-table-source-attlist"/>
-        <ref name="table-linked-source-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-table-source-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:mode" a:defaultValue="copy-all">
-            <choice>
-                <value>copy-all</value>
-                <value>copy-results-only</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="table-table-source-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:table-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-linked-source-attlist" combine="interleave">
-    <optional>
-        <attribute name="xlink:type" a:defaultValue="simple">
-            <value>simple</value>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="xlink:actuate" a:defaultValue="onRequest">
-            <value>onRequest</value>
-        </attribute>
-    </optional>
-    <attribute name="xlink:href">
-        <ref name="anyURI"/>
-    </attribute>
-</define>
-<define name="table-linked-source-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:filter-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-linked-source-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:filter-options">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-linked-source-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:refresh-delay">
-            <ref name="duration"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-scenario">
-    <element name="table:scenario">
-        <ref name="table-scenario-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-scenario-attlist" combine="interleave">
-    <attribute name="table:scenario-ranges">
-        <ref name="cellRangeAddressList"/>
-    </attribute>
-</define>
-<define name="table-scenario-attlist" combine="interleave">
-    <attribute name="table:is-active">
-        <ref name="boolean"/>
-    </attribute>
-</define>
-<define name="table-scenario-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:display-border" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-scenario-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:border-color">
-            <ref name="color"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-scenario-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:copy-back" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-scenario-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:copy-styles" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-scenario-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:copy-formulas" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-scenario-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:comment">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-scenario-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:protected">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-shapes">
-    <element name="table:shapes">
-        <oneOrMore>
-            <ref name="shape"/>
-        </oneOrMore>
-    </element>
-</define>
-<define name="table-cell-range-source">
-    <element name="table:cell-range-source">
-        <ref name="table-table-cell-range-source-attlist"/>
-        <ref name="table-linked-source-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-table-cell-range-source-attlist" combine="interleave">
-    <attribute name="table:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-table-cell-range-source-attlist" combine="interleave">
-    <attribute name="table:last-column-spanned">
-        <ref name="positiveInteger"/>
-    </attribute>
-    <attribute name="table:last-row-spanned">
-        <ref name="positiveInteger"/>
-    </attribute>
-</define>
-<define name="table-detective">
-    <element name="table:detective">
-        <zeroOrMore>
-            <ref name="table-highlighted-range"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="table-operation"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="table-operation">
-    <element name="table:operation">
-        <ref name="table-operation-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-operation-attlist" combine="interleave">
-    <attribute name="table:name">
-        <choice>
-            <value>trace-dependents</value>
-            <value>remove-dependents</value>
-            <value>trace-precedents</value>
-            <value>remove-precedents</value>
-            <value>trace-errors</value>
-        </choice>
-    </attribute>
-</define>
-<define name="table-operation-attlist" combine="interleave">
-    <attribute name="table:index">
-        <ref name="nonNegativeInteger"/>
-    </attribute>
-</define>
-<define name="table-highlighted-range">
-    <element name="table:highlighted-range">
-        <choice>
-            <group>
-                <ref name="table-highlighted-range-attlist"/>
-            </group>
-            <group>
-                <ref name="table-highlighted-range-attlist-invalid"/>
-            </group>
-        </choice>
-        <empty/>
-    </element>
-</define>
-<define name="table-highlighted-range-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:cell-range-address">
-            <ref name="cellRangeAddress"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-highlighted-range-attlist" combine="interleave">
-    <attribute name="table:direction">
-        <choice>
-            <value>from-another-table</value>
-            <value>to-another-table</value>
-            <value>from-same-table</value>
-        </choice>
-    </attribute>
-</define>
-<define name="table-highlighted-range-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:contains-error" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-highlighted-range-attlist-invalid" combine="interleave">
-    <attribute name="table:marked-invalid">
-        <ref name="boolean"/>
-    </attribute>
-</define>
-<define name="office-spreadsheet-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:structure-protected" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="table:protection-key">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-calculation-settings">
-    <element name="table:calculation-settings">
-        <ref name="table-calculation-setting-attlist"/>
-        <optional>
-            <ref name="table-null-date"/>
-        </optional>
-        <optional>
-            <ref name="table-iteration"/>
-        </optional>
-    </element>
-</define>
-<define name="table-calculation-setting-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:case-sensitive" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-calculation-setting-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:precision-as-shown" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-calculation-setting-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:search-criteria-must-apply-to-whole-cell"
-                     a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-calculation-setting-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:automatic-find-labels" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-calculation-setting-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:use-regular-expressions"
-                     a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-calculation-setting-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:null-year" a:defaultValue="1930">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-null-date">
-    <element name="table:null-date">
-        <optional>
-            <attribute name="table:value-type" a:defaultValue="date">
-                <ref name="valueType"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="table:date-value"
-                         a:defaultValue="1899-12-30">
-                <ref name="date"/>
-            </attribute>
-        </optional>
-        <empty/>
-    </element>
-</define>
-<define name="table-iteration">
-    <element name="table:iteration">
-        <optional>
-            <attribute name="table:status" a:defaultValue="disable">
-                <choice>
-                    <value>enable</value>
-                    <value>disable</value>
-                </choice>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="table:steps" a:defaultValue="100">
-                <ref name="positiveInteger"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="table:maximum-difference"
-                         a:defaultValue="0.001">
-                <ref name="double"/>
-            </attribute>
-        </optional>
-        <empty/>
-    </element>
-</define>
-<define name="table-content-validations">
-    <element name="table:content-validations">
-        <oneOrMore>
-            <ref name="table-content-validation"/>
-        </oneOrMore>
-    </element>
-</define>
-
-<define name="table-content-validation">
-    <element name="table:content-validation">
-        <ref name="table-validation-attlist"/>
-        <optional>
-            <ref name="table-help-message"/>
-        </optional>
-        <optional>
-            <choice>
-                <ref name="table-error-message"/>
-                <group>
-                    <ref name="table-error-macro"/>
-                    <optional>
-                        <ref name="office-event-listeners"/>
-                    </optional>
-                </group>
-            </choice>
-        </optional>
-    </element>
-</define>
-<define name="table-validation-attlist" combine="interleave">
-    <attribute name="table:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-validation-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:condition">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-validation-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:base-cell-address">
-            <ref name="cellAddress"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-validation-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:allow-empty-cell" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-validation-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:display-list" a:defaultValue="unsorted">
-            <choice>
-                <value>none</value>
-                <value>unsorted</value>
-                <value>sort-ascending</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="table-help-message">
-    <element name="table:help-message">
-        <optional>
-            <attribute name="table:title">
-                <ref name="string"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="table:display" a:defaultValue="false">
-                <ref name="boolean"/>
-            </attribute>
-        </optional>
-        <zeroOrMore>
-            <ref name="text-p"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="table-error-message">
-    <element name="table:error-message">
-        <optional>
-            <attribute name="table:title">
-                <ref name="string"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="table:display" a:defaultValue="false">
-                <ref name="boolean"/>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="table:message-type" a:defaultValue="stop">
-                <choice>
-                    <value>stop</value>
-                    <value>warning</value>
-                    <value>information</value>
-                </choice>
-            </attribute>
-        </optional>
-        <zeroOrMore>
-            <ref name="text-p"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="table-error-macro">
-    <element name="table:error-macro">
-        <optional>
-            <attribute name="table:execute" a:defaultValue="true">
-                <ref name="boolean"/>
-            </attribute>
-        </optional>
-    </element>
-</define>
-<define name="table-label-ranges">
-    <element name="table:label-ranges">
-        <zeroOrMore>
-            <ref name="table-label-range"/>
-        </zeroOrMore>
-    </element>
-</define>
-
-<define name="table-label-range">
-    <element name="table:label-range">
-        <ref name="table-label-range-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-label-range-attlist" combine="interleave">
-    <attribute name="table:label-cell-range-address">
-        <ref name="cellRangeAddress"/>
-    </attribute>
-</define>
-<define name="table-label-range-attlist" combine="interleave">
-    <attribute name="table:data-cell-range-address">
-        <ref name="cellRangeAddress"/>
-    </attribute>
-</define>
-<define name="table-label-range-attlist" combine="interleave">
-    <attribute name="table:orientation">
-        <choice>
-            <value>column</value>
-            <value>row</value>
-        </choice>
-    </attribute>
-</define>
-<define name="table-named-expressions">
-    <element name="table:named-expressions">
-        <zeroOrMore>
-            <choice>
-                <ref name="table-named-range"/>
-                <ref name="table-named-expression"/>
-            </choice>
-        </zeroOrMore>
-    </element>
-</define>
-
-<define name="table-named-range">
-    <element name="table:named-range">
-        <ref name="table-named-range-attlist"/>
-        <empty/>
-    </element>
-</define>
-
-<define name="table-named-range-attlist" combine="interleave">
-    <attribute name="table:name">
-        <ref name="string"/>
-    </attribute>
-    <attribute name="table:cell-range-address">
-        <ref name="cellRangeAddress"/>
-    </attribute>
-    <optional>
-        <attribute name="table:base-cell-address">
-            <ref name="cellAddress"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="table:range-usable-as" a:defaultValue="none">
-            <choice>
-                <value>none</value>
-                <list>
-                    <oneOrMore>
-                        <choice>
-                            <value>print-range</value>
-                            <value>filter</value>
-                            <value>repeat-row</value>
-                            <value>repeat-column</value>
-                        </choice>
-                    </oneOrMore>
-                </list>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="table-named-expression">
-    <element name="table:named-expression">
-        <ref name="table-named-expression-attlist"/>
-        <empty/>
-    </element>
-</define>
-
-<define name="table-named-expression-attlist" combine="interleave">
-    <attribute name="table:name">
-        <ref name="string"/>
-    </attribute>
-    <attribute name="table:expression">
-        <ref name="string"/>
-    </attribute>
-    <optional>
-        <attribute name="table:base-cell-address">
-            <ref name="cellAddress"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-database-ranges">
-    <element name="table:database-ranges">
-        <zeroOrMore>
-            <ref name="table-database-range"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="table-database-range">
-    <element name="table:database-range">
-        <ref name="table-database-range-attlist"/>
-        <optional>
-            <choice>
-                <ref name="table-database-source-sql"/>
-                <ref name="table-database-source-table"/>
-                <ref name="table-database-source-query"/>
-            </choice>
-        </optional>
-        <optional>
-            <ref name="table-filter"/>
-        </optional>
-        <optional>
-            <ref name="table-sort"/>
-        </optional>
-        <optional>
-            <ref name="table-subtotal-rules"/>
-        </optional>
-    </element>
-</define>
-<define name="table-database-range-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-database-range-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:is-selection" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-database-range-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:on-update-keep-styles" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-database-range-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:on-update-keep-size" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-database-range-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:has-persistent-data" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-database-range-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:orientation" a:defaultValue="row">
-            <choice>
-                <value>column</value>
-                <value>row</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="table-database-range-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:contains-header" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-database-range-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:display-filter-buttons"
-                   a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-database-range-attlist" combine="interleave">
-    <attribute name="table:target-range-address">
-        <ref name="cellRangeAddress"/>
-    </attribute>
-</define>
-<define name="table-database-range-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:refresh-delay">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-database-source-sql">
-    <element name="table:database-source-sql">
-        <ref name="table-database-source-sql-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-database-source-sql-attlist" combine="interleave">
-    <attribute name="table:database-name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-database-source-sql-attlist" combine="interleave">
-    <attribute name="table:sql-statement">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-database-source-sql-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:parse-sql-statement" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-database-source-query">
-    <element name="table:database-source-table">
-        <ref name="table-database-source-table-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-database-source-table-attlist" combine="interleave">
-    <attribute name="table:database-name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-database-source-table-attlist" combine="interleave">
-    <attribute name="table:database-table-name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-database-source-table">
-    <element name="table:database-source-query">
-        <ref name="table-database-source-query-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-database-source-query-attlist" combine="interleave">
-    <attribute name="table:database-name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-database-source-query-attlist" combine="interleave">
-    <attribute name="table:query-name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-sort">
-    <element name="table:sort">
-        <ref name="table-sort-attlist"/>
-        <oneOrMore>
-            <ref name="table-sort-by"/>
-        </oneOrMore>
-    </element>
-</define>
-<define name="table-sort-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:bind-styles-to-content" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-sort-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:target-range-address">
-            <ref name="cellRangeAddress"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-sort-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:case-sensitive" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-sort-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:language">
-            <ref name="languageCode"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-sort-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:country">
-            <ref name="countryCode"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-sort-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:algorithm">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-sort-by">
-    <element name="table:sort-by">
-        <ref name="table-sort-by-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-sort-by-attlist" combine="interleave">
-    <attribute name="table:field-number">
-        <ref name="nonNegativeInteger"/>
-    </attribute>
-</define>
-<define name="table-sort-by-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:data-type" a:defaultValue="automatic">
-            <choice>
-                <value>text</value>
-                <value>number</value>
-                <value>automatic</value>
-                <ref name="string"/>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="table-sort-by-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:order" a:defaultValue="ascending">
-            <choice>
-                <value>ascending</value>
-                <value>descending</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="table-subtotal-rules">
-    <element name="table:subtotal-rules">
-        <ref name="table-subtotal-rules-attlist"/>
-        <optional>
-            <ref name="table-sort-groups"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="table-subtotal-rule"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="table-subtotal-rules-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:bind-styles-to-content" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-subtotal-rules-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:case-sensitive" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-subtotal-rules-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:page-breaks-on-group-change"
-                   a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-sort-groups">
-    <element name="table:sort-groups">
-        <ref name="table-sort-groups-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-sort-groups-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:data-type" a:defaultValue="automatic">
-            <choice>
-                <value>text</value>
-                <value>number</value>
-                <value>automatic</value>
-                <ref name="string"/>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="table-sort-groups-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:order" a:defaultValue="ascending">
-            <choice>
-                <value>ascending</value>
-                <value>descending</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="table-subtotal-rule">
-    <element name="table:subtotal-rule">
-        <ref name="table-subtotal-rule-attlist"/>
-        <zeroOrMore>
-            <ref name="table-subtotal-field"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="table-subtotal-rule-attlist" combine="interleave">
-    <attribute name="table:group-by-field-number">
-        <ref name="nonNegativeInteger"/>
-    </attribute>
-</define>
-<define name="table-subtotal-field">
-    <element name="table:subtotal-field">
-        <ref name="table-subtotal-field-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-subtotal-field-attlist" combine="interleave">
-    <attribute name="table:field-number">
-        <ref name="nonNegativeInteger"/>
-    </attribute>
-</define>
-<define name="table-subtotal-field-attlist" combine="interleave">
-    <attribute name="table:function">
-        <choice>
-            <value>auto</value>
-            <value>average</value>
-            <value>count</value>
-            <value>countnums</value>
-            <value>max</value>
-            <value>min</value>
-            <value>product</value>
-            <value>stdev</value>
-            <value>stdevp</value>
-            <value>sum</value>
-            <value>var</value>
-            <value>varp</value>
-            <ref name="string"/>
-        </choice>
-    </attribute>
-</define>
-<define name="table-filter">
-    <element name="table:filter">
-        <ref name="table-filter-attlist"/>
-        <choice>
-            <ref name="table-filter-condition"/>
-            <ref name="table-filter-and"/>
-            <ref name="table-filter-or"/>
-        </choice>
-    </element>
-</define>
-<define name="table-filter-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:target-range-address">
-            <ref name="cellRangeAddress"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-filter-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:condition-source" a:defaultValue="self">
-            <choice>
-                <value>self</value>
-                <value>cell-range</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="table-filter-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:condition-source-range-address">
-            <ref name="cellRangeAddress"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-filter-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:display-duplicates" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-filter-and">
-    <element name="table:filter-and">
-        <oneOrMore>
-            <choice>
-                <ref name="table-filter-or"/>
-                <ref name="table-filter-condition"/>
-            </choice>
-        </oneOrMore>
-    </element>
-</define>
-<define name="table-filter-or">
-    <element name="table:filter-or">
-        <oneOrMore>
-            <choice>
-                <ref name="table-filter-and"/>
-                <ref name="table-filter-condition"/>
-            </choice>
-        </oneOrMore>
-    </element>
-</define>
-<define name="table-filter-condition">
-    <element name="table:filter-condition">
-        <ref name="table-filter-condition-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-filter-condition-attlist" combine="interleave">
-    <attribute name="table:field-number">    
-        <ref name="nonNegativeInteger"/>
-    </attribute>
-</define>
-<define name="table-filter-condition-attlist" combine="interleave">
-    <attribute name="table:value">    
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-filter-condition-attlist" combine="interleave">
-    <attribute name="table:operator">    
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-filter-condition-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:case-sensitive" a:defaultValue="false">    
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-filter-condition-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:data-type" a:defaultValue="text">
-            <choice>
-                <value>text</value>
-                <value>number</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="table-data-pilot-tables">
-    <element name="table:data-pilot-tables">
-        <zeroOrMore>
-            <ref name="table-data-pilot-table"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="table-data-pilot-table">
-    <element name="table:data-pilot-table">
-        <ref name="table-data-pilot-table-attlist"/>
-        <optional>
-            <choice>
-                <ref name="table-database-source-sql"/>
-                <ref name="table-database-source-table"/>
-                <ref name="table-database-source-query"/>
-                <ref name="table-source-service"/>
-                <ref name="table-source-cell-range"/>
-            </choice>
-        </optional>
-        <oneOrMore>
-            <ref name="table-data-pilot-field"/>
-        </oneOrMore>
-    </element>
-</define>
-<define name="table-data-pilot-table-attlist" combine="interleave">
-    <attribute name="table:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-data-pilot-table-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:application-data">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-data-pilot-table-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:grand-total" a:defaultValue="both">
-            <choice>
-                <value>none</value>
-                <value>row</value>
-                <value>column</value>
-                <value>both</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="table-data-pilot-table-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:ignore-empty-rows" a:defaultValue="false">    
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-data-pilot-table-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:identify-categories" a:defaultValue="false">    
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-data-pilot-table-attlist" combine="interleave">
-    <attribute name="table:target-range-address">    
-        <ref name="cellRangeAddress"/>
-    </attribute>
-</define>
-<define name="table-data-pilot-table-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:buttons">    
-            <ref name="cellRangeAddressList"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-data-pilot-table-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:show-filter-button" a:defaultValue="true">    
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-data-pilot-table-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:drill-down-on-double-click"
-                   a:defaultValue="true">    
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-source-cell-range">
-    <element name="table:source-cell-range">
-        <ref name="table-source-cell-range-attlist"/>
-        <optional>
-            <ref name="table-filter"/>
-        </optional>
-    </element>
-</define>
-<define name="table-source-cell-range-attlist" combine="interleave">
-    <attribute name="table:cell-range-address">    
-        <ref name="cellRangeAddress"/>
-    </attribute>
-</define>
-<define name="table-source-service">
-    <element name="table:source-service">
-        <ref name="table-source-service-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-source-service-attlist" combine="interleave">
-    <attribute name="table:name">    
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-source-service-attlist" combine="interleave">
-    <attribute name="table:source-name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-source-service-attlist" combine="interleave">
-    <attribute name="table:object-name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-source-service-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:user-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-source-service-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:password">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-data-pilot-field">
-    <element name="table:data-pilot-field">
-        <ref name="table-data-pilot-field-attlist"/>
-        <optional>
-            <ref name="table-data-pilot-level"/>
-        </optional>
-        <optional>
-            <ref name="table-data-pilot-field-reference"/>
-        </optional>
-        <optional>
-            <ref name="table-data-pilot-groups"/>
-        </optional>
-    </element>
-</define>
-<define name="table-data-pilot-field-attlist" combine="interleave">
-    <attribute name="table:source-field-name">    
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-data-pilot-field-attlist" combine="interleave">
-    <choice>
-        <attribute name="table:orientation">    
-            <choice>
-                <value>row</value>
-                <value>column</value>
-                <value>data</value>
-                <value>hidden</value>
-            </choice>
-        </attribute>
-        <group>
-            <attribute name="table:orientation">
-                <value>page</value>
-            </attribute>
-            <attribute name="table:selected-page">
-                <ref name="string"/>
-            </attribute>
-        </group>
-    </choice>
-</define>
-<define name="table-data-pilot-field-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:is-data-layout-field" a:defaultValue="false">    
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-data-pilot-field-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:function">
-            <choice>
-                <value>auto</value>
-                <value>average</value>
-                <value>count</value>
-                <value>countnums</value>
-                <value>max</value>
-                <value>min</value>
-                <value>product</value>
-                <value>stdev</value>
-                <value>stdevp</value>
-                <value>sum</value>
-                <value>var</value>
-                <value>varp</value>
-                <ref name="string"/>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="table-data-pilot-field-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:used-hierarchy" a:defaultValue="-1">    
-            <ref name="integer"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-data-pilot-level">
-    <element name="table:data-pilot-level">
-        <ref name="table-data-pilot-level-attlist"/>
-        <optional>
-            <ref name="table-data-pilot-subtotals"/>
-        </optional>
-        <optional>
-            <ref name="table-data-pilot-members"/>
-        </optional>
-        <optional>
-            <ref name="table-data-pilot-display-info"/>
-        </optional>
-        <optional>
-            <ref name="table-data-pilot-sort-info"/>
-        </optional>
-        <optional>
-            <ref name="table-data-pilot-layout-info"/>
-        </optional>
-    </element>
-</define>
-<define name="table-data-pilot-level-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:show-empty">    
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-data-pilot-subtotals">
-    <element name="table:data-pilot-subtotals">
-        <zeroOrMore>
-            <ref name="table-data-pilot-subtotal"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="table-data-pilot-subtotal">
-    <element name="table:data-pilot-subtotal">
-        <ref name="table-data-pilot-subtotal-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-data-pilot-subtotal-attlist" combine="interleave">
-    <attribute name="table:function">
-        <choice>
-            <value>auto</value>
-            <value>average</value>
-            <value>count</value>
-            <value>countnums</value>
-            <value>max</value>
-            <value>min</value>
-            <value>product</value>
-            <value>stdev</value>
-            <value>stdevp</value>
-            <value>sum</value>
-            <value>var</value>
-            <value>varp</value>
-            <ref name="string"/>
-        </choice>
-    </attribute>
-</define>
-<define name="table-data-pilot-members">
-    <element name="table:data-pilot-members">
-        <zeroOrMore>
-            <ref name="table-data-pilot-member"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="table-data-pilot-member">
-    <element name="table:data-pilot-member">
-        <ref name="table-data-pilot-member-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-data-pilot-member-attlist" combine="interleave">
-    <attribute name="table:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-data-pilot-member-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:display">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-data-pilot-member-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:show-details">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-data-pilot-display-info">
-    <element name="table:data-pilot-display-info">
-        <ref name="table-data-pilot-display-info-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-data-pilot-display-info-attlist" combine="interleave">
-    <attribute name="table:enabled">
-        <ref name="boolean"/>
-    </attribute>
-</define>
-<define name="table-data-pilot-display-info-attlist" combine="interleave">
-    <attribute name="table:data-field">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-data-pilot-display-info-attlist" combine="interleave">
-    <attribute name="table:member-count">
-        <ref name="nonNegativeInteger"/>
-    </attribute>
-</define>
-<define name="table-data-pilot-display-info-attlist" combine="interleave">
-    <attribute name="table:display-member-mode">
-        <choice>
-            <value>from-top</value>
-            <value>from-bottom</value>
-        </choice>
-    </attribute>
-</define>
-<define name="table-data-pilot-sort-info">
-    <element name="table:data-pilot-sort-info">
-        <ref name="table-data-pilot-sort-info-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-data-pilot-sort-info-attlist" combine="interleave">
-    <choice>
-        <group>
-            <attribute name="table:sort-mode">
-                <value>data</value>
-            </attribute>
-            <attribute name="table:data-field">
-                <ref name="string"/>
-            </attribute>
-        </group>
-        <attribute name="table:sort-mode">
-            <choice>
-                <value>none</value>
-                <value>manual</value>
-                <value>name</value>
-            </choice>
-        </attribute>
-    </choice>
-</define>
-<define name="table-data-pilot-sort-info-attlist" combine="interleave">
-    <attribute name="table:order">
-        <choice>
-            <value>ascending</value>
-            <value>descending</value>
-        </choice>
-    </attribute>
-</define>
-<define name="table-data-pilot-layout-info">
-    <element name="table:data-pilot-layout-info">
-        <ref name="table-data-pilot-layout-info-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-data-pilot-layout-info-attlist" combine="interleave">
-    <attribute name="table:layout-mode">
-        <choice>
-            <value>tabular-layout</value>
-            <value>outline-subtotals-top</value>
-            <value>outline-subtotals-bottom</value>
-        </choice>
-    </attribute>
-</define>
-<define name="table-data-pilot-layout-info-attlist" combine="interleave">
-    <attribute name="table:add-empty-lines">
-        <ref name="boolean"/>
-    </attribute>
-</define>
-<define name="table-data-pilot-field-reference">
-    <element name="table:data-pilot-field-reference">
-        <ref name="table-data-pilot-field-reference-attlist"/>
-    </element>
-</define>
-<define name="table-data-pilot-field-reference-attlist" combine="interleave">
-    <attribute name="table:field-name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-data-pilot-field-reference-attlist" combine="interleave">
-    <choice>
-        <group>
-            <attribute name="table:member-type">
-                <value>named</value>
-            </attribute>
-            <attribute name="table:member-name">
-                <ref name="string"/>
-            </attribute>
-        </group>
-        <attribute name="table:member-type">
-            <choice>
-                <value>previous</value>
-                <value>next</value>
-            </choice>
-        </attribute>
-    </choice>
-</define>
-<define name="table-data-pilot-field-reference-attlist" combine="interleave">
-    <attribute name="table:type">
-        <choice>
-            <value>none</value>
-            <value>member-difference</value>
-            <value>member-percentage</value>
-            <value>member-percentage-difference</value>
-            <value>running-total</value>
-            <value>row-percentage</value>
-            <value>column-percentage</value>
-            <value>total-percentage</value>
-            <value>index</value>
-        </choice>
-    </attribute>
-</define>
-<define name="table-data-pilot-groups">
-    <element name="table:data-pilot-groups">
-        <ref name="table-data-pilot-groups-attlist"/>
-        <oneOrMore>
-            <ref name="table-data-pilot-group"/>
-        </oneOrMore>
-    </element>
-</define>
-<define name="table-data-pilot-groups-attlist" combine="interleave">
-    <attribute name="table:source-field-name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-data-pilot-groups-attlist" combine="interleave">
-    <choice>
-        <attribute name="table:date-start">
-            <choice>
-                <ref name="dateOrDateTime"/>
-                <value>auto</value>
-            </choice>
-        </attribute>
-        <attribute name="table:start">
-            <choice>
-                <ref name="double"/>
-                <value>auto</value>
-            </choice>
-        </attribute>
-    </choice>
-</define>
-<define name="table-data-pilot-groups-attlist" combine="interleave">
-    <choice>
-        <attribute name="table:date-end">
-            <choice>
-                <ref name="dateOrDateTime"/>
-                <value>auto</value>
-            </choice>
-        </attribute>
-        <attribute name="table:end">
-            <choice>
-                <ref name="double"/>
-                <value>auto</value>
-            </choice>
-        </attribute>
-    </choice>
-</define>
-<define name="table-data-pilot-groups-attlist" combine="interleave">
-    <attribute name="table:step">
-        <ref name="double"/>
-    </attribute>
-</define>
-<define name="table-data-pilot-groups-attlist" combine="interleave">
-    <attribute name="table:grouped-by">
-        <choice>
-            <value>seconds</value>
-            <value>minutes</value>
-            <value>hours</value>
-            <value>days</value>
-            <value>months</value>
-            <value>quarters</value>
-            <value>years</value>
-        </choice>
-    </attribute>
-</define>
-<define name="table-data-pilot-group">
-    <element name="table:data-pilot-group">
-        <ref name="table-data-pilot-group-attlist"/>
-        <oneOrMore>
-            <ref name="table-data-pilot-group-member"/>
-        </oneOrMore>
-    </element>
-</define>
-<define name="table-data-pilot-group-attlist" combine="interleave">
-    <attribute name="table:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-data-pilot-group-member">
-    <element name="table:data-pilot-group-member">
-        <ref name="table-data-pilot-group-member-attlist"/>
-    </element>
-</define>
-<define name="table-data-pilot-group-member-attlist" combine="interleave">
-    <attribute name="table:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-consolidation">
-    <element name="table:consolidation">
-        <ref name="table-consolidation-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-consolidation-attlist" combine="interleave">
-    <attribute name="table:function">    
-        <choice>
-            <value>auto</value>
-            <value>average</value>
-            <value>count</value>
-            <value>countnums</value>
-            <value>max</value>
-            <value>min</value>
-            <value>product</value>
-            <value>stdev</value>
-            <value>stdevp</value>
-            <value>sum</value>
-            <value>var</value>
-            <value>varp</value>
-            <ref name="string"/>
-        </choice>
-    </attribute>
-</define>
-<define name="table-consolidation-attlist" combine="interleave">
-    <attribute name="table:source-cell-range-addresses">    
-        <ref name="cellRangeAddressList"/>
-    </attribute>
-</define>
-<define name="table-consolidation-attlist" combine="interleave">
-    <attribute name="table:target-cell-address">    
-        <ref name="cellAddress"/>
-    </attribute>
-</define>
-<define name="table-consolidation-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:use-labels" a:defaultValue="none">
-            <choice>
-                <value>none</value>
-                <value>row</value>
-                <value>column</value>
-                <value>both</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="table-consolidation-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:link-to-source-data" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-dde-links">
-    <element name="table:dde-links">
-        <oneOrMore>
-            <ref name="table-dde-link"/>
-        </oneOrMore>
-    </element>
-</define>
-<define name="table-tracked-changes">
-    <element name="table:tracked-changes">
-        <ref name="table-tracked-changes-attlist"/>
-        <zeroOrMore>
-            <choice>
-                <ref name="table-cell-content-change"/>
-                <ref name="table-insertion"/>
-                <ref name="table-deletion"/>
-                <ref name="table-movement"/>
-            </choice>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="table-tracked-changes-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:track-changes" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-insertion">
-    <element name="table:insertion">
-        <ref name="table-insertion-attlist"/>
-        <ref name="common-table-change-attlist"/>
-        <ref name="office-change-info"/>
-        <optional>
-            <ref name="table-dependencies"/>
-        </optional>
-        <optional>
-            <ref name="table-deletions"/>
-        </optional>
-    </element>
-</define>
-<define name="table-insertion-attlist" combine="interleave">
-    <attribute name="table:type">
-        <choice>
-            <value>row</value>
-            <value>column</value>
-            <value>table</value>
-        </choice>
-    </attribute>
-</define>
-<define name="table-insertion-attlist" combine="interleave">
-    <attribute name="table:position">
-        <ref name="integer"/>
-    </attribute>
-</define>
-<define name="table-insertion-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:count" a:defaultValue="1">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-insertion-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:table">
-            <ref name="integer"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-dependencies">
-    <element name="table:dependencies">
-        <oneOrMore>
-            <ref name="table-dependency"/>
-        </oneOrMore>
-    </element>
-</define>
-<define name="table-dependency">
-    <element name="table:dependency">
-        <attribute name="table:id">
-            <ref name="string"/>
-        </attribute>
-        <empty/>
-    </element>
-</define>
-<define name="table-deletions">
-    <element name="table:deletions">
-        <oneOrMore>
-            <choice>
-                <ref name="table-cell-content-deletion"/>
-                <ref name="table-change-deletion"/>
-            </choice>
-        </oneOrMore>
-    </element>
-</define>
-<define name="table-cell-content-deletion">
-    <element name="table:cell-content-deletion">
-        <optional>
-            <attribute name="table:id">
-                <ref name="string"/>
-            </attribute>
-        </optional>
-        <optional>
-            <ref name="table-cell-address"/>
-        </optional>
-        <optional>
-            <ref name="table-change-track-table-cell"/>
-        </optional>
-    </element>
-</define>
-<define name="table-change-deletion">
-    <element name="table:change-deletion">
-        <optional>
-            <attribute name="table:id">
-                <ref name="string"/>
-            </attribute>
-        </optional>
-        <empty/>
-    </element>
-</define>
-<define name="table-deletion">
-    <element name="table:deletion">
-        <ref name="table-deletion-attlist"/>
-        <ref name="common-table-change-attlist"/>
-        <ref name="office-change-info"/>
-        <optional>
-            <ref name="table-dependencies"/>
-        </optional>
-        <optional>
-            <ref name="table-deletions"/>
-        </optional>
-        <optional>
-            <ref name="table-cut-offs"/>
-        </optional>
-    </element>
-</define>
-<define name="table-deletion-attlist" combine="interleave">
-    <attribute name="table:type">
-        <choice>
-            <value>row</value>
-            <value>column</value>
-            <value>table</value>
-        </choice>
-    </attribute>
-</define>
-<define name="table-deletion-attlist" combine="interleave">
-    <attribute name="table:position">
-        <ref name="integer"/>
-    </attribute>
-</define>
-<define name="table-deletion-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:table">
-            <ref name="integer"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-deletion-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:multi-deletion-spanned">
-            <ref name="integer"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-cut-offs">
-    <element name="table:cut-offs">
-        <choice>
-            <oneOrMore>
-                <ref name="table-movement-cut-off"/>
-            </oneOrMore>
-            <group>
-                <ref name="table-insertion-cut-off"/>
-                <zeroOrMore>
-                    <ref name="table-movement-cut-off"/>
-                </zeroOrMore>
-            </group>
-        </choice>
-    </element>
-</define>
-<define name="table-insertion-cut-off">
-    <element name="table:insertion-cut-off">
-        <ref name="table-insertion-cut-off-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-insertion-cut-off-attlist" combine="interleave">
-    <attribute name="table:id">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="table-insertion-cut-off-attlist" combine="interleave">
-    <attribute name="table:position">
-        <ref name="integer"/>
-    </attribute>
-</define>
-<define name="table-movement-cut-off">
-    <element name="table:movement-cut-off">
-        <ref name="table-movement-cut-off-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-movement-cut-off-attlist" combine="interleave">
-    <choice>
-        <attribute name="table:position">
-            <ref name="integer"/>
-        </attribute>
-        <group>
-            <attribute name="table:start-position">
-                <ref name="integer"/>
-            </attribute>
-            <attribute name="table:end-position">
-                <ref name="integer"/>
-            </attribute>
-        </group>
-    </choice>
-</define>
-<define name="table-movement">
-    <element name="table:movement">
-        <ref name="common-table-change-attlist"/>
-        <ref name="table-source-range-address"/>
-        <ref name="table-target-range-address"/>
-        <ref name="office-change-info"/>
-        <optional>
-            <ref name="table-dependencies"/>
-        </optional>
-        <optional>
-            <ref name="table-deletions"/>
-        </optional>
-    </element>
-</define>
-<define name="table-source-range-address">
-    <element name="table:source-range-address">
-        <ref name="common-table-range-attlist"/>
-        <empty/>
-    </element>
-</define>
-
-<define name="table-target-range-address">
-    <element name="table:target-range-address">
-        <ref name="common-table-range-attlist"/>
-        <empty/>
-    </element>
-</define>
-
-
-<define name="common-table-range-attlist" combine="interleave">
-    <choice>
-        <group>
-            <ref name="common-table-cell-address-attlist"/>
-        </group>
-        <group>
-            <ref name="common-table-cell-range-address-attlist"/>
-        </group>
-    </choice>
-</define>
-<define name="common-table-cell-address-attlist" combine="interleave">
-    <attribute name="table:column">
-        <ref name="integer"/>
-    </attribute>
-    <attribute name="table:row">
-        <ref name="integer"/>
-    </attribute>
-    <attribute name="table:table">
-        <ref name="integer"/>
-    </attribute>
-</define>
-<define name="common-table-cell-range-address-attlist" combine="interleave">
-    <attribute name="table:start-column">
-        <ref name="integer"/>
-    </attribute>
-    <attribute name="table:start-row">
-        <ref name="integer"/>
-    </attribute>
-    <attribute name="table:start-table">
-        <ref name="integer"/>
-    </attribute>
-    <attribute name="table:end-column">
-        <ref name="integer"/>
-    </attribute>
-    <attribute name="table:end-row">
-        <ref name="integer"/>
-    </attribute>
-    <attribute name="table:end-table">
-        <ref name="integer"/>
-    </attribute>
-</define>
-<define name="table-change-track-table-cell" combine="interleave">
-    <element name="table:change-track-table-cell">
-        <ref name="table-change-track-table-cell-attlist"/>
-        <zeroOrMore>
-            <ref name="text-p"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="table-change-track-table-cell-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:cell-address">
-            <ref name="cellAddress"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-change-track-table-cell-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:matrix-covered" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="table-change-track-table-cell-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:formula">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="table:number-matrix-columns-spanned">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="table:number-matrix-rows-spanned">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-    <optional>
-        <ref name="common-value-and-type-attlist"/>
-    </optional>
-</define>
-<define name="table-cell-content-change">
-    <element name="table:cell-content-change">
-        <ref name="common-table-change-attlist"/>
-        <ref name="table-cell-address"/>
-        <ref name="office-change-info"/>
-        <optional>
-            <ref name="table-dependencies"/>
-        </optional>
-        <optional>
-            <ref name="table-deletions"/>
-        </optional>
-        <ref name="table-previous"/>
-    </element>
-</define>
-<define name="table-cell-address">
-    <element name="table:cell-address">
-        <ref name="common-table-cell-address-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="table-previous">
-    <element name="table:previous">
-        <optional>
-            <attribute name="table:id">
-                <ref name="string"/>
-            </attribute>
-        </optional>
-        <ref name="table-change-track-table-cell"/>
-    </element>
-</define>
-<define name="common-table-change-attlist" combine="interleave">
-    <attribute name="table:id">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="common-table-change-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:acceptance-state" a:defaultValue="pending">
-            <choice>
-                <value>accepted</value>
-                <value>rejected</value>
-                <value>pending</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="common-table-change-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:rejecting-change-id">
-            <ref name="string"/> 
-        </attribute>
-    </optional>
-</define>
-<define name="style-handout-master">
-    <element name="style:handout-master">
-        <ref name="common-presentation-header-footer-attlist"/>
-        <ref name="style-handout-master-attlist"/>
-        <zeroOrMore>
-            <ref name="shape"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="style-handout-master-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:presentation-page-layout-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="style-handout-master-attlist" combine="interleave">
-    <attribute name="style:page-layout-name">
-        <ref name="styleNameRef"/>
-    </attribute>
-</define>
-<define name="style-handout-master-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-layer-set">
-    <element name="draw:layer-set">
-        <zeroOrMore>
-            <ref name="draw-layer"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="draw-layer">
-    <element name="draw:layer">
-        <ref name="draw-layer-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-    </element>
-</define>
-<define name="draw-layer-attlist" combine="interleave">
-    <attribute name="draw:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="draw-layer-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:protected" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-layer-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:display" a:defaultValue="always">
-            <choice>
-                <value>always</value>
-                <value>screen</value>
-                <value>printer</value>
-                <value>none</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-page">
-    <element name="draw:page">
-        <ref name="common-presentation-header-footer-attlist"/>
-        <ref name="draw-page-attlist"/>
-        <optional>
-            <ref name="office-forms"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="shape"/>
-        </zeroOrMore>
-        <optional>
-            <choice>
-                <ref name="presentation-animations"/>
-                <ref name="animation-element"/>
-            </choice>
-        </optional>
-        <optional>
-            <ref name="presentation-notes"/>
-        </optional>
-    </element>
-</define>
-<define name="draw-page-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-page-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-page-attlist" combine="interleave">
-    <attribute name="draw:master-page-name">
-        <ref name="styleNameRef"/>
-    </attribute>
-</define>
-<define name="draw-page-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:presentation-page-layout-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-presentation-header-footer-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:use-header-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-presentation-header-footer-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:use-footer-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-presentation-header-footer-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:use-date-time-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-page-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:id">
-            <ref name="ID"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-page-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:nav-order">
-            <ref name="IDREFS"/>
-        </attribute>
-    </optional>
-</define>
-<define name="shape">
-    <choice>
-        <ref name="draw-rect"/>
-        <ref name="draw-line"/>
-        <ref name="draw-polyline"/>
-        <ref name="draw-polygon"/>
-        <ref name="draw-regular-polygon"/>
-        <ref name="draw-path"/>
-        <ref name="draw-circle"/>
-        <ref name="draw-ellipse"/>
-        <ref name="draw-g"/>
-        <ref name="draw-page-thumbnail"/>
-        <ref name="draw-frame"/>
-        <ref name="draw-measure"/>
-        <ref name="draw-caption"/>
-        <ref name="draw-connector"/>
-        <ref name="draw-control"/>
-        <ref name="dr3d-scene"/>
-        <ref name="draw-custom-shape"/>
-    </choice>
-</define>
-<define name="draw-rect">
-    <element name="draw:rect">
-        <ref name="draw-rect-attlist"/>
-        <ref name="common-draw-position-attlist"/>
-        <ref name="common-draw-size-attlist"/>
-        <ref name="common-draw-shape-with-text-and-styles-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-        <ref name="draw-text"/>
-    </element>
-</define>
-<define name="draw-rect-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:corner-radius">
-            <ref name="nonNegativeLength"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-line">
-    <element name="draw:line">
-        <ref name="draw-line-attlist"/>
-        <ref name="common-draw-shape-with-text-and-styles-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-        <ref name="draw-text"/>
-    </element>
-</define>
-<define name="draw-line-attlist" combine="interleave">
-    <attribute name="svg:x1">
-        <ref name="coordinate"/>
-    </attribute>
-    <attribute name="svg:y1">
-        <ref name="coordinate"/>
-    </attribute>
-</define>
-<define name="draw-line-attlist" combine="interleave">
-    <attribute name="svg:x2">
-        <ref name="coordinate"/>
-    </attribute>
-    <attribute name="svg:y2">
-        <ref name="coordinate"/>
-    </attribute>
-</define>
-<define name="draw-polyline">
-    <element name="draw:polyline">
-        <ref name="common-draw-points-attlist"/>
-        <ref name="common-draw-position-attlist"/>
-        <ref name="common-draw-size-attlist"/>
-        <ref name="common-draw-viewbox-attlist"/>
-        <ref name="common-draw-shape-with-text-and-styles-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-        <ref name="draw-text"/>
-    </element>
-</define>
-<define name="common-draw-points-attlist">
-    <attribute name="draw:points">
-        <ref name="points"/>
-    </attribute>
-</define>
-<define name="draw-polygon">
-    <element name="draw:polygon">
-        <ref name="common-draw-points-attlist"/>
-        <ref name="common-draw-position-attlist"/>
-        <ref name="common-draw-size-attlist"/>
-        <ref name="common-draw-viewbox-attlist"/>
-        <ref name="common-draw-shape-with-text-and-styles-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-        <ref name="draw-text"/>
-    </element>
-</define>
-<define name="draw-regular-polygon">
-    <element name="draw:regular-polygon">
-        <ref name="draw-regular-polygon-attlist"/>
-        <ref name="common-draw-position-attlist"/>
-        <ref name="common-draw-size-attlist"/>
-        <ref name="common-draw-shape-with-text-and-styles-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-        <ref name="draw-text"/>
-    </element>
-</define>
-<define name="draw-regular-polygon-attlist" combine="interleave">
-    <choice>
-        <attribute name="draw:concave">
-            <value>false</value>
-        </attribute>
-        <group>
-            <attribute name="draw:concave">
-                <value>true</value>
-            </attribute>
-            <ref name="draw-regular-polygon-sharpness-attlist"/>
-        </group>
-    </choice>
-</define>
-<define name="draw-regular-polygon-attlist" combine="interleave">
-    <attribute name="draw:corners">
-        <ref name="positiveInteger"/>
-    </attribute>
-</define>
-<define name="draw-regular-polygon-sharpness-attlist">
-    <attribute name="draw:sharpness">
-        <ref name="percent"/>
-    </attribute>
-</define>
-<define name="draw-path">
-    <element name="draw:path">
-        <ref name="common-draw-path-data-attlist"/>
-        <ref name="common-draw-position-attlist"/>
-        <ref name="common-draw-size-attlist"/>
-        <ref name="common-draw-viewbox-attlist"/>
-        <ref name="common-draw-shape-with-text-and-styles-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-        <ref name="draw-text"/>
-    </element>
-</define>
-<define name="common-draw-path-data-attlist">
-    <attribute name="svg:d">
-        <ref name="pathData"/>
-    </attribute>
-</define>
-<define name="draw-circle">
-    <element name="draw:circle">
-        <ref name="draw-circle-attlist"/>
-        <ref name="common-draw-circle-ellipse-attlist"/>
-        <ref name="common-draw-position-attlist"/>
-        <ref name="common-draw-size-attlist"/>
-        <ref name="common-draw-shape-with-text-and-styles-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-        <ref name="draw-text"/>
-    </element>
-</define>
-<define name="common-draw-circle-ellipse-attlist" combine="interleave">
-    <optional>
-        <attribute name="svg:cx">
-            <ref name="coordinate"/>
-        </attribute>
-        <attribute name="svg:cy">
-            <ref name="coordinate"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-circle-attlist" combine="interleave">
-    <optional>
-        <attribute name="svg:r">
-            <ref name="length"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-draw-circle-ellipse-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:kind" a:defaultValue="full">
-            <choice>
-                <value>full</value>
-                <value>section</value>
-                <value>cut</value>
-                <value>arc</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="common-draw-circle-ellipse-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:start-angle">
-            <ref name="double"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-draw-circle-ellipse-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:end-angle">
-            <ref name="double"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-ellipse">
-    <element name="draw:ellipse">
-        <ref name="common-draw-circle-ellipse-attlist"/>
-        <ref name="draw-ellipse-attlist"/>
-        <ref name="common-draw-position-attlist"/>
-        <ref name="common-draw-size-attlist"/>
-        <ref name="common-draw-shape-with-text-and-styles-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-        <ref name="draw-text"/>
-    </element>
-</define>
-<define name="draw-ellipse-attlist" combine="interleave">
-    <optional>
-        <attribute name="svg:rx">
-            <ref name="length"/>
-        </attribute>
-        <attribute name="svg:ry">
-            <ref name="length"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-connector">
-    <element name="draw:connector">
-        <ref name="draw-connector-attlist"/>
-        <ref name="common-draw-shape-with-text-and-styles-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-        <ref name="draw-text"/>
-    </element>
-</define>
-<define name="draw-connector-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:type" a:defaultValue="standard">
-            <choice>
-                <value>standard</value>
-                <value>lines</value>
-                <value>line</value>
-                <value>curve</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-connector-attlist" combine="interleave">
-    <optional>
-        <attribute name="svg:x1">
-            <ref name="coordinate"/>
-        </attribute>
-        <attribute name="svg:y1">
-            <ref name="coordinate"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-connector-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:start-shape">
-            <ref name="IDREF"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-connector-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:start-glue-point">
-            <ref name="nonNegativeInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-connector-attlist" combine="interleave">
-    <optional>
-        <attribute name="svg:x2">
-            <ref name="coordinate"/>
-        </attribute>
-        <attribute name="svg:y2">
-            <ref name="coordinate"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-connector-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:end-shape">
-            <ref name="IDREF"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-connector-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:end-glue-point">
-            <ref name="nonNegativeInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-connector-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:line-skew">
-            <list>
-                <ref name="length"/>
-                <optional>
-                    <ref name="length"/>
-                    <optional>
-                        <ref name="length"/>
-                    </optional>
-                </optional>
-            </list>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-caption">
-    <element name="draw:caption">
-        <ref name="draw-caption-attlist"/>
-        <ref name="common-draw-position-attlist"/>
-        <ref name="common-draw-size-attlist"/>
-        <ref name="common-draw-shape-with-text-and-styles-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-        <ref name="draw-text"/>
-    </element>
-</define>
-<define name="draw-caption-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:caption-point-x">
-            <ref name="coordinate"/>
-        </attribute>
-        <attribute name="draw:caption-point-y">
-            <ref name="coordinate"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-caption-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:corner-radius">
-            <ref name="nonNegativeLength"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-measure">
-    <element name="draw:measure">
-        <ref name="draw-measure-attlist"/>
-        <ref name="common-draw-shape-with-text-and-styles-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-        <ref name="draw-text"/>
-    </element>
-</define>
-<define name="draw-measure-attlist" combine="interleave">
-    <attribute name="svg:x1">
-        <ref name="coordinate"/>
-    </attribute>
-    <attribute name="svg:y1">
-        <ref name="coordinate"/>
-    </attribute>
-</define>
-<define name="draw-measure-attlist" combine="interleave">
-    <attribute name="svg:x2">
-        <ref name="coordinate"/>
-    </attribute>
-    <attribute name="svg:y2">
-        <ref name="coordinate"/>
-    </attribute>
-</define>
-<define name="draw-control">
-    <element name="draw:control">
-        <ref name="draw-control-attlist"/>
-        <ref name="common-draw-position-attlist"/>
-        <ref name="common-draw-size-attlist"/>
-        <ref name="common-draw-shape-with-text-and-styles-attlist"/>    
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="draw-control-attlist" combine="interleave">
-    <attribute name="draw:control">
-        <ref name="IDREF"/>
-    </attribute>
-</define>
-<define name="draw-page-thumbnail">
-    <element name="draw:page-thumbnail">
-        <ref name="draw-page-thumbnail-attlist"/>
-        <ref name="common-draw-position-attlist"/>
-        <ref name="common-draw-size-attlist"/>
-        <ref name="presentation-shape-attlist"/>
-        <ref name="common-draw-shape-with-styles-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-    </element>
-</define>
-<define name="draw-page-thumbnail-attlist">
-    <optional>
-        <attribute name="draw:page-number">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-g">
-    <element name="draw:g">
-        <ref name="draw-g-attlist"/>
-        <ref name="common-draw-z-index-attlist"/>
-        <ref name="common-draw-name-attlist"/>
-        <ref name="common-draw-id-attlist"/>
-        <ref name="common-draw-style-name-attlist"/>
-        <ref name="common-text-spreadsheet-shape-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="shape"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="draw-g-attlist" combine="interleave">
-    <optional>
-        <attribute name="svg:y">
-            <ref name="coordinate"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-draw-name-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-draw-caption-id-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:caption-id">
-            <ref name="IDREF"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-draw-position-attlist">
-    <optional>
-        <attribute name="svg:x">
-            <ref name="coordinate"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="svg:y">
-            <ref name="coordinate"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-draw-size-attlist">
-    <optional>
-        <attribute name="svg:width">
-            <ref name="length"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="svg:height">
-            <ref name="length"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-draw-transform-attlist">
-    <optional>
-        <attribute name="draw:transform">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-draw-viewbox-attlist">
-    <attribute name="svg:viewBox">
-        <list>
-            <ref name="integer"/>
-            <ref name="integer"/>
-            <ref name="integer"/>
-            <ref name="integer"/>
-        </list>
-    </attribute>
-</define>
-<define name="common-draw-style-name-attlist">
-    <choice>
-        <group>
-            <optional>
-                <attribute name="draw:style-name">
-                    <ref name="styleNameRef"/>
-                </attribute>
-            </optional>
-            <optional>
-                <attribute name="draw:class-names">
-                    <ref name="styleNameRefs"/>
-                </attribute>
-            </optional>
-        </group>
-        <group>
-            <optional>
-                <attribute name="presentation:style-name">
-                    <ref name="styleNameRef"/>
-                </attribute>
-            </optional>
-            <optional>
-                <attribute name="presentation:class-names">
-                    <ref name="styleNameRefs"/>
-                </attribute>
-            </optional>
-        </group>
-    </choice>
-</define>
-<define name="common-draw-text-style-name-attlist">
-    <optional>
-        <attribute name="draw:text-style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-draw-layer-name-attlist">
-    <optional>
-        <attribute name="draw:layer">
-            <data type="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-draw-id-attlist">
-    <optional>
-        <attribute name="draw:id">
-            <ref name="ID"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-draw-z-index-attlist">
-    <optional>
-        <attribute name="draw:z-index">
-            <ref name="nonNegativeInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-text-spreadsheet-shape-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:end-cell-address">
-            <ref name="cellAddress"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="table:end-x">
-            <ref name="coordinate"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="table:end-y">
-            <ref name="coordinate"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-text-spreadsheet-shape-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:table-background">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-text-spreadsheet-shape-attlist" combine="interleave">
-    <ref name="common-text-anchor-attlist"/>
-</define>
-
-<define name="common-text-anchor-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:anchor-type">
-            <choice>
-                <value>page</value>
-                <value>frame</value>
-                <value>paragraph</value>
-                <value>char</value>
-                <value>as-char</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="common-text-anchor-attlist" combine="interleave">
-    <optional>
-        <attribute name="text:anchor-page-number">
-            <ref name="positiveInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-text">
-    <zeroOrMore>
-        <choice>
-            <ref name="text-p"/>
-            <ref name="text-list"/>
-        </choice>
-    </zeroOrMore>
-</define>
-<define name="common-draw-shape-with-styles-attlist">
-    <ref name="common-draw-z-index-attlist"/>
-    <ref name="common-draw-id-attlist"/>
-    <ref name="common-draw-layer-name-attlist"/>
-    <ref name="common-draw-style-name-attlist"/>
-    <ref name="common-draw-transform-attlist"/>
-    <ref name="common-draw-name-attlist"/>
-    <ref name="common-text-spreadsheet-shape-attlist"/>
-</define>
-<define name="common-draw-shape-with-text-and-styles-attlist">
-    <ref name="common-draw-shape-with-styles-attlist"/>
-    <ref name="common-draw-text-style-name-attlist"/>
-</define>
-<define name="draw-glue-point">
-    <element name="draw:glue-point">
-        <ref name="draw-glue-point-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="draw-glue-point-attlist" combine="interleave">
-    <attribute name="draw:id">
-        <ref name="nonNegativeInteger"/>
-    </attribute>
-</define>
-<define name="draw-glue-point-attlist" combine="interleave">
-    <attribute name="svg:x">
-        <choice>
-            <ref name="distance"/> 
-            <ref name="percent"/>
-        </choice>
-    </attribute>
-    <attribute name="svg:y">
-        <choice>
-            <ref name="distance"/> 
-            <ref name="percent"/>
-        </choice>
-    </attribute>
-</define>
-<define name="draw-glue-point-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:align">
-            <choice>
-                <value>top-left</value>
-                <value>top</value>
-                <value>top-right</value>
-                <value>left</value>
-                <value>center</value>
-                <value>right</value>
-                <value>bottom-left</value>
-                <value>bottom-right</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-glue-points-attlist" combine="interleave">
-    <attribute name="draw:escape-direction">
-        <choice>
-            <value>auto</value>
-            <value>left</value>
-            <value>right</value>
-            <value>up</value>
-            <value>down</value>
-            <value>horizontal</value>
-            <value>vertical</value>
-        </choice>
-    </attribute>
-</define>
-<define name="svg-title">
-    <element name="svg:title">
-        <text/>
-    </element>
-</define>
-<define name="svg-desc">
-    <element name="svg:desc">
-        <text/>
-    </element>
-</define>
-<define name="draw-frame">
-    <element name="draw:frame">
-        <ref name="common-draw-shape-with-text-and-styles-attlist"/>
-        <ref name="common-draw-position-attlist"/>
-        <ref name="common-draw-rel-size-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <ref name="presentation-shape-attlist"/>
-        <ref name="draw-frame-attlist"/>
-        <zeroOrMore>
-            <choice>
-                <ref name="draw-text-box"/>
-                <ref name="draw-image"/>
-                <ref name="draw-object"/>
-                <ref name="draw-object-ole"/>
-                <ref name="draw-applet"/>
-                <ref name="draw-floating-frame"/>
-                <ref name="draw-plugin"/>
-            </choice>
-        </zeroOrMore>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-        <optional>
-            <ref name="draw-image-map"/>
-        </optional>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <choice>
-                <ref name="draw-contour-polygon"/>
-                <ref name="draw-contour-path"/>
-            </choice>
-        </optional>
-    </element>
-</define>
-<define name="common-draw-rel-size-attlist">
-    <ref name="common-draw-size-attlist"/>
-    <optional>
-        <attribute name="style:rel-width">
-            <choice>
-                <ref name="percent"/>
-                <value>scale</value>
-                <value>scale-min</value>
-            </choice>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="style:rel-height">
-            <choice>
-                <ref name="percent"/>
-                <value>scale</value>
-                <value>scale-min</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-frame-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:copy-of">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-text-box">
-    <element name="draw:text-box">
-        <ref name="draw-text-box-attlist"/>
-        <zeroOrMore>
-            <ref name="text-content"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="draw-text-box-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:chain-next-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-text-box-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:corner-radius">
-            <ref name="nonNegativeLength"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-text-box-attlist" combine="interleave">
-    <optional>
-        <attribute name="fo:min-height">
-            <choice>
-                <ref name="length"/>
-                <ref name="percent"/>
-            </choice>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="fo:min-width">
-            <choice>
-                <ref name="length"/>
-                <ref name="percent"/>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-text-box-attlist" combine="interleave">
-    <optional>
-        <attribute name="fo:max-height">
-            <choice>
-                <ref name="length"/>
-                <ref name="percent"/>
-            </choice>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="fo:max-width">
-            <choice>
-                <ref name="length"/>
-                <ref name="percent"/>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-text-box-attlist" combine="interleave">
-    <optional>
-        <ref name="text-id"/>
-    </optional>
-</define>
-<define name="draw-image">
-    <element name="draw:image">
-        <ref name="draw-image-attlist"/>
-        <choice>
-            <ref name="common-draw-data-attlist"/>
-            <ref name="office-binary-data"/>
-        </choice>
-        <ref name="draw-text"/>
-    </element>
-</define>
-<define name="common-draw-data-attlist" combine="interleave">
-    <group>
-        <attribute name="xlink:href">
-            <ref name="anyURI"/>
-        </attribute>
-        <optional>
-            <attribute name="xlink:type" a:defaultValue="simple">
-                <choice>
-                    <value>simple</value>
-                </choice>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="xlink:show" a:defaultValue="embed">
-                <choice>
-                    <value>embed</value>
-                </choice>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="xlink:actuate" a:defaultValue="onLoad">
-                <choice>
-                    <value>onLoad</value>
-                </choice>
-            </attribute>
-        </optional>
-    </group>
-</define>
-
-<define name="office-binary-data">
-    <element name="office:binary-data">
-        <ref name="base64Binary"/>
-    </element>
-</define>
-<define name="draw-image-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:filter-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-object">
-    <element name="draw:object">
-        <ref name="draw-object-attlist"/>
-        <choice>
-            <ref name="common-draw-data-attlist"/>
-            <ref name="office-document"/>
-            <ref name="math-math"/>
-        </choice>
-    </element>
-</define>
-
-<define name="draw-object-ole">
-    <element name="draw:object-ole">
-        <ref name="draw-object-ole-attlist"/>
-        <choice>
-            <ref name="common-draw-data-attlist"/>
-            <ref name="office-binary-data"/>
-        </choice>
-    </element>
-</define>
-<define name="draw-object-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:notify-on-update-of-ranges">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-object-ole-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:class-id"/>
-    </optional>
-</define>
-<define name="draw-applet">
-    <element name="draw:applet">
-        <ref name="draw-applet-attlist"/>
-        <optional>
-            <ref name="common-draw-data-attlist"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-param"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="draw-applet-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:code"/>
-    </optional>
-</define>
-<define name="draw-applet-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:object"/>
-    </optional>
-</define>
-<define name="draw-applet-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:archive"/>
-    </optional>
-</define>
-<define name="draw-applet-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:may-script" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-plugin">
-    <element name="draw:plugin">
-        <ref name="draw-plugin-attlist"/>
-        <ref name="common-draw-data-attlist"/>
-        <zeroOrMore>
-            <ref name="draw-param"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="draw-plugin-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:mime-type"/>
-    </optional>
-</define>
-<define name="draw-param">
-    <element name="draw:param">
-        <ref name="draw-param-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="draw-param-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:name"/>
-    </optional>
-</define>
-<define name="draw-param-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:value"/>
-    </optional>
-</define>
-<define name="draw-floating-frame">
-    <element name="draw:floating-frame">
-        <ref name="draw-floating-frame-attlist"/>
-        <ref name="common-draw-data-attlist"/>
-    </element>
-</define>
-<define name="draw-floating-frame-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:frame-name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-contour-polygon">
-    <element name="draw:contour-polygon">
-        <ref name="common-contour-attlist"/>
-        <ref name="common-draw-size-attlist"/>
-        <ref name="common-draw-viewbox-attlist"/>
-        <ref name="common-draw-points-attlist"/>
-        <empty/>
-    </element>
-</define>
-
-<define name="draw-contour-path">
-    <element name="draw:contour-path">
-        <ref name="common-contour-attlist"/>
-        <ref name="common-draw-size-attlist"/>
-        <ref name="common-draw-viewbox-attlist"/>
-        <ref name="common-draw-path-data-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="common-contour-attlist" combine="interleave">
-    <attribute name="draw:recreate-on-edit">
-        <ref name="boolean"/>
-    </attribute>
-</define>
-<define name="draw-a">
-    <element name="draw:a">
-        <ref name="draw-a-attlist"/>
-        <ref name="draw-frame"/>
-    </element>
-</define>
-<define name="draw-a-attlist" combine="interleave">
-    <attribute name="xlink:href">
-        <ref name="anyURI"/>
-    </attribute>
-    <optional>
-        <attribute name="xlink:type" a:defaultValue="simple">
-            <value>simple</value>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="xlink:actuate" a:defaultValue="onRequest">
-            <choice>
-                <value>onRequest</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-a-attlist" combine="interleave">
-    <optional>
-        <attribute name="office:target-frame-name">
-            <ref name="targetFrameName"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="xlink:show">
-            <choice>
-                <value>new</value>
-                <value>replace</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-a-attlist" combine="interleave">
-    <optional>
-        <attribute name="office:name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-a-attlist" combine="interleave">
-    <optional>
-        <attribute name="office:title">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-a-attlist" combine="interleave">
-    <optional>
-        <attribute name="office:server-map" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-image-map">
-    <element name="draw:image-map">
-        <zeroOrMore>
-            <choice>
-                <ref name="draw-area-rectangle"/>
-                <ref name="draw-area-circle"/>
-                <ref name="draw-area-polygon"/>
-            </choice>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="draw-area-rectangle">
-    <element name="draw:area-rectangle">
-        <ref name="common-draw-area-attlist"/>
-        <attribute name="svg:x">
-            <ref name="coordinate"/>
-        </attribute>
-        <attribute name="svg:y">
-            <ref name="coordinate"/>
-        </attribute>
-        <attribute name="svg:width">
-            <ref name="length"/>
-        </attribute>
-        <attribute name="svg:height">
-            <ref name="length"/>
-        </attribute>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-    </element>
-</define>
-<define name="draw-area-circle">
-    <element name="draw:area-circle">
-        <ref name="common-draw-area-attlist"/>
-        <attribute name="svg:cx">
-            <ref name="coordinate"/>
-        </attribute>
-        <attribute name="svg:cy">
-            <ref name="coordinate"/>
-        </attribute>
-        <attribute name="svg:r">
-            <ref name="length"/>
-        </attribute>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-    </element>
-</define>
-<define name="draw-area-polygon">
-    <element name="draw:area-polygon">
-        <ref name="common-draw-area-attlist"/>
-        <attribute name="svg:x">
-            <ref name="coordinate"/>
-        </attribute>
-        <attribute name="svg:y">
-            <ref name="coordinate"/>
-        </attribute>
-        <attribute name="svg:width">
-            <ref name="length"/>
-        </attribute>
-        <attribute name="svg:height">
-            <ref name="length"/>
-        </attribute>
-        <ref name="common-draw-viewbox-attlist"/>
-        <ref name="common-draw-points-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-    </element>
-</define>
-<define name="common-draw-area-attlist" combine="interleave">
-    <optional>
-        <attribute name="xlink:href">
-            <ref name="anyURI"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="xlink:type" a:defaultValue="simple">
-            <choice>
-                <value>simple</value>
-            </choice>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="office:target-frame-name">
-            <ref name="targetFrameName"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="xlink:show">
-            <choice>
-                <value>new</value>
-                <value>replace</value>
-            </choice>
-            </attribute>
-    </optional>
-</define>
-<define name="common-draw-area-attlist" combine="interleave">
-    <optional>
-        <attribute name="office:name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-draw-area-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:nohref">
-            <choice>
-                <value>nohref</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="dr3d-scene">
-    <element name="dr3d:scene">
-        <ref name="dr3d-scene-attlist"/>
-        <ref name="common-draw-position-attlist"/>
-        <ref name="common-draw-size-attlist"/>
-        <ref name="common-draw-style-name-attlist"/>
-        <ref name="common-draw-z-index-attlist"/>
-        <ref name="common-draw-id-attlist"/>
-        <ref name="common-draw-layer-name-attlist"/>
-        <ref name="common-text-spreadsheet-shape-attlist"/>
-        <ref name="common-dr3d-transform-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="dr3d-light"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="shapes3d"/>
-        </zeroOrMore>
-    </element>
-</define>
-
-<define name="shapes3d">
-    <choice>
-        <ref name="dr3d-scene"/>
-        <ref name="dr3d-extrude"/>
-        <ref name="dr3d-sphere"/>
-        <ref name="dr3d-rotate"/>
-        <ref name="dr3d-cube"/>
-    </choice>
-</define>
-<define name="dr3d-scene-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:vrp">
-            <ref name="vector3D"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="dr3d:vpn">
-            <ref name="vector3D"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="dr3d:vup">
-            <ref name="vector3D"/>
-        </attribute>
-    </optional>
-</define>
-<define name="dr3d-scene-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:projection">
-            <choice>
-                <value>parallel</value>
-                <value>perspective</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="dr3d-scene-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:distance">
-            <ref name="length"/>
-        </attribute>
-    </optional>
-</define>
-<define name="dr3d-scene-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:focal-length">
-            <ref name="length"/>
-        </attribute>
-    </optional>
-</define>
-<define name="dr3d-scene-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:shadow-slant">
-            <ref name="nonNegativeInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="dr3d-scene-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:shade-mode">
-            <choice>
-                <value>flat</value>
-                <value>phong</value>
-                <value>gouraud</value>
-                <value>draft</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="dr3d-scene-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:ambient-color">
-            <ref name="color"/>
-        </attribute>
-    </optional>
-</define>
-<define name="dr3d-scene-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:lighting-mode">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-dr3d-transform-attlist">
-    <optional>
-        <attribute name="dr3d:transform"/>
-    </optional>
-</define>
-<define name="dr3d-light">
-    <element name="dr3d:light">
-        <ref name="dr3d-light-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="dr3d-light-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:diffuse-color">
-            <ref name="color"/>
-        </attribute>
-    </optional>
-</define>
-<define name="dr3d-light-attlist" combine="interleave">
-    <attribute name="dr3d:direction">
-        <ref name="vector3D"/>
-    </attribute>
-</define>
-<define name="dr3d-light-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:enabled">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="dr3d-light-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:specular">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="dr3d-cube">
-    <element name="dr3d:cube">
-        <ref name="dr3d-cube-attlist"/>
-        <ref name="common-draw-z-index-attlist"/>
-        <ref name="common-draw-id-attlist"/>
-        <ref name="common-draw-layer-name-attlist"/>
-        <ref name="common-draw-style-name-attlist"/>
-        <ref name="common-dr3d-transform-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="dr3d-cube-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:min-edge">
-            <ref name="vector3D"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="dr3d:max-edge">
-            <ref name="vector3D"/>
-        </attribute>
-    </optional>
-</define>
-<define name="dr3d-sphere">
-    <element name="dr3d:sphere">
-        <ref name="dr3d-sphere-attlist"/>
-        <ref name="common-draw-z-index-attlist"/>
-        <ref name="common-draw-id-attlist"/>
-        <ref name="common-draw-layer-name-attlist"/>
-        <ref name="common-draw-style-name-attlist"/>
-        <ref name="common-dr3d-transform-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="dr3d-sphere-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:center">
-            <ref name="vector3D"/>
-        </attribute>
-    </optional>
-</define>
-<define name="dr3d-sphere-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:size">
-            <ref name="vector3D"/>
-        </attribute>
-    </optional>
-</define>
-<define name="dr3d-extrude">
-    <element name="dr3d:extrude">
-        <ref name="common-draw-path-data-attlist"/>
-        <ref name="common-draw-viewbox-attlist"/>
-        <ref name="common-draw-id-attlist"/>
-        <ref name="common-draw-z-index-attlist"/>
-        <ref name="common-draw-layer-name-attlist"/>
-        <ref name="common-draw-style-name-attlist"/>
-        <ref name="common-dr3d-transform-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="dr3d-rotate">
-    <element name="dr3d:rotate">
-        <ref name="common-draw-viewbox-attlist"/>
-        <ref name="common-draw-path-data-attlist"/>
-        <ref name="common-draw-z-index-attlist"/>
-        <ref name="common-draw-id-attlist"/>
-        <ref name="common-draw-layer-name-attlist"/>
-        <ref name="common-draw-style-name-attlist"/>
-        <ref name="common-dr3d-transform-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="draw-custom-shape">
-    <element name="draw:custom-shape">
-        <ref name="draw-custom-shape-attlist"/>
-        <ref name="common-draw-position-attlist"/>
-        <ref name="common-draw-size-attlist"/>
-        <ref name="common-draw-shape-with-text-and-styles-attlist"/>
-        <ref name="common-draw-caption-id-attlist"/>
-        <optional>
-            <ref name="svg-title"/>
-        </optional>
-        <optional>
-            <ref name="svg-desc"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="draw-glue-point"/>
-        </zeroOrMore>
-        <ref name="draw-text"/>
-        <optional>
-            <ref name="draw-enhanced-geometry"/>
-        </optional>
-    </element>
-</define>
-<define name="draw-custom-shape-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:engine">
-            <ref name="namespacedToken"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-custom-shape-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:data">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry">
-    <element name="draw:enhanced-geometry">
-        <ref name="draw-enhanced-geometry-attlist"/>
-        <zeroOrMore>
-            <ref name="draw-equation"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="draw-handle"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:type" a:defaultValue="non-primitive">
-            <ref name="custom-shape-type"/>
-        </attribute>
-    </optional>
-</define>
-
-<define name="custom-shape-type">
-    <choice>
-        <value>non-primitive</value>
-        <ref name="string"/>
-    </choice>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="svg:viewBox">
-            <list>
-                <ref name="integer"/>
-                <ref name="integer"/>
-                <ref name="integer"/>
-                <ref name="integer"/>
-            </list>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:mirror-vertical" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="draw:mirror-horizontal" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:text-rotate-angle" a:defaultValue="0">
-            <ref name="double"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-allowed" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:text-path-allowed" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:concentric-gradient-fill-allowed"
-                    a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-brightness" a:defaultValue="33%">
-            <ref name="percent"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-depth" a:defaultValue="36pt 0">
-            <list>
-                <ref name="length"/>
-                <ref name="double"/>
-            </list>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-diffusion" a:defaultValue="0%">
-            <ref name="percent"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-number-of-line-segments"
-                   a:defaultValue="30">
-            <ref name="integer"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-light-face" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-first-light-harsh"
-                   a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-second-light-harsh"
-                   a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-first-light-level"
-                   a:defaultValue="66%">
-            <ref name="percent"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-second-light-level"
-                   a:defaultValue="66%">
-            <ref name="percent"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-first-light-direction"
-                   a:defaultValue="(5 0 1)">
-            <ref name="vector3D"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-second-light-direction"
-                   a:defaultValue="(-5 0 1)">
-            <ref name="vector3D"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-metal" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:shade-mode" a:defaultValue="flat">
-            <choice>
-                <value>flat</value>
-                <value>phong</value>
-                <value>gouraud</value>
-                <value>draft</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-rotation-angle" a:defaultValue="0 0">
-            <list>
-                <ref name="double"/>
-                <ref name="double"/>
-            </list>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-rotation-center">
-            <ref name="vector3D"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-shininess" a:defaultValue="50%">
-            <ref name="percent"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-skew" a:defaultValue="50 45">
-            <list>
-                <ref name="double"/>
-                <ref name="double"/>
-            </list>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-specularity" a:defaultValue="0%">
-            <ref name="percent"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="dr3d:projection" a:defaultValue="parallel">
-            <choice>
-                <value>parallel</value>
-                <value>perspective</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-viewpoint" 
-                   a:defaultValue="3.5cm -3.5cm 25cm">
-            <ref name="point3D"/>
-        </attribute>
-    </optional>
-</define>
-
-<define name="point3D">
-    <data type="string"/>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-origin" a:defaultValue="0.5 -0.5">
-            <list>
-                <ref name="double"/>
-                <ref name="double"/>
-            </list>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:extrusion-color" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:enhanced-path">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:path-stretchpoint-x" a:defaultValue="0">
-            <ref name="double"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="draw:path-stretchpoint-y" a:defaultValue="0">
-            <ref name="double"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:text-areas">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:glue-points">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:glue-point-type" a:defaultValue="none">
-            <choice>
-                <value>none</value>
-                <value>segments</value>
-                <value>rectangle</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:glue-point-leaving-directions"/>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:text-path" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:text-path-mode" a:defaultValue="normal">
-            <choice>
-                <value>normal</value>
-                <value>path</value>
-                <value>shape</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:text-path-scale" a:defaultValue="path">
-            <choice>
-                <value>path</value>
-                <value>shape</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:text-path-same-letter-heights"
-                   a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-enhanced-geometry-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:modifiers">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-equation">
-    <element name="draw:equation">
-        <ref name="draw-equation-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="draw-equation-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-equation-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:formula">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-handle">
-    <element name="draw:handle">
-        <ref name="draw-handle-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="draw-handle-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:handle-mirror-vertical" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-handle-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:handle-mirror-horizontal" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-handle-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:handle-switched" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-handle-attlist" combine="interleave">
-    <attribute name="draw:handle-position">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="draw-handle-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:handle-range-x-minimum">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-handle-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:handle-range-x-maximum">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-handle-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:handle-range-y-minimum">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-handle-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:handle-range-y-maximum">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-handle-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:handle-polar">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-handle-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:handle-radius-range-minimum">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="draw-handle-attlist" combine="interleave">
-    <optional>
-        <attribute name="draw:handle-radius-range-maximum">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-shape-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:class">
-            <ref name="presentation-classes"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-classes">
-    <choice>
-        <value>title</value>
-        <value>outline</value>
-        <value>subtitle</value>
-        <value>text</value>
-        <value>graphic</value>
-        <value>object</value>
-        <value>chart</value>
-        <value>table</value>
-        <value>orgchart</value>
-        <value>page</value>
-        <value>notes</value>
-        <value>handout</value>
-        <value>header</value>
-        <value>footer</value>
-        <value>date-time</value>
-        <value>page-number</value>
-    </choice>
-</define>
-<define name="presentation-shape-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:placeholder">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-shape-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:user-transformed">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-animations">
-    <element name="presentation:animations">
-        <zeroOrMore>
-            <choice>
-                <ref name="presentation-animation-elements"/>
-                <ref name="presentation-animation-group"/>
-            </choice>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="presentation-animation-elements">
-    <choice>
-        <ref name="presentation-show-shape"/>
-        <ref name="presentation-show-text"/>
-        <ref name="presentation-hide-shape"/>
-        <ref name="presentation-hide-text"/>
-        <ref name="presentation-dim"/>
-        <ref name="presentation-play"/>
-    </choice>
-</define>
-<define name="presentation-sound">
-    <element name="presentation:sound">
-        <ref name="presentation-sound-attlist"/>
-        <attribute name="xlink:href">
-            <ref name="anyURI"/>
-        </attribute>
-        <optional>
-            <attribute name="xlink:type" a:defaultValue="simple">
-                <choice>
-                    <value>simple</value>
-                </choice>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="xlink:actuate" a:defaultValue="onRequest">
-                <choice>
-                    <value>onRequest</value>
-                </choice>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="xlink:show">
-                <choice>
-                    <value>new</value>
-                    <value>replace</value>
-                </choice>
-            </attribute>
-        </optional>
-        <empty/>
-    </element>
-</define>
-<define name="presentation-sound-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:play-full">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-show-shape">
-    <element name="presentation:show-shape">
-        <ref name="common-presentation-effect-attlist"/>
-        <optional>
-            <ref name="presentation-sound"/>
-        </optional>
-    </element>
-</define>
-<define name="common-presentation-effect-attlist" combine="interleave">
-    <attribute name="draw:shape-id">
-        <ref name="IDREF"/>
-    </attribute>
-</define>
-<define name="common-presentation-effect-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:effect" a:defaultValue="none">
-            <ref name="presentationEffects"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentationEffects">
-    <choice>
-        <value>none</value>
-        <value>fade</value>
-        <value>move</value>
-        <value>stripes</value>
-        <value>open</value>
-        <value>close</value>
-        <value>dissolve</value>
-        <value>wavyline</value>
-        <value>random</value>
-        <value>lines</value>
-        <value>laser</value>
-        <value>appear</value>
-        <value>hide</value>
-        <value>move-short</value>
-        <value>checkerboard</value>
-        <value>rotate</value>
-        <value>stretch</value>
-    </choice>
-</define>
-<define name="common-presentation-effect-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:direction" a:defaultValue="none">
-            <ref name="presentationEffectDirections"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentationEffectDirections">
-    <choice>
-        <value>none</value>
-        <value>from-left</value>
-        <value>from-top</value>
-        <value>from-right</value>
-        <value>from-bottom</value>
-        <value>from-center</value>
-        <value>from-upper-left</value>
-        <value>from-upper-right</value>
-        <value>from-lower-left</value>
-        <value>from-lower-right</value>
-        <value>to-left</value>
-        <value>to-top</value>
-        <value>to-right</value>
-        <value>to-bottom</value>
-        <value>to-upper-left</value>
-        <value>to-upper-right</value>
-        <value>to-lower-right</value>
-        <value>to-lower-left</value>
-        <value>path</value>
-        <value>spiral-inward-left</value>
-        <value>spiral-inward-right</value>
-        <value>spiral-outward-left</value>
-        <value>spiral-outward-right</value>
-        <value>vertical</value>
-        <value>horizontal</value>
-        <value>to-center</value>
-        <value>clockwise</value>
-        <value>counter-clockwise</value>
-    </choice>
-</define>
-<define name="common-presentation-effect-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:speed" a:defaultValue="medium">
-            <ref name="presentationSpeeds"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentationSpeeds">
-    <choice>
-        <value>slow</value>
-        <value>medium</value>
-        <value>fast</value>
-    </choice>
-</define>
-<define name="common-presentation-effect-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:delay">
-            <ref name="duration"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-presentation-effect-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:start-scale" a:defaultValue="100%">
-            <ref name="percent"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-presentation-effect-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:path-id"/>
-    </optional>
-</define>
-<define name="presentation-show-text">
-    <element name="presentation:show-text">
-        <ref name="common-presentation-effect-attlist"/>
-        <optional>
-            <ref name="presentation-sound"/>
-        </optional>
-    </element>
-</define>
-<define name="presentation-hide-shape">
-    <element name="presentation:hide-shape">
-        <ref name="common-presentation-effect-attlist"/>
-        <optional>
-            <ref name="presentation-sound"/>
-        </optional>
-    </element>
-</define>
-<define name="presentation-hide-text">
-    <element name="presentation:hide-text">
-        <ref name="common-presentation-effect-attlist"/>
-        <optional>
-            <ref name="presentation-sound"/>
-        </optional>
-    </element>
-</define>
-<define name="presentation-dim">
-    <element name="presentation:dim">
-        <ref name="presentation-dim-attlist"/>
-        <optional>
-            <ref name="presentation-sound"/>
-        </optional>
-    </element>
-</define>
-<define name="presentation-dim-attlist" combine="interleave">
-    <attribute name="draw:shape-id">
-        <ref name="IDREF"/>
-    </attribute>
-</define>
-<define name="presentation-dim-attlist" combine="interleave">
-    <attribute name="draw:color">
-        <ref name="color"/>
-    </attribute>
-</define>
-<define name="presentation-play">
-    <element name="presentation:play">
-        <ref name="presentation-play-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="presentation-play-attlist" combine="interleave">
-    <attribute name="draw:shape-id">
-        <ref name="IDREF"/>
-    </attribute>
-    <optional>
-        <attribute name="presentation:speed" a:defaultValue="medium">
-            <ref name="presentationSpeeds"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-animation-group">
-    <element name="presentation:animation-group">
-        <zeroOrMore>
-            <ref name="presentation-animation-elements"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="common-anim-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:node-type" a:defaultValue="default">
-            <choice>
-                <value>default</value>
-                <value>on-click</value>
-                <value>with-previous</value>
-                <value>after-previous</value>
-                <value>timing-root</value>
-                <value>main-sequence</value>
-                <value>interactive-sequence</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="common-anim-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:preset-id">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-anim-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:preset-sub-type">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-anim-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:preset-class" a:defaultValue="custom">
-            <choice>
-                <value>custom</value>
-                <value>entrance</value>
-                <value>exit</value>
-                <value>emphasis</value>
-                <value>motion-path</value>
-                <value>ole-action</value>
-                <value>media-call</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="common-anim-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:master-element">
-            <ref name="IDREF"/>
-        </attribute>
-    </optional>
-</define>
-<define name="common-anim-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:group-id">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-event-listener">
-    <element name="presentation:event-listener">
-        <ref name="presentation-event-listener-attlist"/>
-        <optional>
-            <ref name="presentation-sound"/>
-        </optional>
-    </element>
-</define>
-<define name="presentation-event-listener-attlist" combine="interleave">
-    <attribute name="script:event-name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="presentation-event-listener-attlist" combine="interleave">
-    <attribute name="presentation:action">
-        <choice>
-            <value>none</value>
-            <value>previous-page</value>
-            <value>next-page</value>
-            <value>first-page</value>
-            <value>last-page</value>
-            <value>hide</value>
-            <value>stop</value>
-            <value>execute</value>
-            <value>show</value>
-            <value>verb</value>
-            <value>fade-out</value>
-            <value>sound</value>
-        </choice>
-    </attribute>
-</define>
-<define name="presentation-event-listener-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:effect" a:defaultValue="none">
-            <ref name="presentationEffects"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-event-listener-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:direction" a:defaultValue="none">
-            <ref name="presentationEffectDirections"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-event-listener-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:speed" a:defaultValue="medium">
-            <ref name="presentationSpeeds"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-event-listener-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:start-scale" a:defaultValue="100%">
-            <ref name="percent"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-event-listener-attlist" combine="interleave">
-    <optional>
-        <attribute name="xlink:href">
-            <ref name="anyURI"/>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="xlink:type" a:defaultValue="simple">
-            <choice>
-                <value>simple</value>
-            </choice>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="xlink:show" a:defaultValue="embed">
-            <choice>
-                <value>embed</value>
-            </choice>
-        </attribute>
-    </optional>
-    <optional>
-        <attribute name="xlink:actuate" a:defaultValue="onRequest">
-            <choice>
-                <value>onRequest</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-event-listener-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:verb">
-            <ref name="nonNegativeInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="presentation:header">
-        <empty/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="presentation:footer">
-        <empty/>
-    </element>
-</define>
-<define name="paragraph-content" combine="choice">
-    <element name="presentation:date-time">
-        <empty/>
-    </element>
-</define>
-<define name="presentation-decls">
-    <zeroOrMore>
-        <ref name="presentation-decl"/>
-    </zeroOrMore>
-</define>
-<define name="presentation-decl" combine="choice">
-    <element name="presentation:header-decl">
-        <ref name="presentation-header-decl-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="presentation-header-decl-attlist" combine="interleave">
-    <attribute name="presentation:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="presentation-decl" combine="choice">
-    <element name="presentation:footer-decl">
-        <ref name="presentation-footer-decl-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="presentation-footer-decl-attlist" combine="interleave">
-    <attribute name="presentation:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="presentation-decl" combine="choice">
-    <element name="presentation:date-time-decl">
-        <ref name="presentation-date-time-decl-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="presentation-date-time-decl-attlist" combine="interleave">
-    <attribute name="presentation:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="presentation-date-time-decl-attlist" combine="interleave">
-    <attribute name="presentation:source">
-        <choice>
-            <value>fixed</value>
-            <value>current-date</value>
-        </choice>
-    </attribute>
-</define>
-<define name="presentation-date-time-decl-attlist" combine="interleave">
-    <optional>
-        <attribute name="style:data-style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-settings">
-    <optional>
-        <element name="presentation:settings">
-            <ref name="presentation-settings-attlist"/>
-            <zeroOrMore>
-                <ref name="presentation-show"/>
-            </zeroOrMore>
-        </element>
-    </optional>
-</define>
-<define name="presentation-settings-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:start-page">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-settings-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:show">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-settings-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:full-screen" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-settings-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:endless" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-settings-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:pause">
-            <ref name="duration"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-settings-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:show-logo" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-settings-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:force-manual" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-settings-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:mouse-visible" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-settings-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:mouse-as-pen" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-settings-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:start-with-navigator"
-                   a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-settings-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:animations" a:defaultValue="enabled">
-            <choice>
-                <value>enabled</value>
-                <value>disabled</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-settings-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:transition-on-click"
-                   a:defaultValue="enabled">
-            <choice>
-                <value>enabled</value>
-                <value>disabled</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-settings-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:stay-on-top" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-settings-attlist" combine="interleave">
-    <optional>
-        <attribute name="presentation:show-end-of-presentation-slide"
-                   a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="presentation-show">
-    <element name="presentation:show">
-        <ref name="presentation-show-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="presentation-show-attlist" combine="interleave">
-    <attribute name="presentation:name">
-        <ref name="string"/>
-    </attribute>
-</define>
-<define name="presentation-show-attlist" combine="interleave">
-    <attribute name="presentation:pages"/>
-</define>
-<define name="chart-chart">
-    <element name="chart:chart">
-        <ref name="chart-chart-attlist"/>
-        <optional>
-            <ref name="chart-title"/>
-        </optional>
-        <optional>
-            <ref name="chart-subtitle"/>
-        </optional>
-        <optional>
-            <ref name="chart-footer"/>
-        </optional>
-        <optional>
-            <ref name="chart-legend"/>
-        </optional>
-        <ref name="chart-plot-area"/>
-        <optional>
-            <ref name="table-table"/>
-        </optional>
-    </element>
-</define>
-<define name="chart-chart-attlist" combine="interleave">
-    <attribute name="chart:class">
-        <ref name="namespacedToken"/>
-    </attribute>
-</define>
-<define name="chart-chart-attlist" combine="interleave">
-    <ref name="common-draw-size-attlist"/>
-</define>
-<define name="chart-chart-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:column-mapping">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-chart-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:row-mapping">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-chart-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-title">
-    <element name="chart:title">
-        <ref name="chart-title-attlist"/>
-        <optional>
-            <ref name="text-p"/>
-        </optional>
-    </element>
-</define>
-<define name="chart-title-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:cell-range">
-            <ref name="cellAddress"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-title-attlist" combine="interleave">
-    <ref name="common-draw-position-attlist"/>
-</define>
-<define name="chart-title-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-subtitle">
-    <element name="chart:subtitle">
-        <ref name="chart-title-attlist"/>
-        <optional>
-            <ref name="text-p"/>
-        </optional>
-    </element>
-</define>
-<define name="chart-footer">
-    <element name="chart:footer">
-        <ref name="chart-title-attlist"/>
-        <optional>
-            <ref name="text-p"/>
-        </optional>
-    </element>
-</define>
-<define name="chart-legend">
-    <element name="chart:legend">
-        <ref name="chart-legend-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="chart-legend-attlist" combine="interleave">
-    <choice>
-        <group>
-            <attribute name="chart:legend-position">
-                <choice>
-                    <value>start</value>
-                    <value>end</value>
-                    <value>top</value>
-                    <value>bottom</value>
-                </choice>
-            </attribute>
-            <optional>
-                <attribute name="chart:legend-align">
-                    <choice>
-                        <value>start</value>
-                        <value>center</value>
-                        <value>end</value>
-                    </choice>
-                </attribute>
-            </optional>
-        </group>
-        <attribute name="chart:legend-position">
-            <choice>
-                <value>top-start</value>
-                <value>bottom-start</value>
-                <value>top-end</value>
-                <value>bottom-end</value>
-            </choice>
-        </attribute>
-        <empty/>
-    </choice>
-</define>
-<define name="chart-legend-attlist" combine="interleave">
-    <ref name="common-draw-position-attlist"/>
-</define>
-<define name="chart-legend-attlist" combine="interleave">
-    <choice>
-        <attribute name="style:legend-expansion">
-            <choice>
-                <value>wide</value>
-                <value>high</value>
-                <value>balanced</value>
-            </choice>
-        </attribute>
-        <group>
-            <attribute name="style:legend-expansion">
-                <value>custom</value>
-            </attribute>
-            <attribute name="style:legend-expansion-aspect-ratio">
-                <ref name="double"/>
-            </attribute>
-        </group>
-        <empty/>
-    </choice>
-</define>
-<define name="chart-legend-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-plot-area">
-    <element name="chart:plot-area">
-        <ref name="chart-plot-area-attlist"/>
-        <zeroOrMore>
-            <ref name="dr3d-light"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="chart-axis"/>
-        </zeroOrMore>
-        <zeroOrMore>
-            <ref name="chart-series"/>
-        </zeroOrMore>
-        <optional>
-            <ref name="chart-stock-gain-marker"/>
-        </optional>
-        <optional>
-            <ref name="chart-stock-loss-marker"/>
-        </optional>
-        <optional>
-            <ref name="chart-stock-range-line"/>
-        </optional>
-        <optional>
-            <ref name="chart-wall"/>
-        </optional>
-        <optional>
-            <ref name="chart-floor"/>
-        </optional>
-    </element>
-</define>
-<define name="chart-plot-area-attlist" combine="interleave">
-    <ref name="common-draw-position-attlist"/>
-    <ref name="common-draw-size-attlist"/>
-</define>
-<define name="chart-plot-area-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-plot-area-attlist" combine="interleave">
-    <optional>
-        <attribute name="table:cell-range-address">
-            <ref name="cellRangeAddress"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-plot-area-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:data-source-has-labels" a:defaultValue="none">
-            <choice>
-                <value>none</value>
-                <value>row</value>
-                <value>column</value>
-                <value>both</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-plot-area-attlist" combine="interleave">
-    <ref name="dr3d-scene-attlist"/>
-    <ref name="common-dr3d-transform-attlist"/>
-</define>
-<define name="chart-wall">
-    <element name="chart:wall">
-        <ref name="chart-wall-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="chart-wall-attlist" combine="interleave">
-    <optional>
-        <attribute name="svg:width">
-            <ref name="length"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-wall-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-floor">
-    <element name="chart:floor">
-        <ref name="chart-floor-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="chart-floor-attlist" combine="interleave">
-    <optional>
-        <attribute name="svg:width">
-            <ref name="length"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-floor-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-axis">
-    <element name="chart:axis">
-        <ref name="chart-axis-attlist"/>
-        <optional>
-            <ref name="chart-title"/>
-        </optional>
-        <optional>
-            <ref name="chart-categories"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="chart-grid"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="chart-axis-attlist" combine="interleave">
-    <attribute name="chart:dimension">
-        <choice>
-            <value>x</value>
-            <value>y</value>
-            <value>z</value>
-        </choice>
-    </attribute>
-</define>
-<define name="chart-axis-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:name">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-axis-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-grid">
-    <element name="chart:grid">
-        <ref name="chart-grid-attlist"/>
-    </element>
-</define>
-<define name="chart-grid-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:class" a:defaultValue="major">
-            <choice>
-                <value>major</value>
-                <value>minor</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-grid-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-series">
-    <element name="chart:series">
-        <ref name="chart-series-attlist"/>
-        <zeroOrMore>
-            <ref name="chart-domain"/>
-        </zeroOrMore>
-        <optional>
-            <ref name="chart-mean-value"/>
-        </optional>
-        <optional>
-            <ref name="chart-regression-curve"/>
-        </optional>
-        <optional>
-            <ref name="chart-error-indicator"/>
-        </optional>
-        <zeroOrMore>
-            <ref name="chart-data-point"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="chart-series-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:values-cell-range-address">
-            <ref name="cellRangeAddress"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-series-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:label-cell-address">
-            <ref name="cellAddress"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-series-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:class">
-            <ref name="namespacedToken"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-series-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:attached-axis">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-series-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-domain">
-    <element name="chart:domain">
-    <optional>
-        <attribute name="table:cell-range-address">
-            <ref name="cellRangeAddress"/>
-        </attribute>
-    </optional>
-    </element>
-</define>
-<define name="chart-categories">
-    <element name="chart:categories">
-    <optional>
-        <attribute name="table:cell-range-address">
-            <ref name="cellRangeAddress"/>
-        </attribute>
-    </optional>
-    </element>
-</define>
-<define name="chart-data-point">
-    <element name="chart:data-point">
-        <ref name="chart-data-point-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="chart-data-point-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:repeated">
-            <ref name="nonNegativeInteger"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-data-point-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-
-<define name="chart-mean-value">
-    <element name="chart:mean-value">
-        <ref name="chart-mean-value-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="chart-mean-value-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-error-indicator">
-    <element name="chart:error-indicator">
-        <ref name="chart-error-indicator-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="chart-error-indicator-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-regression-curve">
-    <element name="chart:regression-curve">
-        <ref name="chart-regression-curve-attlist"/>
-        <empty/>
-    </element>
-</define>
-<define name="chart-regression-curve-attlist" combine="interleave">
-    <optional>
-        <attribute name="chart:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="chart-stock-gain-marker">
-    <element name="chart:stock-gain-marker">
-        <ref name="common-stock-marker-attlist"/>
-    </element>
-</define>
-<define name="chart-stock-loss-marker">
-    <element name="chart:stock-loss-marker">
-        <ref name="common-stock-marker-attlist"/>
-    </element>
-</define>
-<define name="chart-stock-range-line">
-    <element name="chart:stock-range-line">
-        <ref name="common-stock-marker-attlist"/>
-    </element>
-</define>
-<define name="common-stock-marker-attlist">
-    <optional>
-        <attribute name="chart:style-name">
-            <ref name="styleNameRef"/>
-        </attribute>
-    </optional>
-</define>
-<define name="office-forms">
-    <optional>
-        <element name="office:forms">
-            <ref name="office-forms-attlist"/>
-            <zeroOrMore>
-                <choice>
-                    <ref name="form-form"/>
-                    <ref name="xforms-model"/>
-                </choice>
-            </zeroOrMore>
-        </element>
-    </optional>
-</define>
-<define name="office-forms-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:automatic-focus" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="office-forms-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:apply-design-mode" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form">
-    <element name="form:form">
-        <ref name="common-form-control-attlist"/>
-        <ref name="form-form-attlist"/>
-        <optional>
-            <ref name="form-properties"/>
-        </optional>
-        <optional>
-            <ref name="office-event-listeners"/>
-        </optional>
-        <zeroOrMore>
-            <choice>
-                <ref name="controls"/>
-                <ref name="form-form"/>
-            </choice>
-        </zeroOrMore>
-        <optional>
-            <ref name="form-connection-resource"/>
-        </optional>
-    </element>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="xlink:href">
-            <ref name="anyURI"/>
-        </attribute>
-        <optional>
-            <attribute name="xlink:type" a:defaultValue="simple">
-                <value>simple</value>
-            </attribute>
-        </optional>
-        <optional>
-            <attribute name="xlink:actuate" a:defaultValue="onRequest">
-                <value>onRequest</value>
-            </attribute>
-        </optional>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="office:target-frame" a:defaultValue="_blank">
-            <ref name="targetFrameName"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:method" a:defaultValue="get">
-            <choice>
-                <value>get</value>
-                <value>post</value>
-                <ref name="string"/>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:enctype" 
-                    a:defaultValue="application/x-www-form-urlencoded">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:allow-deletes" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:allow-inserts" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:allow-updates" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:apply-filter" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:command-type" a:defaultValue="command">
-            <choice>
-                <value>table</value>
-                <value>query</value>
-                <value>command</value>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:command"/>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:datasource">
-            <choice>
-                <ref name="anyURI"/>
-                <ref name="string"/>
-            </choice>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:master-fields">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:detail-fields">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:escape-processing" a:defaultValue="true">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:filter">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:ignore-result" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:navigation-mode">
-            <ref name="navigation"/>
-        </attribute>
-    </optional>
-</define>
-
-<define name="navigation">
-    <choice>
-        <value>none</value>
-        <value>current</value>
-        <value>parent</value>
-    </choice>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:order">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-form-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:tab-cycle">
-            <ref name="tab-cycles"/>
-        </attribute>
-    </optional>
-</define>
-<define name="tab-cycles">
-    <choice>
-        <value>records</value>
-        <value>current</value>
-        <value>page</value>
-    </choice>
-</define>
-<define name="form-connection-resource">
-    <element name="form:connection-resource">
-        <attribute name="xlink:href">
-            <ref name="anyURI"/>
-        </attribute>
-        <empty/>
-    </element>
-</define>
-<define name="xforms-model">
-    <element name="xforms:model">
-        <ref name="anyAttListOrElements"/>
-    </element>
-</define>
-<define name="column-controls" combine="choice">
-    <element name="form:text">
-        <ref name="form-text-attlist"/>
-        <ref name="common-form-control-content"/>
-    </element>
-</define>
-<define name="controls" combine="choice">
-    <ref name="column-controls"/>
-</define>
-<define name="form-text-attlist">
-    <ref name="form-control-attlist"/>
-    <ref name="common-current-value-attlist"/>
-    <ref name="common-disabled-attlist"/>
-    <ref name="common-maxlength-attlist"/>
-    <ref name="common-printable-attlist"/>
-    <ref name="common-readonly-attlist"/>
-    <ref name="common-tab-attlist"/>
-    <ref name="common-title-attlist"/>
-    <ref name="common-value-attlist"/>
-    <ref name="common-convert-empty-attlist"/>
-    <ref name="common-data-field-attlist"/>
-</define>
-<define name="form-control-attlist">
-    <ref name="common-form-control-attlist"/>
-    <ref name="common-control-id-attlist"/>
-    <ref name="xforms-bind-attlist"/>
-</define>
-<define name="common-form-control-content">
-    <optional>
-        <ref name="form-properties"/>
-    </optional>
-    <optional>
-        <ref name="office-event-listeners"/>
-    </optional>
-</define>
-<define name="column-controls" combine="choice">
-    <element name="form:textarea">
-        <ref name="form-textarea-attlist"/>
-        <ref name="common-form-control-content"/>
-        <zeroOrMore>
-            <ref name="text-p"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="form-textarea-attlist">
-    <ref name="form-control-attlist"/>
-    <ref name="common-current-value-attlist"/>
-    <ref name="common-disabled-attlist"/>
-    <ref name="common-maxlength-attlist"/>
-    <ref name="common-printable-attlist"/>
-    <ref name="common-readonly-attlist"/>
-    <ref name="common-tab-attlist"/>
-    <ref name="common-title-attlist"/>
-    <ref name="common-value-attlist"/>
-    <ref name="common-convert-empty-attlist"/>
-    <ref name="common-data-field-attlist"/>
-</define>
-<define name="controls" combine="choice">
-    <element name="form:password">
-        <ref name="form-password-attlist"/>
-        <ref name="common-form-control-content"/>
-    </element>
-</define>
-<define name="form-password-attlist" combine="interleave">
-    <ref name="form-control-attlist"/>
-    <ref name="common-disabled-attlist"/>
-    <ref name="common-maxlength-attlist"/>
-    <ref name="common-printable-attlist"/>
-    <ref name="common-tab-attlist"/>
-    <ref name="common-title-attlist"/>
-    <ref name="common-value-attlist"/>
-    <ref name="common-convert-empty-attlist"/>
-</define>
-<define name="form-password-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:echo-char" a:defaultValue="*">
-            <ref name="character"/>
-        </attribute>
-    </optional>
-</define>
-<define name="controls" combine="choice">
-    <element name="form:file">
-        <ref name="form-file-attlist"/>
-        <ref name="common-form-control-content"/>
-    </element>
-</define>
-<define name="form-file-attlist" combine="interleave">
-    <ref name="form-control-attlist"/>
-    <ref name="common-current-value-attlist"/>
-    <ref name="common-disabled-attlist"/>
-    <ref name="common-maxlength-attlist"/>
-    <ref name="common-printable-attlist"/>
-    <ref name="common-readonly-attlist"/>
-    <ref name="common-tab-attlist"/>
-    <ref name="common-title-attlist"/>
-    <ref name="common-value-attlist"/>
-</define>
-<define name="column-controls" combine="choice">
-    <element name="form:formatted-text">
-        <ref name="form-formatted-text-attlist"/>
-        <ref name="common-form-control-content"/>
-    </element>
-</define>
-<define name="form-formatted-text-attlist" combine="interleave">
-    <ref name="form-control-attlist"/>
-    <ref name="common-current-value-attlist"/>
-    <ref name="common-disabled-attlist"/>
-    <ref name="common-maxlength-attlist"/>
-    <ref name="common-printable-attlist"/>
-    <ref name="common-readonly-attlist"/>
-    <ref name="common-tab-attlist"/>
-    <ref name="common-title-attlist"/>
-    <ref name="common-value-attlist"/>
-    <ref name="common-convert-empty-attlist"/>
-    <ref name="common-data-field-attlist"/>
-</define>
-<define name="form-formatted-text-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:max-value">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-formatted-text-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:min-value">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-formatted-text-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:validation" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="column-controls" combine="choice">
-    <element name="form:number">
-        <ref name="form-number-attlist"/>
-        <ref name="common-numeric-control-attlist"/>
-        <ref name="common-form-control-content"/>
-    </element>
-</define>
-<define name="common-numeric-control-attlist">
-    <ref name="form-control-attlist"/>
-    <ref name="common-disabled-attlist"/>
-    <ref name="common-maxlength-attlist"/>
-    <ref name="common-printable-attlist"/>
-    <ref name="common-readonly-attlist"/>
-    <ref name="common-tab-attlist"/>
-    <ref name="common-title-attlist"/>
-    <ref name="common-convert-empty-attlist"/>
-    <ref name="common-data-field-attlist"/>
-</define>
-<define name="form-number-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:value">
-            <ref name="double"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-number-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:current-value">
-            <ref name="double"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-number-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:min-value">
-            <ref name="double"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-number-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:max-value">
-            <ref name="double"/>
-        </attribute>
-    </optional>
-</define>
-<define name="column-controls" combine="choice">
-    <element name="form:date">
-        <ref name="form-date-attlist"/>
-        <ref name="common-numeric-control-attlist"/>
-        <ref name="common-form-control-content"/>
-    </element>
-</define>
-<define name="controls" combine="choice">
-    <element name="form:time">
-        <ref name="form-time-attlist"/>
-        <ref name="common-numeric-control-attlist"/>
-        <ref name="common-form-control-content"/>
-    </element>
-</define>
-<define name="form-date-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:value">
-            <ref name="date"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-time-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:value">
-            <ref name="time"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-date-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:current-value">
-            <ref name="date"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-time-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:current-value">
-            <ref name="time"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-date-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:min-value">
-            <ref name="date"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-time-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:min-value">
-            <ref name="time"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-date-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:max-value">
-            <ref name="date"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-time-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:max-value">
-            <ref name="time"/>
-        </attribute>
-    </optional>
-</define>
-<define name="controls" combine="choice">
-    <element name="form:fixed-text">
-        <ref name="form-fixed-text-attlist"/>
-        <ref name="common-form-control-content"/>
-    </element>
-</define>
-<define name="form-fixed-text-attlist" combine="interleave">
-    <ref name="form-control-attlist"/>
-    <ref name="for"/>
-    <ref name="common-disabled-attlist"/>
-    <ref name="label"/>
-    <ref name="common-printable-attlist"/>
-    <ref name="common-title-attlist"/>
-</define>
-<define name="form-fixed-text-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:multi-line" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="column-controls" combine="choice">
-    <element name="form:combobox">
-        <ref name="form-combobox-attlist"/>
-        <ref name="common-form-control-content"/>
-        <zeroOrMore>
-            <ref name="form-item"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="form-combobox-attlist" combine="interleave">
-    <ref name="form-control-attlist"/>
-    <ref name="common-current-value-attlist"/>
-    <ref name="common-disabled-attlist"/>
-    <ref name="dropdown"/>
-    <ref name="common-maxlength-attlist"/>
-    <ref name="common-printable-attlist"/>
-    <ref name="common-readonly-attlist"/>
-    <ref name="size"/>
-    <ref name="common-tab-attlist"/>
-    <ref name="common-title-attlist"/>
-    <ref name="common-value-attlist"/>
-    <ref name="common-convert-empty-attlist"/>
-    <ref name="common-data-field-attlist"/>
-    <ref name="list-source"/>
-    <ref name="list-source-type"/>
-</define>
-<define name="form-combobox-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:auto-complete">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-item">
-    <element name="form:item">
-        <ref name="form-item-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="form-item-attlist" combine="interleave">
-    <ref name="label"/>
-</define>
-<define name="column-controls" combine="choice">
-    <element name="form:listbox">
-        <ref name="form-listbox-attlist"/>
-        <ref name="common-form-control-content"/>
-        <zeroOrMore>
-            <ref name="form-option"/>
-        </zeroOrMore>
-    </element>
-</define>
-<define name="form-listbox-attlist" combine="interleave">
-    <ref name="form-control-attlist"/>
-    <ref name="common-disabled-attlist"/>
-    <ref name="dropdown"/>
-    <ref name="common-printable-attlist"/>
-    <ref name="size"/>
-    <ref name="common-tab-attlist"/>
-    <ref name="common-title-attlist"/>
-    <ref name="bound-column"/>
-    <ref name="common-data-field-attlist"/>
-    <ref name="list-source"/>
-    <ref name="list-source-type"/>
-</define>
-<define name="form-listbox-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:multiple" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-listbox-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:xforms-list-source">
-            <ref name="string"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-option">
-    <element name="form:option">
-        <ref name="form-option-attlist"/>
-        <text/>
-    </element>
-</define>
-<define name="form-option-attlist" combine="interleave">
-    <ref name="current-selected"/>
-    <ref name="selected"/>
-    <ref name="label"/>
-    <ref name="common-value-attlist"/>
-</define>
-<define name="controls" combine="choice">
-    <element name="form:button">
-        <ref name="form-button-attlist"/>
-        <ref name="common-form-control-content"/>
-    </element>
-</define>
-<define name="form-button-attlist" combine="interleave">
-    <ref name="form-control-attlist"/>
-    <ref name="button-type"/>
-    <ref name="common-disabled-attlist"/>
-    <ref name="label"/>
-    <ref name="image-data"/>
-    <ref name="common-printable-attlist"/>
-    <ref name="common-tab-attlist"/>
-    <ref name="target-frame"/>
-    <ref name="target-location"/>
-    <ref name="common-title-attlist"/>
-    <ref name="common-value-attlist"/>
-    <ref name="common-form-relative-image-position-attlist"/>
-</define>
-<define name="form-button-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:default-button" a:defaultValue="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-button-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:toggle" a:default-value="false">
-            <ref name="boolean"/>
-        </attribute>
-    </optional>
-</define>
-<define name="form-button-attlist" combine="interleave">
-    <optional>
-        <attribute name="form:focus-on-click">
-       &nb