summaryrefslogtreecommitdiff
path: root/slides/schema
diff options
context:
space:
mode:
Diffstat (limited to 'slides/schema')
-rw-r--r--slides/schema/relaxng/admonitions.rng174
-rw-r--r--slides/schema/relaxng/annotations.rng97
-rw-r--r--slides/schema/relaxng/bibliography.rng431
-rw-r--r--slides/schema/relaxng/callouts.rng503
-rw-r--r--slides/schema/relaxng/calstbl.rng918
-rw-r--r--slides/schema/relaxng/core.rng46
-rw-r--r--slides/schema/relaxng/docbook.rng34
-rw-r--r--slides/schema/relaxng/docbook1.rng63
-rw-r--r--slides/schema/relaxng/ebnf.rng267
-rw-r--r--slides/schema/relaxng/error.rng136
-rw-r--r--slides/schema/relaxng/glossary.rng513
-rw-r--r--slides/schema/relaxng/gui.rng292
-rw-r--r--slides/schema/relaxng/hier.rng730
-rw-r--r--slides/schema/relaxng/htmltbl.rng678
-rw-r--r--slides/schema/relaxng/index.rng773
-rw-r--r--slides/schema/relaxng/keyboard.rng320
-rw-r--r--slides/schema/relaxng/markup.rng304
-rw-r--r--slides/schema/relaxng/math.rng208
-rw-r--r--slides/schema/relaxng/mathml.rng122
-rw-r--r--slides/schema/relaxng/msgset.rng427
-rw-r--r--slides/schema/relaxng/os.rng513
-rw-r--r--slides/schema/relaxng/pool.rng6084
-rw-r--r--slides/schema/relaxng/product.rng250
-rw-r--r--slides/schema/relaxng/programming.rng1116
-rw-r--r--slides/schema/relaxng/qandaset.rng245
-rw-r--r--slides/schema/relaxng/refentry.rng488
-rw-r--r--slides/schema/relaxng/refsect1.rng192
-rw-r--r--slides/schema/relaxng/sect1.rng360
-rw-r--r--slides/schema/relaxng/slides.rnc206
-rw-r--r--slides/schema/relaxng/slides.rng362
-rw-r--r--slides/schema/relaxng/svg.rng112
-rw-r--r--slides/schema/relaxng/tasks.rng170
-rw-r--r--slides/schema/relaxng/technical.rng220
-rw-r--r--slides/schema/relaxng/toc.rng161
-rw-r--r--slides/schema/relaxng/topic.rng106
-rw-r--r--slides/schema/relaxng/xlink.rng182
-rw-r--r--slides/schema/xsd/admonitions.xsd134
-rw-r--r--slides/schema/xsd/annotations.xsd65
-rw-r--r--slides/schema/xsd/bibliography.xsd289
-rw-r--r--slides/schema/xsd/callouts.xsd406
-rw-r--r--slides/schema/xsd/calstbl.xsd1425
-rw-r--r--slides/schema/xsd/core.xsd36
-rw-r--r--slides/schema/xsd/db.xsd37
-rw-r--r--slides/schema/xsd/docbook.xsd37
-rw-r--r--slides/schema/xsd/docbook1.xsd37
-rw-r--r--slides/schema/xsd/ebnf.xsd183
-rw-r--r--slides/schema/xsd/error.xsd97
-rw-r--r--slides/schema/xsd/glossary.xsd319
-rw-r--r--slides/schema/xsd/gui.xsd218
-rw-r--r--slides/schema/xsd/hier.xsd606
-rw-r--r--slides/schema/xsd/htmltbl.xsd536
-rw-r--r--slides/schema/xsd/index.xsd537
-rw-r--r--slides/schema/xsd/keyboard.xsd350
-rw-r--r--slides/schema/xsd/markup.xsd284
-rw-r--r--slides/schema/xsd/math.xsd156
-rw-r--r--slides/schema/xsd/mathml.xsd82
-rw-r--r--slides/schema/xsd/msgset.xsd309
-rw-r--r--slides/schema/xsd/os.xsd369
-rw-r--r--slides/schema/xsd/pool.xsd4834
-rw-r--r--slides/schema/xsd/product.xsd255
-rw-r--r--slides/schema/xsd/programming.xsd749
-rw-r--r--slides/schema/xsd/qandaset.xsd188
-rw-r--r--slides/schema/xsd/refentry.xsd361
-rw-r--r--slides/schema/xsd/refsect1.xsd142
-rw-r--r--slides/schema/xsd/sect1.xsd252
-rw-r--r--slides/schema/xsd/slides.xsd362
-rw-r--r--slides/schema/xsd/svg.xsd82
-rw-r--r--slides/schema/xsd/tasks.xsd132
-rw-r--r--slides/schema/xsd/technical.xsd250
-rw-r--r--slides/schema/xsd/toc.xsd116
-rw-r--r--slides/schema/xsd/topic.xsd70
-rw-r--r--slides/schema/xsd/xlink.xsd67
-rw-r--r--slides/schema/xsd/xlink1.xsd103
-rw-r--r--slides/schema/xsd/xml.xsd35
74 files changed, 32313 insertions, 0 deletions
diff --git a/slides/schema/relaxng/admonitions.rng b/slides/schema/relaxng/admonitions.rng
new file mode 100644
index 0000000..8666065
--- /dev/null
+++ b/slides/schema/relaxng/admonitions.rng
@@ -0,0 +1,174 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start combine="choice">
+ <ref name="db.admonition.blocks"/>
+ </start>
+ <define name="db.nopara.blocks" combine="choice">
+ <ref name="db.admonition.blocks"/>
+ </define>
+ <!-- ====================================================================== -->
+ <ctrl:exclude from="db.formal.blocks" exclude="db.admonition.blocks"/>
+ <ctrl:exclude from="db.admonition.blocks" exclude="db.admonition.blocks"/>
+ <ctrl:exclude from="db.footnote" exclude="db.admonition.blocks"/>
+ <ctrl:exclude from="db.caption" exclude="db.admonition.blocks"/>
+ <define name="db.admonition.blocks">
+ <choice>
+ <ref name="db.caution"/>
+ <ref name="db.important"/>
+ <ref name="db.note"/>
+ <ref name="db.tip"/>
+ <ref name="db.warning"/>
+ </choice>
+ </define>
+ <define name="db.admonition.contentmodel">
+ <ref name="db._info.title.only"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>caution</db:refname>
+ <db:refpurpose>A note of caution</db:refpurpose>
+ <define name="db.caution.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.caution.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.caution.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.caution">
+ <element name="caution">
+ <ref name="db.caution.attlist"/>
+ <ref name="db.admonition.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>important</db:refname>
+ <db:refpurpose>An admonition set off from the text</db:refpurpose>
+ <define name="db.important.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.important.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.important.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.important">
+ <element name="important">
+ <ref name="db.important.attlist"/>
+ <ref name="db.admonition.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>note</db:refname>
+ <db:refpurpose>A message set off from the text</db:refpurpose>
+ <define name="db.note.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.note.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.note.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.note">
+ <element name="note">
+ <ref name="db.note.attlist"/>
+ <ref name="db.admonition.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>tip</db:refname>
+ <db:refpurpose>A suggestion to the user, set off from the text</db:refpurpose>
+ <define name="db.tip.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.tip.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.tip.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.tip">
+ <element name="tip">
+ <ref name="db.tip.attlist"/>
+ <ref name="db.admonition.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>warning</db:refname>
+ <db:refpurpose>An admonition set off from the text</db:refpurpose>
+ <define name="db.warning.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.warning.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.warning.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.warning">
+ <element name="warning">
+ <ref name="db.warning.attlist"/>
+ <ref name="db.admonition.contentmodel"/>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/annotations.rng b/slides/schema/relaxng/annotations.rng
new file mode 100644
index 0000000..13479be
--- /dev/null
+++ b/slides/schema/relaxng/annotations.rng
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: annotations.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start combine="choice">
+ <ref name="db.annotation"/>
+ </start>
+ <define name="db.ubiq.inlines" combine="choice">
+ <ref name="db.annotation"/>
+ </define>
+ <define name="db.all.blocks" combine="choice">
+ <ref name="db.annotation"/>
+ </define>
+ <define name="db.info.elements" combine="choice">
+ <ref name="db.annotation"/>
+ </define>
+ <define name="db.annotations.attribute">
+ <attribute name="annotations">
+ <db:refpurpose>Identifies one or more annotations that apply to this element</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.common.attributes" combine="interleave">
+ <optional>
+ <ref name="db.annotations.attribute"/>
+ </optional>
+ </define>
+ <define name="db.common.idreq.attributes" combine="interleave">
+ <optional>
+ <ref name="db.annotations.attribute"/>
+ </optional>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>annotation</db:refname>
+ <db:refpurpose>An annotation</db:refpurpose>
+ <ctrl:exclude from="db.annotation" exclude="db.annotation"/>
+ <define name="db.annotation.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.annotation.annotates.attribute">
+ <attribute name="annotates">
+ <db:refpurpose>Identifies one ore more elements to which this annotation applies</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.annotation.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.annotation.role.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.annotation.annotates.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.annotation.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.annotation">
+ <element name="annotation">
+ <ref name="db.annotation.attlist"/>
+ <ref name="db.annotation.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/bibliography.rng b/slides/schema/relaxng/bibliography.rng
new file mode 100644
index 0000000..29e4f28
--- /dev/null
+++ b/slides/schema/relaxng/bibliography.rng
@@ -0,0 +1,431 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: bibliography.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <start combine="choice">
+ <choice>
+ <ref name="db.bibliodiv"/>
+ <ref name="db.bibliolist"/>
+ </choice>
+ </start>
+ <define name="db.navigation.components" combine="choice">
+ <ref name="db.bibliography"/>
+ </define>
+ <define name="db.list.blocks" combine="choice">
+ <ref name="db.bibliolist"/>
+ </define>
+ <define name="db.info.elements" combine="choice">
+ <choice>
+ <ref name="db.bibliomisc"/>
+ <ref name="db.bibliomset"/>
+ <ref name="db.bibliorelation"/>
+ <ref name="db.biblioset"/>
+ </choice>
+ </define>
+ <define name="db.link.inlines" combine="choice">
+ <ref name="db.biblioref"/>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.relation.attribute">
+ <attribute name="relation">
+ <db:refpurpose>Identifies the relationship between the bibliographic elemnts</db:refpurpose>
+ </attribute>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>biblioentry</db:refname>
+ <db:refpurpose>A raw entry in a bibliography</db:refpurpose>
+ <define name="db.biblioentry.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.biblioentry.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.biblioentry.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.biblioentry">
+ <element name="biblioentry">
+ <ref name="db.biblioentry.attlist"/>
+ <oneOrMore>
+ <ref name="db.bibliographic.elements"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>bibliomixed</db:refname>
+ <db:refpurpose>A cooked entry in a bibliography</db:refpurpose>
+ <define name="db.bibliomixed.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.bibliomixed.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.bibliomixed.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.bibliomixed">
+ <element name="bibliomixed">
+ <ref name="db.bibliomixed.attlist"/>
+ <choice>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.honorific"/>
+ <ref name="db.firstname"/>
+ <ref name="db.surname"/>
+ <ref name="db.lineage"/>
+ <ref name="db.othername"/>
+ <ref name="db.bibliographic.elements"/>
+ </choice>
+ </zeroOrMore>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.honorific"/>
+ <ref name="db.givenname"/>
+ <ref name="db.surname"/>
+ <ref name="db.lineage"/>
+ <ref name="db.othername"/>
+ <ref name="db.bibliographic.elements"/>
+ </choice>
+ </zeroOrMore>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>biblioset</db:refname>
+ <db:refpurpose>A raw container for related bibliographic information</db:refpurpose>
+ <define name="db.biblioset.relation.attribute">
+ <ref name="db.relation.attribute"/>
+ </define>
+ <define name="db.biblioset.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.biblioset.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.biblioset.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.biblioset.relation.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.biblioset">
+ <element name="biblioset">
+ <ref name="db.biblioset.attlist"/>
+ <oneOrMore>
+ <ref name="db.bibliographic.elements"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>bibliomset</db:refname>
+ <db:refpurpose>A cooked container for related bibliographic information</db:refpurpose>
+ <define name="db.bibliomset.relation.attribute">
+ <ref name="db.relation.attribute"/>
+ </define>
+ <define name="db.bibliomset.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.bibliomset.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.bibliomset.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.bibliomset.relation.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.bibliomset">
+ <element name="bibliomset">
+ <ref name="db.bibliomset.attlist"/>
+ <choice>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.honorific"/>
+ <ref name="db.firstname"/>
+ <ref name="db.surname"/>
+ <ref name="db.lineage"/>
+ <ref name="db.othername"/>
+ <ref name="db.bibliographic.elements"/>
+ </choice>
+ </zeroOrMore>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.honorific"/>
+ <ref name="db.givenname"/>
+ <ref name="db.surname"/>
+ <ref name="db.lineage"/>
+ <ref name="db.othername"/>
+ <ref name="db.bibliographic.elements"/>
+ </choice>
+ </zeroOrMore>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>bibliomisc</db:refname>
+ <db:refpurpose>Untyped bibliographic information</db:refpurpose>
+ <define name="db.bibliomisc.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.bibliomisc.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.bibliomisc.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.bibliomisc">
+ <element name="bibliomisc">
+ <ref name="db.bibliomisc.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>bibliography</db:refname>
+ <db:refpurpose>A bibliography</db:refpurpose>
+ <define name="db.bibliography.status.attrib">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.bibliography.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.bibliography.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.bibliography.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.bibliography.status.attrib"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.bibliography.info">
+ <ref name="db._info"/>
+ </define>
+ <define name="db.bibliography">
+ <element name="bibliography">
+ <ref name="db.bibliography.attlist"/>
+ <ref name="db.bibliography.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <choice>
+ <oneOrMore>
+ <ref name="db.bibliodiv"/>
+ </oneOrMore>
+ <oneOrMore>
+ <choice>
+ <ref name="db.biblioentry"/>
+ <ref name="db.bibliomixed"/>
+ </choice>
+ </oneOrMore>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>bibliodiv</db:refname>
+ <db:refpurpose>A section of a bibliography</db:refpurpose>
+ <define name="db.bibliodiv.status.attrib">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.bibliodiv.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.bibliodiv.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.bibliodiv.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.bibliodiv.status.attrib"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.bibliodiv.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.bibliodiv">
+ <element name="bibliodiv">
+ <ref name="db.bibliodiv.attlist"/>
+ <ref name="db.bibliodiv.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <choice>
+ <ref name="db.biblioentry"/>
+ <ref name="db.bibliomixed"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>bibliolist</db:refname>
+ <db:refpurpose>A wrapper for a list of bibliography entries</db:refpurpose>
+ <define name="db.bibliolist.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.bibliolist.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.bibliolist.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.bibliolist.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.bibliolist">
+ <element name="bibliolist">
+ <ref name="db.bibliolist.attlist"/>
+ <optional>
+ <ref name="db.bibliolist.info"/>
+ </optional>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <choice>
+ <ref name="db.biblioentry"/>
+ <ref name="db.bibliomixed"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>biblioref</db:refname>
+ <db:refpurpose>A cross-reference to a bibliographic entry</db:refpurpose>
+ <define name="db.biblioref.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.biblioref.xrefstyle.attribute">
+ <ref name="db.xrefstyle.attribute"/>
+ </define>
+ <define name="db.biblioref.endterm.attribute">
+ <ref name="db.endterm.attribute"/>
+ </define>
+ <define name="db.biblioref.units.attribute">
+ <attribute name="units">
+ <db:refpurpose>The units (for example, pages) used to identify the beginning and ending of a reference.</db:refpurpose>
+ <data type="token"/>
+ </attribute>
+ </define>
+ <define name="db.biblioref.begin.attribute">
+ <attribute name="begin">
+ <db:refpurpose>Identifies the beginning of a reference; the location within the work that is being referenced.</db:refpurpose>
+ <data type="token"/>
+ </attribute>
+ </define>
+ <define name="db.biblioref.end.attribute">
+ <attribute name="end">
+ <db:refpurpose>Identifies the end of a reference.</db:refpurpose>
+ <data type="token"/>
+ </attribute>
+ </define>
+ <define name="db.biblioref.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.biblioref.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.req.linking.attributes"/>
+ <optional>
+ <ref name="db.biblioref.xrefstyle.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.biblioref.endterm.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.biblioref.units.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.biblioref.begin.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.biblioref.end.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.biblioref">
+ <element name="biblioref">
+ <ref name="db.biblioref.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/callouts.rng b/slides/schema/relaxng/callouts.rng
new file mode 100644
index 0000000..12c231c
--- /dev/null
+++ b/slides/schema/relaxng/callouts.rng
@@ -0,0 +1,503 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: callouts.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <start combine="choice">
+ <choice>
+ <ref name="db.calloutlist"/>
+ <ref name="db.programlistingco"/>
+ <ref name="db.screenco"/>
+ <ref name="db.imageobjectco"/>
+ </choice>
+ </start>
+ <define name="db.publishing.inlines" combine="choice">
+ <ref name="db.coref"/>
+ </define>
+ <define name="db.list.blocks" combine="choice">
+ <ref name="db.calloutlist"/>
+ </define>
+ <define name="db.verbatim.blocks" combine="choice">
+ <choice>
+ <ref name="db.programlistingco"/>
+ <ref name="db.screenco"/>
+ </choice>
+ </define>
+ <define name="db.computeroutput.inlines" combine="choice">
+ <ref name="db.co"/>
+ </define>
+ <define name="db.verbatim.inlines" combine="choice">
+ <ref name="db.co"/>
+ </define>
+ <define name="db.prompt.inlines" combine="choice">
+ <ref name="db.co"/>
+ </define>
+ <define name="db.systemitem.inlines" combine="choice">
+ <ref name="db.co"/>
+ </define>
+ <define name="db.userinput.inlines" combine="choice">
+ <ref name="db.co"/>
+ </define>
+ <define name="db.replaceable.inlines" combine="choice">
+ <ref name="db.co"/>
+ </define>
+ <define name="db.ubiq.inlines" combine="choice">
+ <ref name="db.coref"/>
+ </define>
+ <define name="db.mediaobject.content" combine="choice">
+ <ref name="db.imageobjectco"/>
+ </define>
+ <!-- ====================================================================== -->
+ <ctrl:other-attribute name="area.units.attrib" enum-name="area.units-enum.attribute" other-name="area.units-other.attributes"/>
+ <define name="db.area.units.enumeration">
+ <choice>
+ <value>calspair</value>
+ <a:documentation>Coordinates expressed as a pair of CALS graphic coordinates.</a:documentation>
+ <value>linecolumn</value>
+ <a:documentation>Coordinates expressed as a line and column.</a:documentation>
+ <value>linecolumnpair</value>
+ <a:documentation>Coordinates expressed as a pair of lines and columns.</a:documentation>
+ <value>linerange</value>
+ <a:documentation>Coordinates expressed as a line range.</a:documentation>
+ </choice>
+ </define>
+ <define name="db.area.units-enum.attribute">
+ <optional>
+ <attribute name="units">
+ <db:refpurpose>Identifies the units used in the coords attribute. The default units vary according to the type of callout specified: <db:tag class="attvalue">calspair</db:tag>
+ for graphics and <db:tag class="attvalue">linecolumn</db:tag>
+ for line-oriented elements.</db:refpurpose>
+ <ref name="db.area.units.enumeration"/>
+ </attribute>
+ </optional>
+ </define>
+ <define name="db.area.units-other.attributes">
+ <optional>
+ <attribute name="units">
+ <db:refpurpose>Indicates that non-standard units are used for this <db:tag>area</db:tag>
+. In this case <db:tag class="attribute">otherunits</db:tag>
+ must be specified.</db:refpurpose>
+ <value>other</value>
+ <a:documentation>Coordinates expressed in some non-standard units.</a:documentation>
+ </attribute>
+ </optional>
+ <attribute name="otherunits">
+ <db:refpurpose>Identifies the units used in the <db:tag class="attribute">coords</db:tag>
+ attribute when the <db:tag class="attribute">units</db:tag>
+ attribute is <db:quote>other</db:quote>
+. This attribute is forbidden otherwise.</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <define name="db.area.units.attribute">
+ <choice>
+ <ref name="db.area.units-enum.attribute"/>
+ <ref name="db.area.units-other.attributes"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>calloutlist</db:refname>
+ <db:refpurpose>A list of <db:tag>callout</db:tag>
+s</db:refpurpose>
+ <define name="db.calloutlist.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.calloutlist.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.calloutlist.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.calloutlist.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.calloutlist">
+ <element name="calloutlist">
+ <ref name="db.calloutlist.attlist"/>
+ <ref name="db.calloutlist.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <ref name="db.callout"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>callout</db:refname>
+ <db:refpurpose>A <db:quote>called out</db:quote>
+ description of a marked area</db:refpurpose>
+ <define name="db.callout.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.callout.arearefs.attribute">
+ <attribute name="arearefs">
+ <db:refpurpose>Identifies the areas described by this callout.</db:refpurpose>
+ <data type="IDREFS"/>
+ </attribute>
+ </define>
+ <define name="db.callout.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.callout.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.callout.arearefs.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.callout">
+ <element name="callout">
+ <ref name="db.callout.attlist"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>programlistingco</db:refname>
+ <db:refpurpose>A program listing with associated areas used in callouts</db:refpurpose>
+ <define name="db.programlistingco.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.programlistingco.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.programlistingco.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.programlistingco.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.programlistingco">
+ <element name="programlistingco">
+ <ref name="db.programlistingco.attlist"/>
+ <ref name="db.programlistingco.info"/>
+ <ref name="db.areaspec"/>
+ <ref name="db.programlisting"/>
+ <zeroOrMore>
+ <ref name="db.calloutlist"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>areaspec</db:refname>
+ <db:refpurpose>A collection of regions in a graphic or code example</db:refpurpose>
+ <define name="db.areaspec.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.areaspec.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.areaspec.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.area.units.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.areaspec">
+ <element name="areaspec">
+ <ref name="db.areaspec.attlist"/>
+ <oneOrMore>
+ <choice>
+ <ref name="db.area"/>
+ <ref name="db.areaset"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>area</db:refname>
+ <db:refpurpose>A region defined for a callout in a graphic or code example</db:refpurpose>
+ <define name="db.area.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.area.linkends.attribute">
+ <attribute name="linkends">
+ <db:refpurpose>Point to the <db:tag>callout</db:tag>
+s which refer to this area. (This provides bidirectional linking which may be useful in online presentation.)</db:refpurpose>
+ <data type="IDREFS"/>
+ </attribute>
+ </define>
+ <define name="db.area.label.attribute">
+ <attribute name="label">
+ <db:refpurpose>Specifies an identifying number or string that may be used in presentation. The area label might be drawn on top of the figure, for example, at the position indicated by the coords attribute.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.area.coords.attribute">
+ <attribute name="coords">
+ <db:refpurpose>Provides the coordinates of the area. The coordinates must be interpreted using the <db:tag class="attribute">units</db:tag>
+ specified.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.area.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.area.role.attribute"/>
+ </optional>
+ <ref name="db.common.idreq.attributes"/>
+ <ref name="db.area.units.attribute"/>
+ <optional>
+ <choice>
+ <ref name="db.area.linkends.attribute"/>
+ <ref name="db.href.attributes"/>
+ </choice>
+ </optional>
+ <optional>
+ <ref name="db.area.label.attribute"/>
+ </optional>
+ <ref name="db.area.coords.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.area">
+ <element name="area">
+ <ref name="db.area.attlist"/>
+ <optional>
+ <ref name="db.alt"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>area</db:refname>
+ <db:refpurpose>A region defined for a callout in a graphic or code example</db:refpurpose>
+ <!-- The only difference is that xml:id is optional -->
+ <define name="db.area.inareaset.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.area.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.area.units.attribute"/>
+ <optional>
+ <choice>
+ <ref name="db.area.linkends.attribute"/>
+ <ref name="db.href.attributes"/>
+ </choice>
+ </optional>
+ <optional>
+ <ref name="db.area.label.attribute"/>
+ </optional>
+ <ref name="db.area.coords.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.area.inareaset">
+ <element name="area">
+ <ref name="db.area.inareaset.attlist"/>
+ <optional>
+ <ref name="db.alt"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>areaset</db:refname>
+ <db:refpurpose>A set of related areas in a graphic or code example</db:refpurpose>
+ <define name="db.areaset.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.areaset.linkends.attribute">
+ <ref name="db.linkends.attribute"/>
+ </define>
+ <define name="db.areaset.label.attribute">
+ <ref name="db.label.attribute"/>
+ </define>
+ <define name="db.areaset.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.areaset.role.attribute"/>
+ </optional>
+ <ref name="db.common.idreq.attributes"/>
+ <ref name="db.area.units.attribute"/>
+ <optional>
+ <choice>
+ <ref name="db.areaset.linkends.attribute"/>
+ <ref name="db.href.attributes"/>
+ </choice>
+ </optional>
+ <optional>
+ <ref name="db.areaset.label.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.areaset">
+ <element name="areaset">
+ <ref name="db.areaset.attlist"/>
+ <oneOrMore>
+ <ref name="db.area.inareaset"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>screenco</db:refname>
+ <db:refpurpose>A screen with associated areas used in callouts</db:refpurpose>
+ <define name="db.screenco.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.screenco.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.screenco.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.screenco.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.screenco">
+ <element name="screenco">
+ <ref name="db.screenco.attlist"/>
+ <ref name="db.screenco.info"/>
+ <ref name="db.areaspec"/>
+ <ref name="db.screen"/>
+ <zeroOrMore>
+ <ref name="db.calloutlist"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>imageobjectco</db:refname>
+ <db:refpurpose>A wrapper for an image object with callouts</db:refpurpose>
+ <define name="db.imageobjectco.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.imageobjectco.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.imageobjectco.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.imageobjectco.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.imageobjectco">
+ <element name="imageobjectco">
+ <ref name="db.imageobjectco.attlist"/>
+ <ref name="db.imageobjectco.info"/>
+ <ref name="db.areaspec"/>
+ <oneOrMore>
+ <ref name="db.imageobject"/>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="db.calloutlist"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>co</db:refname>
+ <db:refpurpose>The location of a callout embedded in text</db:refpurpose>
+ <define name="db.co.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.co.linkends.attribute">
+ <ref name="db.linkends.attribute"/>
+ </define>
+ <define name="db.co.label.attribute">
+ <ref name="db.label.attribute"/>
+ </define>
+ <define name="db.co.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.co.role.attribute"/>
+ </optional>
+ <ref name="db.common.idreq.attributes"/>
+ <optional>
+ <ref name="db.co.linkends.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.co.label.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.co">
+ <element name="co">
+ <ref name="db.co.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>coref</db:refname>
+ <db:refpurpose>A cross reference to a co</db:refpurpose>
+ <define name="db.coref.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.coref.label.attribute">
+ <ref name="db.label.attribute"/>
+ </define>
+ <define name="db.coref.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.coref.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.linkend.attribute"/>
+ <optional>
+ <ref name="db.coref.label.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.coref">
+ <element name="coref">
+ <ref name="db.coref.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/calstbl.rng b/slides/schema/relaxng/calstbl.rng
new file mode 100644
index 0000000..08259c5
--- /dev/null
+++ b/slides/schema/relaxng/calstbl.rng
@@ -0,0 +1,918 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: calstbl.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns:dbx="http://sourceforge.net/projects/docbook/defguide/schema/extra-markup" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <define name="db.table.choice" combine="choice">
+ <ref name="db.cals.table"/>
+ </define>
+ <define name="db.informaltable.choice" combine="choice">
+ <ref name="db.cals.informaltable"/>
+ </define>
+ <define name="db.char.attribute">
+ <attribute name="char">
+ <db:refpurpose>Specifies the alignment character when <db:tag class="attribute">align</db:tag>
+ is set to <db:quote>char</db:quote>
+.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.charoff.attribute">
+ <attribute name="charoff">
+ <db:refpurpose>Specifies the percentage of the column's total width that should appear to the left of the first occurance of the character identified in <db:tag class="attribute">char</db:tag>
+ when <db:tag class="attribute">align</db:tag>
+ is set to <db:quote>char</db:quote>
+.</db:refpurpose>
+ <data type="decimal">
+ <param name="minExclusive">0</param>
+ <param name="maxExclusive">100</param>
+ </data>
+ </attribute>
+ </define>
+ <define name="db.frame.attribute">
+ <attribute name="frame">
+ <db:refpurpose>Specifies how the table is to be framed. Note that there is no way to obtain a border on only the starting edge (left, in left-to-right writing systems) of the table.</db:refpurpose>
+ <choice>
+ <value>all</value>
+ <a:documentation>Frame all four sides of the table. In some environments with limited control over table border formatting, such as HTML, this may imply additional borders.</a:documentation>
+ <value>bottom</value>
+ <a:documentation>Frame only the bottom of the table.</a:documentation>
+ <value>none</value>
+ <a:documentation>Place no border on the table. In some environments with limited control over table border formatting, such as HTML, this may disable other borders as well.</a:documentation>
+ <value>sides</value>
+ <a:documentation>Frame the left and right sides of the table.</a:documentation>
+ <value>top</value>
+ <a:documentation>Frame the top of the table.</a:documentation>
+ <value>topbot</value>
+ <a:documentation>Frame the top and bottom of the table.</a:documentation>
+ </choice>
+ </attribute>
+ </define>
+ <define name="db.colsep.attribute">
+ <attribute name="colsep">
+ <db:refpurpose>Specifies the presence or absence of the column separator</db:refpurpose>
+ <dbx:description>
+ <db:para>A rule will be drawn to the right of all cells for which<db:tag class="attribute">colsep</db:tag>
+ has the value 1 (true). Note, however, that the rule to the right of the last column in the table is controlled by the <db:tag class="attribute">frame</db:tag>
+ attribute, not <db:tag class="attribute">colsep</db:tag>
+.</db:para>
+ </dbx:description>
+ <choice>
+ <value>0</value>
+ <a:documentation>No column separator rule.</a:documentation>
+ <value>1</value>
+ <a:documentation>Provide a column separator rule on the right</a:documentation>
+ </choice>
+ </attribute>
+ </define>
+ <define name="db.rowsep.attribute">
+ <attribute name="rowsep">
+ <db:refpurpose>Specifies the presence or absence of the row separator</db:refpurpose>
+ <dbx:description>
+ <db:para>A rule will be drawn below all cells for which<db:tag class="attribute">rowsep</db:tag>
+ has the value 1 (true). Note, however, that the rule below the last row in the table is controlled by the <db:tag class="attribute">frame</db:tag>
+ attribute, not <db:tag class="attribute">rowsep</db:tag>
+.</db:para>
+ </dbx:description>
+ <choice>
+ <value>0</value>
+ <a:documentation>No row separator rule.</a:documentation>
+ <value>1</value>
+ <a:documentation>Provide a row separator rule below</a:documentation>
+ </choice>
+ </attribute>
+ </define>
+ <define name="db.orient.attribute">
+ <attribute name="orient">
+ <db:refpurpose>Specifies the orientation of the table</db:refpurpose>
+ <choice>
+ <value>land</value>
+ <a:documentation>90 degrees counter-clockwise from the rest of the text flow.</a:documentation>
+ <value>port</value>
+ <a:documentation>The same orientation as the rest of the text flow.</a:documentation>
+ </choice>
+ </attribute>
+ </define>
+ <define name="db.tabstyle.attribute">
+ <attribute name="tabstyle">
+ <db:refpurpose>Specifies the table style</db:refpurpose>
+ <dbx:description>
+ <db:para>The <db:tag class="attribute">tabstyle</db:tag>
+ attribute holds the name of a table style defined in a stylesheet that will be used to process this document.</db:para>
+ </dbx:description>
+ </attribute>
+ </define>
+ <define name="db.rowheader.attribute">
+ <attribute name="rowheader">
+ <db:refpurpose>Indicates whether or not the entries in the first column should be considered row headers</db:refpurpose>
+ <choice>
+ <value>firstcol</value>
+ <a:documentation>Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers).</a:documentation>
+ <value>norowheader</value>
+ <a:documentation>Indicates that entries in the first column have no special significance with respect to column headers.</a:documentation>
+ </choice>
+ </attribute>
+ </define>
+ <define name="db.align.attribute">
+ <attribute name="align">
+ <db:refpurpose>Specifies the horizontal alignment of text in an entry.</db:refpurpose>
+ <choice>
+ <value>center</value>
+ <a:documentation>Centered.</a:documentation>
+ <value>char</value>
+ <a:documentation>Aligned on a particular character.</a:documentation>
+ <value>justify</value>
+ <a:documentation>Left and right justified.</a:documentation>
+ <value>left</value>
+ <a:documentation>Left justified.</a:documentation>
+ <value>right</value>
+ <a:documentation>Right justified.</a:documentation>
+ </choice>
+ </attribute>
+ </define>
+ <define name="db.valign.attribute">
+ <attribute name="valign">
+ <db:refpurpose>Specifies the vertical alignment of text in an entry.</db:refpurpose>
+ <choice>
+ <value>bottom</value>
+ <a:documentation>Aligned on the bottom of the entry.</a:documentation>
+ <value>middle</value>
+ <a:documentation>Aligned in the middle.</a:documentation>
+ <value>top</value>
+ <a:documentation>Aligned at the top of the entry.</a:documentation>
+ </choice>
+ </attribute>
+ </define>
+ <define name="db.specify-col-by-colname.attributes">
+ <attribute name="colname">
+ <db:refpurpose>Specifies a column specification by name.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.specify-col-by-namest.attributes">
+ <attribute name="namest">
+ <db:refpurpose>Specifies a starting column by name.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.specify-span-by-spanspec.attributes">
+ <attribute name="spanname">
+ <db:refpurpose>Specifies a span by name.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.specify-span-directly.attributes">
+ <interleave>
+ <attribute name="namest">
+ <db:refpurpose>Specifies a starting column by name.</db:refpurpose>
+ </attribute>
+ <attribute name="nameend">
+ <db:refpurpose>Specifies an ending column by name.</db:refpurpose>
+ </attribute>
+ </interleave>
+ </define>
+ <define name="db.column-spec.attributes">
+ <choice>
+ <ref name="db.specify-col-by-colname.attributes"/>
+ <ref name="db.specify-col-by-namest.attributes"/>
+ <ref name="db.specify-span-by-spanspec.attributes"/>
+ <ref name="db.specify-span-directly.attributes"/>
+ </choice>
+ </define>
+ <define name="db.colname.attribute">
+ <attribute name="colname">
+ <db:refpurpose>Provides a name for a column specification.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.spanname.attribute">
+ <attribute name="spanname">
+ <db:refpurpose>Provides a name for a span specification.</db:refpurpose>
+ </attribute>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>tgroup</db:refname>
+ <db:refpurpose>A wrapper for the main content of a table, or part of a table</db:refpurpose>
+ <define name="db.tgroup.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.tgroup.tgroupstyle.attribute">
+ <attribute name="tgroupstyle">
+ <db:refpurpose>Additional style information for downstream processing; typically the name of a style.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.tgroup.cols.attribute">
+ <attribute name="cols">
+ <db:refpurpose>The number of columns in the table. Must be an integer greater than zero.</db:refpurpose>
+ <data type="positiveInteger"/>
+ </attribute>
+ </define>
+ <define name="db.tgroup.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.tgroup.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.char.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.charoff.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.tgroup.tgroupstyle.attribute"/>
+ </optional>
+ <ref name="db.tgroup.cols.attribute"/>
+ <optional>
+ <ref name="db.colsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.rowsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.align.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.tgroup">
+ <element name="tgroup">
+ <ref name="db.tgroup.attlist"/>
+ <zeroOrMore>
+ <ref name="db.colspec"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.spanspec"/>
+ </zeroOrMore>
+ <optional>
+ <ref name="db.cals.thead"/>
+ </optional>
+ <optional>
+ <ref name="db.cals.tfoot"/>
+ </optional>
+ <ref name="db.cals.tbody"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>colspec</db:refname>
+ <db:refpurpose>Specifications for a column in a table</db:refpurpose>
+ <define name="db.colspec.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.colspec.colnum.attribute">
+ <attribute name="colnum">
+ <db:refpurpose>The number of the column to which this specification applies. Must be greater than any preceding column number. Defaults to one more than the number of the preceding column, if there is one, or one.</db:refpurpose>
+ <data type="positiveInteger"/>
+ </attribute>
+ </define>
+ <define name="db.colspec.colwidth.attribute">
+ <attribute name="colwidth">
+ <db:refpurpose>Specifies the width of the column.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.colspec.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.colspec.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.colspec.colnum.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.char.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.colsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.colspec.colwidth.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.charoff.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.colname.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.rowsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.align.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.colspec">
+ <element name="colspec">
+ <ref name="db.colspec.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>spanspec</db:refname>
+ <db:refpurpose>Formatting information for a spanned column in a table</db:refpurpose>
+ <define name="db.spanspec.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.spanspec.namest.attribute">
+ <attribute name="namest">
+ <db:refpurpose>Specifies a starting column by name.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.spanspec.nameend.attribute">
+ <attribute name="nameend">
+ <db:refpurpose>Specifies an ending column by name.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.spanspec.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.spanspec.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.spanname.attribute"/>
+ <ref name="db.spanspec.namest.attribute"/>
+ <ref name="db.spanspec.nameend.attribute"/>
+ <optional>
+ <ref name="db.char.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.colsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.charoff.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.rowsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.align.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.spanspec">
+ <element name="spanspec">
+ <ref name="db.spanspec.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>thead</db:refname>
+ <db:refpurpose>A table header consisting of one or more rows</db:refpurpose>
+ <define name="db.cals.thead.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.cals.thead.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.cals.thead.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.valign.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.cals.thead">
+ <element name="thead">
+ <ref name="db.cals.thead.attlist"/>
+ <zeroOrMore>
+ <ref name="db.colspec"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <ref name="db.row"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>tfoot</db:refname>
+ <db:refpurpose>A table footer consisting of one or more rows</db:refpurpose>
+ <define name="db.cals.tfoot.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.cals.tfoot.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.cals.tfoot.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.valign.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.cals.tfoot">
+ <element name="tfoot">
+ <ref name="db.cals.tfoot.attlist"/>
+ <zeroOrMore>
+ <ref name="db.colspec"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <ref name="db.row"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>tbody</db:refname>
+ <db:refpurpose>A wrapper for the rows of a table or informal table</db:refpurpose>
+ <define name="db.cals.tbody.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.cals.tbody.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.cals.tbody.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.valign.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.cals.tbody">
+ <element name="tbody">
+ <ref name="db.cals.tbody.attlist"/>
+ <oneOrMore>
+ <ref name="db.row"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>row</db:refname>
+ <db:refpurpose>A row in a table</db:refpurpose>
+ <define name="db.row.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.row.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.row.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.rowsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.valign.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.row">
+ <element name="row">
+ <ref name="db.row.attlist"/>
+ <oneOrMore>
+ <choice>
+ <ref name="db.entry"/>
+ <ref name="db.entrytbl"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>entry</db:refname>
+ <db:refpurpose>A cell in a table</db:refpurpose>
+ <ctrl:exclude from="db.entry" exclude="db.cals.table"/>
+ <ctrl:exclude from="db.entry" exclude="db.cals.informaltable"/>
+ <define name="db.entry.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.entry.morerows.attribute">
+ <attribute name="morerows">
+ <db:refpurpose>Specifies the number of additional rows which this entry occupies. Defaults to zero.</db:refpurpose>
+ <data type="integer"/>
+ </attribute>
+ </define>
+ <define name="db.entry.rotate.attribute">
+ <attribute name="rotate">
+ <db:refpurpose>Specifies the rotation of this entry. A value of 1 (true) rotates the cell 90 degrees counter-clockwise. A value of 0 (false) leaves the cell unrotated.</db:refpurpose>
+ <choice>
+ <value>0</value>
+ <a:documentation>Do not rotate the cell.</a:documentation>
+ <value>1</value>
+ <a:documentation>Rotate the cell 90 degrees counter-clockwise.</a:documentation>
+ </choice>
+ </attribute>
+ </define>
+ <define name="db.entry.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.entry.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.valign.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.char.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.colsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.charoff.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.entry.morerows.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.column-spec.attributes"/>
+ </optional>
+ <optional>
+ <ref name="db.rowsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.entry.rotate.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.align.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.entry">
+ <element name="entry">
+ <ref name="db.entry.attlist"/>
+ <choice>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>entrytbl</db:refname>
+ <db:refpurpose>A subtable appearing in place of an entry in a table</db:refpurpose>
+ <define name="db.entrytbl.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.entrytbl.tgroupstyle.attribute">
+ <attribute name="tgroupstyle">
+ <db:refpurpose>Additional style information for downstream processing; typically the name of a style.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.entrytbl.cols.attribute">
+ <attribute name="cols">
+ <db:refpurpose>The number of columns in the entry table. Must be an integer greater than zero.</db:refpurpose>
+ <data type="positiveInteger"/>
+ </attribute>
+ </define>
+ <define name="db.entrytbl.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.entrytbl.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.char.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.charoff.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.column-spec.attributes"/>
+ </optional>
+ <optional>
+ <ref name="db.entrytbl.tgroupstyle.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.entrytbl.cols.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.colsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.rowsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.align.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.entrytbl">
+ <element name="entrytbl">
+ <ref name="db.entrytbl.attlist"/>
+ <zeroOrMore>
+ <ref name="db.colspec"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.spanspec"/>
+ </zeroOrMore>
+ <optional>
+ <ref name="db.cals.entrytbl.thead"/>
+ </optional>
+ <ref name="db.cals.entrytbl.tbody"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>thead</db:refname>
+ <db:refpurpose>A table header consisting of one or more rows</db:refpurpose>
+ <define name="db.cals.entrytbl.thead.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.cals.entrytbl.thead.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.cals.entrytbl.thead.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.valign.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.cals.entrytbl.thead">
+ <element name="thead">
+ <ref name="db.cals.entrytbl.thead.attlist"/>
+ <zeroOrMore>
+ <ref name="db.colspec"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <ref name="db.entrytbl.row"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>tbody</db:refname>
+ <db:refpurpose>A wrapper for the rows of a table or informal table</db:refpurpose>
+ <define name="db.cals.entrytbl.tbody.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.cals.entrytbl.tbody.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.cals.entrytbl.tbody.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.valign.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.cals.entrytbl.tbody">
+ <element name="tbody">
+ <ref name="db.cals.entrytbl.tbody.attlist"/>
+ <oneOrMore>
+ <ref name="db.entrytbl.row"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>row</db:refname>
+ <db:refpurpose>A row in a table</db:refpurpose>
+ <define name="db.entrytbl.row.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.entrytbl.row.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.entrytbl.row.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.rowsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.valign.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.entrytbl.row">
+ <element name="row">
+ <ref name="db.entrytbl.row.attlist"/>
+ <oneOrMore>
+ <ref name="db.entry"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>table</db:refname>
+ <db:refpurpose>A formal table in a document</db:refpurpose>
+ <define name="db.cals.table.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.cals.table.label.attribute">
+ <ref name="db.label.attribute"/>
+ </define>
+ <define name="db.cals.table.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.cals.table.role.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.cals.table.label.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.tabstyle.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.floatstyle.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.orient.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.colsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.rowsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.frame.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.pgwide.attribute"/>
+ </optional>
+ <optional>
+ <attribute name="shortentry">
+ <db:refpurpose>Indicates if the short or long title should be used in a List of Tables</db:refpurpose>
+ <choice>
+ <value>0</value>
+ <a:documentation>Indicates that the full title should be used.</a:documentation>
+ <value>1</value>
+ <a:documentation>Indicates that the short short title (titleabbrev) should be used.</a:documentation>
+ </choice>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="tocentry">
+ <db:refpurpose>Indicates if the table should appear in a List of Tables</db:refpurpose>
+ <choice>
+ <value>0</value>
+ <a:documentation>Indicates that the table should not occur in the List of Tables.</a:documentation>
+ <value>1</value>
+ <a:documentation>Indicates that the table should appear in the List of Tables.</a:documentation>
+ </choice>
+ </attribute>
+ </optional>
+ <optional>
+ <ref name="db.rowheader.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.cals.table.info">
+ <ref name="db._info.title.onlyreq"/>
+ </define>
+ <define name="db.cals.table">
+ <element name="table">
+ <ref name="db.cals.table.attlist"/>
+ <ref name="db.cals.table.info"/>
+ <interleave>
+ <optional>
+ <ref name="db.alt"/>
+ </optional>
+ <zeroOrMore>
+ <ref name="db.indexing.inlines"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.textobject"/>
+ </zeroOrMore>
+ </interleave>
+ <choice>
+ <oneOrMore>
+ <ref name="db.mediaobject"/>
+ </oneOrMore>
+ <oneOrMore>
+ <ref name="db.tgroup"/>
+ </oneOrMore>
+ </choice>
+ <optional>
+ <ref name="db.caption"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>informaltable</db:refname>
+ <db:refpurpose>A table without a title</db:refpurpose>
+ <define name="db.cals.informaltable.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.cals.informaltable.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.cals.informaltable.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.tabstyle.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.floatstyle.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.orient.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.colsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.rowsep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.frame.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.pgwide.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.rowheader.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.cals.informaltable.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.cals.informaltable">
+ <element name="informaltable">
+ <ref name="db.cals.informaltable.attlist"/>
+ <ref name="db.cals.informaltable.info"/>
+ <interleave>
+ <optional>
+ <ref name="db.alt"/>
+ </optional>
+ <zeroOrMore>
+ <ref name="db.indexing.inlines"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.textobject"/>
+ </zeroOrMore>
+ </interleave>
+ <choice>
+ <oneOrMore>
+ <ref name="db.mediaobject"/>
+ </oneOrMore>
+ <oneOrMore>
+ <ref name="db.tgroup"/>
+ </oneOrMore>
+ </choice>
+ <optional>
+ <ref name="db.caption"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/core.rng b/slides/schema/relaxng/core.rng
new file mode 100644
index 0000000..8ecf45d
--- /dev/null
+++ b/slides/schema/relaxng/core.rng
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: docbook.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start>
+ <choice>
+ <ref name="db.set"/>
+ <ref name="db.book"/>
+ <ref name="db.divisions"/>
+ <ref name="db.components"/>
+ <ref name="db.navigation.components"/>
+ <ref name="db.section"/>
+ <ref name="db.para"/>
+ </choice>
+ </start>
+ <include href="pool.rng"/>
+ <include href="hier.rng"/>
+</grammar>
diff --git a/slides/schema/relaxng/docbook.rng b/slides/schema/relaxng/docbook.rng
new file mode 100644
index 0000000..4e156f2
--- /dev/null
+++ b/slides/schema/relaxng/docbook.rng
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+ <!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: docbook.rnc 7661 2008-02-06 13:52:59Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+ -->
+ <include href="docbook1.rng"/>
+</grammar>
diff --git a/slides/schema/relaxng/docbook1.rng b/slides/schema/relaxng/docbook1.rng
new file mode 100644
index 0000000..b5a8976
--- /dev/null
+++ b/slides/schema/relaxng/docbook1.rng
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: docbook.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns="http://relaxng.org/ns/structure/1.0">
+ <include href="core.rng"/>
+ <include href="annotations.rng"/>
+ <include href="xlink.rng"/>
+ <include href="sect1.rng"/>
+ <include href="refentry.rng"/>
+ <include href="refsect1.rng"/>
+ <include href="glossary.rng"/>
+ <include href="bibliography.rng"/>
+ <include href="index.rng"/>
+ <include href="toc.rng"/>
+ <include href="tasks.rng"/>
+ <include href="callouts.rng"/>
+ <include href="ebnf.rng"/>
+ <include href="calstbl.rng"/>
+ <include href="htmltbl.rng"/>
+ <include href="msgset.rng"/>
+ <include href="qandaset.rng"/>
+ <include href="math.rng"/>
+ <include href="mathml.rng"/>
+ <include href="svg.rng"/>
+ <include href="markup.rng"/>
+ <include href="product.rng"/>
+ <include href="gui.rng"/>
+ <include href="keyboard.rng"/>
+ <include href="os.rng"/>
+ <include href="programming.rng"/>
+ <include href="admonitions.rng"/>
+ <include href="error.rng"/>
+ <include href="technical.rng"/>
+ <include href="topic.rng"/>
+</grammar>
diff --git a/slides/schema/relaxng/ebnf.rng b/slides/schema/relaxng/ebnf.rng
new file mode 100644
index 0000000..97a21aa
--- /dev/null
+++ b/slides/schema/relaxng/ebnf.rng
@@ -0,0 +1,267 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: ebnf.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <start combine="choice">
+ <choice>
+ <ref name="db.productionset"/>
+ <ref name="db.constraintdef"/>
+ </choice>
+ </start>
+ <define name="db.technical.inlines" combine="choice">
+ <ref name="db.nonterminal"/>
+ </define>
+ <define name="db.technical.blocks" combine="choice">
+ <choice>
+ <ref name="db.productionset"/>
+ <ref name="db.constraintdef"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>productionset</db:refname>
+ <db:refpurpose>A set of EBNF productions</db:refpurpose>
+ <define name="db.productionset.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.productionset.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.productionset.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.productionset.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.productionset">
+ <element name="productionset">
+ <ref name="db.productionset.attlist"/>
+ <ref name="db.productionset.info"/>
+ <oneOrMore>
+ <choice>
+ <ref name="db.production"/>
+ <ref name="db.productionrecap"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>production</db:refname>
+ <db:refpurpose>A production in a set of EBNF productions</db:refpurpose>
+ <define name="db.production.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.production.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.production.role.attribute"/>
+ </optional>
+ <ref name="db.common.idreq.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.production">
+ <element name="production">
+ <ref name="db.production.attlist"/>
+ <ref name="db.lhs"/>
+ <ref name="db.rhs"/>
+ <zeroOrMore>
+ <ref name="db.constraint"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>lhs</db:refname>
+ <db:refpurpose>The left-hand side of an EBNF production</db:refpurpose>
+ <define name="db.lhs.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.lhs.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.lhs.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.lhs">
+ <element name="lhs">
+ <ref name="db.lhs.attlist"/>
+ <text/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>rhs</db:refname>
+ <db:refpurpose>The right-hand side of an EBNF production</db:refpurpose>
+ <define name="db.rhs.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.rhs.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.rhs.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.rhs">
+ <element name="rhs">
+ <ref name="db.rhs.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <text/>
+ <ref name="db.nonterminal"/>
+ <ref name="db.lineannotation"/>
+ <ref name="db.sbr"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>nonterminal</db:refname>
+ <db:refpurpose>A non-terminal in an EBNF production</db:refpurpose>
+ <define name="db.nonterminal.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.nonterminal.def.attribute">
+ <attribute name="def">
+ <db:refpurpose>Specifies a URI that points to a <db:tag>production</db:tag>
+where the <db:tag>nonterminal</db:tag>
+ is defined</db:refpurpose>
+ <data type="anyURI"/>
+ </attribute>
+ </define>
+ <define name="db.nonterminal.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.nonterminal.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.nonterminal.def.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.nonterminal">
+ <element name="nonterminal">
+ <ref name="db.nonterminal.attlist"/>
+ <text/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>constraint</db:refname>
+ <db:refpurpose>A constraint in an EBNF production</db:refpurpose>
+ <define name="db.constraint.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.constraint.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.constraint.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.req.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.constraint">
+ <element name="constraint">
+ <ref name="db.constraint.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>productionrecap</db:refname>
+ <db:refpurpose>A cross-reference to an EBNF production</db:refpurpose>
+ <define name="db.productionrecap.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.productionrecap.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.productionrecap.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.req.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.productionrecap">
+ <element name="productionrecap">
+ <ref name="db.productionrecap.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>constraintdef</db:refname>
+ <db:refpurpose>The definition of a constraint in an EBNF production</db:refpurpose>
+ <define name="db.constraintdef.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.constraintdef.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.constraintdef.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.constraintdef.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.constraintdef">
+ <element name="constraintdef">
+ <ref name="db.constraintdef.attlist"/>
+ <ref name="db.constraintdef.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/error.rng b/slides/schema/relaxng/error.rng
new file mode 100644
index 0000000..7a15790
--- /dev/null
+++ b/slides/schema/relaxng/error.rng
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <define name="db.domain.inlines" combine="choice">
+ <ref name="db.error.inlines"/>
+ </define>
+ <define name="db.error.inlines">
+ <choice>
+ <ref name="db.errorcode"/>
+ <ref name="db.errortext"/>
+ <ref name="db.errorname"/>
+ <ref name="db.errortype"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>errorcode</db:refname>
+ <db:refpurpose>An error code</db:refpurpose>
+ <define name="db.errorcode.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.errorcode.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.errorcode.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.errorcode">
+ <element name="errorcode">
+ <ref name="db.errorcode.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>errorname</db:refname>
+ <db:refpurpose>An error name</db:refpurpose>
+ <define name="db.errorname.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.errorname.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.errorname.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.errorname">
+ <element name="errorname">
+ <ref name="db.errorname.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>errortext</db:refname>
+ <db:refpurpose>An error message.</db:refpurpose>
+ <define name="db.errortext.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.errortext.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.errortext.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.errortext">
+ <element name="errortext">
+ <ref name="db.errortext.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>errortype</db:refname>
+ <db:refpurpose>The classification of an error message</db:refpurpose>
+ <define name="db.errortype.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.errortype.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.errortype.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.errortype">
+ <element name="errortype">
+ <ref name="db.errortype.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/glossary.rng b/slides/schema/relaxng/glossary.rng
new file mode 100644
index 0000000..524176b
--- /dev/null
+++ b/slides/schema/relaxng/glossary.rng
@@ -0,0 +1,513 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: glossary.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <start combine="choice">
+ <choice>
+ <ref name="db.glossary"/>
+ <ref name="db.glossdiv"/>
+ <ref name="db.glosslist"/>
+ </choice>
+ </start>
+ <define name="db.publishing.inlines" combine="choice">
+ <ref name="db.glossary.inlines"/>
+ </define>
+ <define name="db.list.blocks" combine="choice">
+ <ref name="db.glosslist"/>
+ </define>
+ <define name="db.navigation.components" combine="choice">
+ <ref name="db.glossary"/>
+ </define>
+ <define name="db.glossary.inlines">
+ <choice>
+ <ref name="db.firstterm"/>
+ <ref name="db.glossterm"/>
+ <ref name="db._firstterm"/>
+ <ref name="db._glossterm"/>
+ </choice>
+ </define>
+ <define name="db.ubiq.inlines" combine="choice">
+ <choice>
+ <ref name="db._firstterm"/>
+ <ref name="db._glossterm"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.baseform.attribute">
+ <optional>
+ <attribute name="baseform">
+ <db:refpurpose>Specifies the base form of the term, the one that appears in the glossary. This allows adjectival, plural, and other variations of the term to appear in the element. The element content is the default base form.</db:refpurpose>
+ </attribute>
+ </optional>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>glosslist</db:refname>
+ <db:refpurpose>A wrapper for a list of glossary entries</db:refpurpose>
+ <define name="db.glosslist.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.glosslist.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.glosslist.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.glosslist.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.glosslist">
+ <element name="glosslist">
+ <ref name="db.glosslist.attlist"/>
+ <optional>
+ <ref name="db.glosslist.info"/>
+ </optional>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <ref name="db.glossentry"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>glossentry</db:refname>
+ <db:refpurpose>An entry in a glossary or glosslist</db:refpurpose>
+ <define name="db.glossentry.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.glossentry.sortas.attribute">
+ <attribute name="sortas">
+ <db:refpurpose>Specifies the string by which the element's content is to be sorted; if unspecified, the content is used</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.glossentry.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.glossentry.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.glossentry.sortas.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.glossentry">
+ <element name="glossentry">
+ <ref name="db.glossentry.attlist"/>
+ <ref name="db.glossterm"/>
+ <optional>
+ <ref name="db.acronym"/>
+ </optional>
+ <optional>
+ <ref name="db.abbrev"/>
+ </optional>
+ <zeroOrMore>
+ <ref name="db.indexterm"/>
+ </zeroOrMore>
+ <choice>
+ <ref name="db.glosssee"/>
+ <oneOrMore>
+ <ref name="db.glossdef"/>
+ </oneOrMore>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>glossdef</db:refname>
+ <db:refpurpose>A definition in a glossentry</db:refpurpose>
+ <define name="db.glossdef.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.glossdef.subject.attribute">
+ <attribute name="subject">
+ <db:refpurpose>Specifies a list of keywords for the definition</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.glossdef.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.glossdef.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.glossdef.subject.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.glossdef">
+ <element name="glossdef">
+ <ref name="db.glossdef.attlist"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="db.glossseealso"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>glosssee</db:refname>
+ <db:refpurpose>A cross-reference from one <db:tag>glossentry</db:tag>
+ to another</db:refpurpose>
+ <define name="db.glosssee.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.glosssee.otherterm.attribute">
+ <attribute name="otherterm">
+ <db:refpurpose>Identifies the other term</db:refpurpose>
+ <data type="IDREF"/>
+ </attribute>
+ </define>
+ <define name="db.glosssee.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.glosssee.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.glosssee.otherterm.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.glosssee">
+ <element name="glosssee">
+ <s:pattern name="Glosssary 'see' type constraint">
+ <s:rule context="db:glosssee[@otherterm]">
+ <s:assert test="local-name(//*[@xml:id=current()/@otherterm]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@otherterm]) = 'http://docbook.org/ns/docbook'">@otherterm on glosssee must point to a glossentry.</s:assert>
+ </s:rule>
+ </s:pattern>
+ <ref name="db.glosssee.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>glossseealso</db:refname>
+ <db:refpurpose>A cross-reference from one glossentry to another</db:refpurpose>
+ <define name="db.glossseealso.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.glossseealso.otherterm.attribute">
+ <attribute name="otherterm">
+ <db:refpurpose>Identifies the other term</db:refpurpose>
+ <data type="IDREF"/>
+ </attribute>
+ </define>
+ <define name="db.glossseealso.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.glossseealso.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.glossseealso.otherterm.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.glossseealso">
+ <element name="glossseealso">
+ <s:pattern name="Glossary 'seealso' type constraint">
+ <s:rule context="db:glossseealso[@otherterm]">
+ <s:assert test="local-name(//*[@xml:id=current()/@otherterm]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@otherterm]) = 'http://docbook.org/ns/docbook'">@otherterm on glossseealso must point to a glossentry.</s:assert>
+ </s:rule>
+ </s:pattern>
+ <ref name="db.glossseealso.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>firstterm</db:refname>
+ <db:refpurpose>The first occurrence of a term</db:refpurpose>
+ <define name="db.firstterm.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.firstterm.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.firstterm.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.baseform.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.firstterm">
+ <element name="firstterm">
+ <s:pattern name="Glossary 'firstterm' type constraint">
+ <s:rule context="db:firstterm[@linkend]">
+ <s:assert test="local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'">@linkend on firstterm must point to a glossentry.</s:assert>
+ </s:rule>
+ </s:pattern>
+ <ref name="db.firstterm.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>firstterm</db:refname>
+ <db:refpurpose>The first occurrence of a term, with limited content</db:refpurpose>
+ <define name="db._firstterm.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db._firstterm.attlist">
+ <interleave>
+ <optional>
+ <ref name="db._firstterm.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.baseform.attribute"/>
+ </interleave>
+ </define>
+ <define name="db._firstterm">
+ <element name="firstterm">
+ <s:pattern name="Glossary 'firstterm' type constraint">
+ <s:rule context="db:firstterm[@linkend]">
+ <s:assert test="local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'">@linkend on firstterm must point to a glossentry.</s:assert>
+ </s:rule>
+ </s:pattern>
+ <ref name="db._firstterm.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>glossterm</db:refname>
+ <db:refpurpose>A glossary term</db:refpurpose>
+ <define name="db.glossterm.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.glossterm.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.glossterm.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.baseform.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.glossterm">
+ <element name="glossterm">
+ <s:pattern name="Glossary 'glossterm' type constraint">
+ <s:rule context="db:glossterm[@linkend]">
+ <s:assert test="local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'">@linkend on glossterm must point to a glossentry.</s:assert>
+ </s:rule>
+ </s:pattern>
+ <ref name="db.glossterm.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>glossterm</db:refname>
+ <db:refpurpose>A glossary term</db:refpurpose>
+ <define name="db._glossterm.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db._glossterm.attlist">
+ <interleave>
+ <optional>
+ <ref name="db._glossterm.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.baseform.attribute"/>
+ </interleave>
+ </define>
+ <define name="db._glossterm">
+ <element name="glossterm">
+ <s:pattern name="Glossary 'glossterm' type constraint">
+ <s:rule context="db:glossterm[@linkend]">
+ <s:assert test="local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'">@linkend on glossterm must point to a glossentry.</s:assert>
+ </s:rule>
+ </s:pattern>
+ <ref name="db._glossterm.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>glossary</db:refname>
+ <db:refpurpose>A glossary</db:refpurpose>
+ <define name="db.glossary.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.glossary.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.glossary.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.glossary.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.glossary.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.glossary.info">
+ <ref name="db._info"/>
+ </define>
+ <define name="db.glossary">
+ <element name="glossary">
+ <ref name="db.glossary.attlist"/>
+ <ref name="db.glossary.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <choice>
+ <zeroOrMore>
+ <ref name="db.glossdiv"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.glossentry"/>
+ </zeroOrMore>
+ </choice>
+ <optional>
+ <ref name="db.bibliography"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>glossdiv</db:refname>
+ <db:refpurpose>A division in a glossary</db:refpurpose>
+ <define name="db.glossdiv.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.glossdiv.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.glossdiv.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.glossdiv.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.glossdiv.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.glossdiv.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.glossdiv">
+ <element name="glossdiv">
+ <ref name="db.glossdiv.attlist"/>
+ <ref name="db.glossdiv.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <ref name="db.glossentry"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.technical.inlines" combine="choice">
+ <ref name="db.termdef"/>
+ </define>
+ <div>
+ <db:refname>termdef</db:refname>
+ <db:refpurpose>An inline definition of a term</db:refpurpose>
+ <define name="db.termdef.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.termdef.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.termdef.role.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.glossentry.sortas.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.baseform.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.termdef">
+ <element name="termdef">
+ <s:pattern name="Glossary term definition constraint">
+ <s:rule context="db:termdef">
+ <s:assert test="count(db:firstterm) = 1">A termdef must contain exactly one firstterm</s:assert>
+ </s:rule>
+ </s:pattern>
+ <ref name="db.termdef.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/gui.rng b/slides/schema/relaxng/gui.rng
new file mode 100644
index 0000000..e1ce3d6
--- /dev/null
+++ b/slides/schema/relaxng/gui.rng
@@ -0,0 +1,292 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <define name="db.domain.inlines" combine="choice">
+ <ref name="db.gui.inlines"/>
+ </define>
+ <define name="db.userinput.inlines" combine="choice">
+ <ref name="db.gui.inlines"/>
+ </define>
+ <define name="db.keycombination.contentmodel" combine="choice">
+ <ref name="db.mousebutton"/>
+ </define>
+ <define name="db.gui.inlines">
+ <choice>
+ <ref name="db.guiicon"/>
+ <ref name="db.guibutton"/>
+ <ref name="db.guimenuitem"/>
+ <ref name="db.guimenu"/>
+ <ref name="db.guisubmenu"/>
+ <ref name="db.guilabel"/>
+ <ref name="db.menuchoice"/>
+ <ref name="db.mousebutton"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>guibutton</db:refname>
+ <db:refpurpose>The text on a button in a GUI</db:refpurpose>
+ <define name="db.guibutton.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.guibutton.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.guibutton.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.guibutton">
+ <element name="guibutton">
+ <ref name="db.guibutton.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.accel"/>
+ <ref name="db.superscript"/>
+ <ref name="db.subscript"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>guiicon</db:refname>
+ <db:refpurpose>Graphic and/or text appearing as a icon in a GUI</db:refpurpose>
+ <define name="db.guiicon.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.guiicon.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.guiicon.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.guiicon">
+ <element name="guiicon">
+ <ref name="db.guiicon.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.accel"/>
+ <ref name="db.superscript"/>
+ <ref name="db.subscript"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>guilabel</db:refname>
+ <db:refpurpose>The text of a label in a GUI</db:refpurpose>
+ <define name="db.guilabel.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.guilabel.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.guilabel.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.guilabel">
+ <element name="guilabel">
+ <ref name="db.guilabel.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.accel"/>
+ <ref name="db.superscript"/>
+ <ref name="db.subscript"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>guimenu</db:refname>
+ <db:refpurpose>The name of a menu in a GUI</db:refpurpose>
+ <define name="db.guimenu.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.guimenu.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.guimenu.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.guimenu">
+ <element name="guimenu">
+ <ref name="db.guimenu.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.accel"/>
+ <ref name="db.superscript"/>
+ <ref name="db.subscript"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>guimenuitem</db:refname>
+ <db:refpurpose>The name of a terminal menu item in a GUI</db:refpurpose>
+ <define name="db.guimenuitem.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.guimenuitem.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.guimenuitem.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.guimenuitem">
+ <element name="guimenuitem">
+ <ref name="db.guimenuitem.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.accel"/>
+ <ref name="db.superscript"/>
+ <ref name="db.subscript"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>guisubmenu</db:refname>
+ <db:refpurpose>The name of a submenu in a GUI</db:refpurpose>
+ <define name="db.guisubmenu.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.guisubmenu.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.guisubmenu.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.guisubmenu">
+ <element name="guisubmenu">
+ <ref name="db.guisubmenu.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.accel"/>
+ <ref name="db.superscript"/>
+ <ref name="db.subscript"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>menuchoice</db:refname>
+ <db:refpurpose>A selection or series of selections from a menu</db:refpurpose>
+ <define name="db.menuchoice.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.menuchoice.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.menuchoice.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.menuchoice">
+ <element name="menuchoice">
+ <ref name="db.menuchoice.attlist"/>
+ <optional>
+ <ref name="db.shortcut"/>
+ </optional>
+ <oneOrMore>
+ <choice>
+ <ref name="db.guibutton"/>
+ <ref name="db.guiicon"/>
+ <ref name="db.guilabel"/>
+ <ref name="db.guimenu"/>
+ <ref name="db.guimenuitem"/>
+ <ref name="db.guisubmenu"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>mousebutton</db:refname>
+ <db:refpurpose>The conventional name of a mouse button</db:refpurpose>
+ <define name="db.mousebutton.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.mousebutton.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.mousebutton.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.mousebutton">
+ <element name="mousebutton">
+ <ref name="db.mousebutton.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/hier.rng b/slides/schema/relaxng/hier.rng
new file mode 100644
index 0000000..9ac1149
--- /dev/null
+++ b/slides/schema/relaxng/hier.rng
@@ -0,0 +1,730 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: hier.rnc 8994 2011-04-19 20:07:33Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:dbx="http://sourceforge.net/projects/docbook/defguide/schema/extra-markup" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start combine="choice">
+ <choice>
+ <ref name="db.partintro"/>
+ <ref name="db.simplesect"/>
+ </choice>
+ </start>
+ <define name="db.status.attribute">
+ <attribute name="status">
+ <db:refpurpose>Identifies the editorial or publication status of the element on which it occurs</db:refpurpose>
+ </attribute>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.toplevel.sections">
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.section"/>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="db.simplesect"/>
+ </zeroOrMore>
+ </group>
+ <oneOrMore>
+ <ref name="db.simplesect"/>
+ </oneOrMore>
+ </choice>
+ </define>
+ <define name="db.toplevel.blocks.or.sections">
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.toplevel.sections"/>
+ </optional>
+ </group>
+ <ref name="db.toplevel.sections"/>
+ </choice>
+ </define>
+ <define name="db.recursive.sections">
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.section"/>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="db.simplesect"/>
+ </zeroOrMore>
+ </group>
+ <oneOrMore>
+ <ref name="db.simplesect"/>
+ </oneOrMore>
+ </choice>
+ </define>
+ <define name="db.recursive.blocks.or.sections">
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.recursive.sections"/>
+ </optional>
+ </group>
+ <ref name="db.recursive.sections"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.divisions">
+ <ref name="db.part"/>
+ </define>
+ <define name="db.components">
+ <choice>
+ <ref name="db.dedication"/>
+ <ref name="db.acknowledgements"/>
+ <ref name="db.preface"/>
+ <ref name="db.chapter"/>
+ <ref name="db.appendix"/>
+ <ref name="db.article"/>
+ <ref name="db.colophon"/>
+ </choice>
+ </define>
+ <define name="db.navigation.components">
+ <notAllowed/>
+ </define>
+ <define name="db.component.contentmodel">
+ <zeroOrMore>
+ <ref name="db.navigation.components"/>
+ </zeroOrMore>
+ <ref name="db.toplevel.blocks.or.sections"/>
+ <zeroOrMore>
+ <ref name="db.navigation.components"/>
+ </zeroOrMore>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.setindex.components">
+ <notAllowed/>
+ </define>
+ <define name="db.toc.components">
+ <notAllowed/>
+ </define>
+ <define name="db.set.components">
+ <choice>
+ <ref name="db.set"/>
+ <ref name="db.book"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>set</db:refname>
+ <db:refpurpose>A collection of books</db:refpurpose>
+ <define name="db.set.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.set.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.set.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.set.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.set.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.set.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.set">
+ <element name="set">
+ <ref name="db.set.attlist"/>
+ <ref name="db.set.info"/>
+ <optional>
+ <ref name="db.toc.components"/>
+ </optional>
+ <oneOrMore>
+ <ref name="db.set.components"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.setindex.components"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.book.components">
+ <zeroOrMore>
+ <choice>
+ <ref name="db.navigation.components"/>
+ <ref name="db.components"/>
+ <ref name="db.divisions"/>
+ </choice>
+ </zeroOrMore>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>book</db:refname>
+ <db:refpurpose>A book</db:refpurpose>
+ <define name="db.book.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.book.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.book.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.book.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.book.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.book.info">
+ <ref name="db._info"/>
+ </define>
+ <define name="db.book">
+ <element name="book">
+ <ref name="db.book.attlist"/>
+ <ref name="db.book.info"/>
+ <ref name="db.book.components"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>dedication</db:refname>
+ <db:refpurpose>The dedication of a book or other component</db:refpurpose>
+ <define name="db.dedication.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.dedication.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.dedication.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.dedication.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.dedication.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.dedication.info">
+ <ref name="db._info"/>
+ </define>
+ <define name="db.dedication">
+ <element name="dedication">
+ <ref name="db.dedication.attlist"/>
+ <ref name="db.dedication.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>acknowledgements</db:refname>
+ <db:refpurpose>Acknowledgements of a book or other component</db:refpurpose>
+ <define name="db.acknowledgements.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.acknowledgements.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.acknowledgements.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.acknowledgements.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.acknowledgements.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.acknowledgements.info">
+ <ref name="db._info"/>
+ </define>
+ <define name="db.acknowledgements">
+ <element name="acknowledgements">
+ <ref name="db.acknowledgements.attlist"/>
+ <ref name="db.acknowledgements.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>colophon</db:refname>
+ <db:refpurpose>Text at the back of a book describing facts about its production</db:refpurpose>
+ <define name="db.colophon.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.colophon.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.colophon.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.colophon.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.colophon.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.colophon.info">
+ <ref name="db._info"/>
+ </define>
+ <define name="db.colophon">
+ <element name="colophon">
+ <ref name="db.colophon.attlist"/>
+ <ref name="db.colophon.info"/>
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="db.simplesect"/>
+ </zeroOrMore>
+ </group>
+ <group>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <ref name="db.simplesect"/>
+ </oneOrMore>
+ </group>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.appendix.contentmodel">
+ <ref name="db.component.contentmodel"/>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>appendix</db:refname>
+ <db:refpurpose>An appendix in a book or article</db:refpurpose>
+ <define name="db.appendix.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.appendix.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.appendix.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.appendix.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.appendix.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.appendix.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.appendix">
+ <element name="appendix">
+ <ref name="db.appendix.attlist"/>
+ <ref name="db.appendix.info"/>
+ <ref name="db.appendix.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.chapter.contentmodel">
+ <ref name="db.component.contentmodel"/>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>chapter</db:refname>
+ <db:refpurpose>A chapter, as of a book</db:refpurpose>
+ <define name="db.chapter.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.chapter.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.chapter.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.chapter.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.chapter.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.chapter.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.chapter">
+ <element name="chapter">
+ <ref name="db.chapter.attlist"/>
+ <ref name="db.chapter.info"/>
+ <ref name="db.chapter.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.part.components">
+ <choice>
+ <ref name="db.navigation.components"/>
+ <ref name="db.components"/>
+ </choice>
+ </define>
+ <define name="db.part.contentmodel">
+ <oneOrMore>
+ <ref name="db.part.components"/>
+ </oneOrMore>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>part</db:refname>
+ <db:refpurpose>A division in a book</db:refpurpose>
+ <define name="db.part.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.part.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.part.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.part.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.part.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.part.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.part">
+ <element name="part">
+ <ref name="db.part.attlist"/>
+ <ref name="db.part.info"/>
+ <optional>
+ <ref name="db.partintro"/>
+ </optional>
+ <ref name="db.part.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>preface</db:refname>
+ <db:refpurpose>Introductory matter preceding the first chapter of a book</db:refpurpose>
+ <define name="db.preface.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.preface.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.preface.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.preface.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.preface.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.preface.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.preface">
+ <element name="preface">
+ <ref name="db.preface.attlist"/>
+ <ref name="db.preface.info"/>
+ <ref name="db.component.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>partintro</db:refname>
+ <db:refpurpose>An introduction to the contents of a part</db:refpurpose>
+ <define name="db.partintro.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.partintro.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.partintro.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.partintro.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.partintro.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.partintro.info">
+ <ref name="db._info"/>
+ </define>
+ <define name="db.partintro">
+ <element name="partintro">
+ <ref name="db.partintro.attlist"/>
+ <ref name="db.partintro.info"/>
+ <ref name="db.toplevel.blocks.or.sections"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>section</db:refname>
+ <db:refpurpose>A recursive section</db:refpurpose>
+ <define name="db.section.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.section.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.section.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.section.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.section.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.section.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.section">
+ <element name="section">
+ <ref name="db.section.attlist"/>
+ <ref name="db.section.info"/>
+ <ref name="db.recursive.blocks.or.sections"/>
+ <zeroOrMore>
+ <ref name="db.navigation.components"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>simplesect</db:refname>
+ <db:refpurpose>A section of a document with no subdivisions</db:refpurpose>
+ <define name="db.simplesect.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.simplesect.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.simplesect.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.simplesect.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.simplesect.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.simplesect.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.simplesect">
+ <element name="simplesect">
+ <ref name="db.simplesect.attlist"/>
+ <ref name="db.simplesect.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.article.components">
+ <ref name="db.toplevel.sections"/>
+ </define>
+ <define name="db.article.navcomponents">
+ <choice>
+ <ref name="db.navigation.components"/>
+ <ref name="db.acknowledgements"/>
+ <ref name="db.dedication"/>
+ <ref name="db.appendix"/>
+ <ref name="db.colophon"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>article</db:refname>
+ <db:refpurpose>An article</db:refpurpose>
+ <define name="db.article.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.article.class.enumeration">
+ <choice>
+ <value>faq</value>
+ <a:documentation>A collection of frequently asked questions.</a:documentation>
+ <value>journalarticle</value>
+ <a:documentation>An article in a journal or other periodical.</a:documentation>
+ <value>productsheet</value>
+ <a:documentation>A description of a product.</a:documentation>
+ <value>specification</value>
+ <a:documentation>A specification.</a:documentation>
+ <value>techreport</value>
+ <a:documentation>A technical report.</a:documentation>
+ <value>whitepaper</value>
+ <a:documentation>A white paper.</a:documentation>
+ </choice>
+ </define>
+ <define name="db.article.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Identifies the nature of the article</db:refpurpose>
+ <ref name="db.article.class.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.article.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.article.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.article.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.article.status.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.article.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.article.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.article">
+ <element name="article">
+ <ref name="db.article.attlist"/>
+ <ref name="db.article.info"/>
+ <zeroOrMore>
+ <ref name="db.article.navcomponents"/>
+ </zeroOrMore>
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.article.components"/>
+ </optional>
+ </group>
+ <ref name="db.article.components"/>
+ </choice>
+ <zeroOrMore>
+ <ref name="db.article.navcomponents"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/htmltbl.rng b/slides/schema/relaxng/htmltbl.rng
new file mode 100644
index 0000000..c2fc3b1
--- /dev/null
+++ b/slides/schema/relaxng/htmltbl.rng
@@ -0,0 +1,678 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: htmltbl.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <define name="db.table.choice" combine="choice">
+ <ref name="db.html.table"/>
+ </define>
+ <define name="db.informaltable.choice" combine="choice">
+ <ref name="db.html.informaltable"/>
+ </define>
+ <define name="db.html.coreattrs">
+ <interleave>
+ <optional>
+ <attribute name="class">
+ <db:refpurpose>This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="style">
+ <db:refpurpose>This attribute specifies style information for the current element.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="title">
+ <db:refpurpose>This attribute offers advisory information about the element for which it is set.</db:refpurpose>
+ </attribute>
+ </optional>
+ </interleave>
+ </define>
+ <!-- dir isn't listed here because it's already a common attribute -->
+ <define name="db.html.i18n">
+ <optional>
+ <attribute name="lang">
+ <db:refpurpose>This attribute specifies the base language of an element's attribute values and text content. The default value of this attribute is unknown.</db:refpurpose>
+ </attribute>
+ </optional>
+ </define>
+ <define name="db.html.events">
+ <interleave>
+ <optional>
+ <attribute name="onclick">
+ <db:refpurpose>Occurs when the pointing device button is clicked over an element.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="ondblclick">
+ <db:refpurpose>Occurs when the pointing device button is double clicked over an element.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onmousedown">
+ <db:refpurpose>Occurs when the pointing device button is pressed over an element.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onmouseup">
+ <db:refpurpose>Occurs when the pointing device button is released over an element.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onmouseover">
+ <db:refpurpose>Occurs when the pointing device is moved onto an element.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onmousemove">
+ <db:refpurpose>Occurs when the pointing device is moved while it is over an element.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onmouseout">
+ <db:refpurpose>Occurs when the pointing device is moved away from an element.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onkeypress">
+ <db:refpurpose>Occurs when a key is pressed and released over an element.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onkeydown">
+ <db:refpurpose>Occurs when a key is pressed down over an element.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="onkeyup">
+ <db:refpurpose>Occurs when a key is released over an element.</db:refpurpose>
+ </attribute>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.html.attrs">
+ <interleave>
+ <ref name="db.common.attributes"/>
+ <ref name="db.html.coreattrs"/>
+ <ref name="db.html.i18n"/>
+ <ref name="db.html.events"/>
+ </interleave>
+ </define>
+ <define name="db.html.cellhalign">
+ <interleave>
+ <optional>
+ <attribute name="align">
+ <db:refpurpose>Specifies the alignment of data and the justification of text in a cell.</db:refpurpose>
+ <choice>
+ <value>left</value>
+ <a:documentation>Left-flush data/Left-justify text. This is the default value for table data.</a:documentation>
+ <value>center</value>
+ <a:documentation>Center data/Center-justify text. This is the default value for table headers.</a:documentation>
+ <value>right</value>
+ <a:documentation>Right-flush data/Right-justify text.</a:documentation>
+ <value>justify</value>
+ <a:documentation>Double-justify text.</a:documentation>
+ <value>char</value>
+ <a:documentation>Align text around a specific character. If a user agent doesn't support character alignment, behavior in the presence of this value is unspecified.</a:documentation>
+ </choice>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="char">
+ <db:refpurpose>This attribute specifies a single character within a text fragment to act as an axis for alignment. The default value for this attribute is the decimal point character for the current language as set by the lang attribute (e.g., the period in English and the comma in French). User agents are not required to support this attribute.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="charoff">
+ <db:refpurpose>When present, this attribute specifies the offset to the first occurrence of the alignment character on each line. If a line doesn't include the alignment character, it should be horizontally shifted to end at the alignment position. When charoff is used to set the offset of an alignment character, the direction of offset is determined by the current text direction (set by the dir attribute). In left-to-right texts (the default), offset is from the left margin. In right-to-left texts, offset is from the right margin. User agents are not required to support this attribute.</db:refpurpose>
+ <choice>
+ <data type="integer"/>
+ <a:documentation>An explicit offset.</a:documentation>
+ <data type="string">
+ <param name="pattern">[0-9]+%</param>
+ </data>
+ <a:documentation>A percentage offset.</a:documentation>
+ </choice>
+ </attribute>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.html.cellvalign">
+ <optional>
+ <attribute name="valign">
+ <db:refpurpose>Specifies the vertical position of data within a cell.</db:refpurpose>
+ <choice>
+ <value>top</value>
+ <a:documentation>Cell data is flush with the top of the cell.</a:documentation>
+ <value>middle</value>
+ <a:documentation>Cell data is centered vertically within the cell. This is the default value.</a:documentation>
+ <value>bottom</value>
+ <a:documentation>Cell data is flush with the bottom of the cell.</a:documentation>
+ <value>baseline</value>
+ <a:documentation>All cells in the same row as a cell whose valign attribute has this value should have their textual data positioned so that the first text line occurs on a baseline common to all cells in the row. This constraint does not apply to subsequent text lines in these cells.</a:documentation>
+ </choice>
+ </attribute>
+ </optional>
+ </define>
+ <define name="db.html.table.attributes">
+ <interleave>
+ <optional>
+ <attribute name="summary">
+ <db:refpurpose>Provides a summary of the table's purpose and structure for user agents rendering to non-visual media such as speech and Braille.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="width">
+ <db:refpurpose>Specifies the desired width of the entire table and is intended for visual user agents. When the value is a percentage value, the value is relative to the user agent's available horizontal space. In the absence of any width specification, table width is determined by the user agent.</db:refpurpose>
+ <choice>
+ <data type="integer"/>
+ <a:documentation>An explicit width.</a:documentation>
+ <data type="string">
+ <param name="pattern">[0-9]+%</param>
+ </data>
+ <a:documentation>A percentage width.</a:documentation>
+ </choice>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="border">
+ <db:refpurpose>Specifies the width (in pixels only) of the frame around a table.</db:refpurpose>
+ <data type="nonNegativeInteger"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="frame">
+ <db:refpurpose>Specifies which sides of the frame surrounding a table will be visible.</db:refpurpose>
+ <choice>
+ <value>void</value>
+ <a:documentation>No sides. This is the default value.</a:documentation>
+ <value>above</value>
+ <a:documentation>The top side only.</a:documentation>
+ <value>below</value>
+ <a:documentation>The bottom side only.</a:documentation>
+ <value>hsides</value>
+ <a:documentation>The top and bottom sides only.</a:documentation>
+ <value>lhs</value>
+ <a:documentation>The left-hand side only.</a:documentation>
+ <value>rhs</value>
+ <a:documentation>The right-hand side only.</a:documentation>
+ <value>vsides</value>
+ <a:documentation>The right and left sides only.</a:documentation>
+ <value>box</value>
+ <a:documentation>All four sides.</a:documentation>
+ <value>border</value>
+ <a:documentation>All four sides.</a:documentation>
+ </choice>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="rules">
+ <db:refpurpose>Specifies which rules will appear between cells within a table. The rendering of rules is user agent dependent.</db:refpurpose>
+ <choice>
+ <value>none</value>
+ <a:documentation>No rules. This is the default value.</a:documentation>
+ <value>groups</value>
+ <a:documentation>Rules will appear between row groups (see thead, tfoot, and tbody) and column groups (see colgroup and col) only.</a:documentation>
+ <value>rows</value>
+ <a:documentation>Rules will appear between rows only.</a:documentation>
+ <value>cols</value>
+ <a:documentation>Rules will appear between columns only.</a:documentation>
+ <value>all</value>
+ <a:documentation>Rules will appear between all rows and columns.</a:documentation>
+ </choice>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="cellspacing">
+ <db:refpurpose>Specifies how much space the user agent should leave between the left side of the table and the left-hand side of the leftmost column, the top of the table and the top side of the topmost row, and so on for the right and bottom of the table. The attribute also specifies the amount of space to leave between cells.</db:refpurpose>
+ <choice>
+ <data type="integer"/>
+ <a:documentation>An explicit spacing.</a:documentation>
+ <data type="string">
+ <param name="pattern">[0-9]+%</param>
+ </data>
+ <a:documentation>A percentage spacing.</a:documentation>
+ </choice>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="cellpadding">
+ <db:refpurpose>Specifies the amount of space between the border of the cell and its contents. If the value of this attribute is a pixel length, all four margins should be this distance from the contents. If the value of the attribute is a percentage length, the top and bottom margins should be equally separated from the content based on a percentage of the available vertical space, and the left and right margins should be equally separated from the content based on a percentage of the available horizontal space.</db:refpurpose>
+ <choice>
+ <data type="integer"/>
+ <a:documentation>An explicit padding.</a:documentation>
+ <data type="string">
+ <param name="pattern">[0-9]+%</param>
+ </data>
+ <a:documentation>A percentage padding.</a:documentation>
+ </choice>
+ </attribute>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.html.tablecell.attributes">
+ <interleave>
+ <optional>
+ <attribute name="abbr">
+ <db:refpurpose>Provides an abbreviated form of the cell's content and may be rendered by user agents when appropriate in place of the cell's content. Abbreviated names should be short since user agents may render them repeatedly. For instance, speech synthesizers may render the abbreviated headers relating to a particular cell before rendering that cell's content.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="axis">
+ <db:refpurpose>This attribute may be used to place a cell into conceptual categories that can be considered to form axes in an n-dimensional space. User agents may give users access to these categories (e.g., the user may query the user agent for all cells that belong to certain categories, the user agent may present a table in the form of a table of contents, etc.). Please consult an HTML reference for more details.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="headers">
+ <db:refpurpose>Specifies the list of header cells that provide header information for the current data cell. The value of this attribute is a space-separated list of cell names; those cells must be named by setting their id attribute. Authors generally use the headers attribute to help non-visual user agents render header information about data cells (e.g., header information is spoken prior to the cell data), but the attribute may also be used in conjunction with style sheets.</db:refpurpose>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="scope">
+ <db:refpurpose>Specifies the set of data cells for which the current header cell provides header information. This attribute may be used in place of the headers attribute, particularly for simple tables.</db:refpurpose>
+ <choice>
+ <value>row</value>
+ <a:documentation>The current cell provides header information for the rest of the row that contains it</a:documentation>
+ <value>col</value>
+ <a:documentation>The current cell provides header information for the rest of the column that contains it.</a:documentation>
+ <value>rowgroup</value>
+ <a:documentation>The header cell provides header information for the rest of the row group that contains it.</a:documentation>
+ <value>colgroup</value>
+ <a:documentation>The header cell provides header information for the rest of the column group that contains it.</a:documentation>
+ </choice>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="rowspan">
+ <db:refpurpose>Specifies the number of rows spanned by the current cell. The default value of this attribute is one (<db:quote>1</db:quote>
+). The value zero (<db:quote>0</db:quote>
+) means that the cell spans all rows from the current row to the last row of the table section (<db:tag>thead</db:tag>
+, <db:tag>tbody</db:tag>
+, or <db:tag>tfoot</db:tag>
+) in which the cell is defined.</db:refpurpose>
+ <data type="nonNegativeInteger"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="colspan">
+ <db:refpurpose>Specifies the number of columns spanned by the current cell. The default value of this attribute is one (<db:quote>1</db:quote>
+). The value zero (<db:quote>0</db:quote>
+) means that the cell spans all columns from the current column to the last column of the column group (<db:tag>colgroup</db:tag>
+) in which the cell is defined.</db:refpurpose>
+ <data type="nonNegativeInteger"/>
+ </attribute>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.html.table.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.html.table.model">
+ <optional>
+ <ref name="db.html.table.info"/>
+ </optional>
+ <ref name="db.html.caption"/>
+ <choice>
+ <zeroOrMore>
+ <ref name="db.html.col"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.html.colgroup"/>
+ </zeroOrMore>
+ </choice>
+ <optional>
+ <ref name="db.html.thead"/>
+ </optional>
+ <optional>
+ <ref name="db.html.tfoot"/>
+ </optional>
+ <choice>
+ <oneOrMore>
+ <ref name="db.html.tbody"/>
+ </oneOrMore>
+ <oneOrMore>
+ <ref name="db.html.tr"/>
+ </oneOrMore>
+ </choice>
+ </define>
+ <define name="db.html.informaltable.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.html.informaltable.model">
+ <optional>
+ <ref name="db.html.informaltable.info"/>
+ </optional>
+ <choice>
+ <zeroOrMore>
+ <ref name="db.html.col"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.html.colgroup"/>
+ </zeroOrMore>
+ </choice>
+ <optional>
+ <ref name="db.html.thead"/>
+ </optional>
+ <optional>
+ <ref name="db.html.tfoot"/>
+ </optional>
+ <choice>
+ <oneOrMore>
+ <ref name="db.html.tbody"/>
+ </oneOrMore>
+ <oneOrMore>
+ <ref name="db.html.tr"/>
+ </oneOrMore>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>table</db:refname>
+ <db:refpurpose>A formal (captioned) HTML table in a document</db:refpurpose>
+ <define name="db.html.table.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.html.table.label.attribute">
+ <ref name="db.label.attribute"/>
+ </define>
+ <define name="db.html.table.attlist">
+ <interleave>
+ <ref name="db.html.attrs"/>
+ <ref name="db.html.table.attributes"/>
+ <optional>
+ <ref name="db.html.table.role.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.html.table.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.orient.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.pgwide.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.tabstyle.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.floatstyle.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.html.table">
+ <element name="table">
+ <ref name="db.html.table.attlist"/>
+ <ref name="db.html.table.model"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>informaltable</db:refname>
+ <db:refpurpose>An HTML table without a title</db:refpurpose>
+ <define name="db.html.informaltable.attlist">
+ <interleave>
+ <ref name="db.html.attrs"/>
+ <ref name="db.html.table.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.html.informaltable">
+ <element name="informaltable">
+ <ref name="db.html.informaltable.attlist"/>
+ <ref name="db.html.informaltable.model"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>caption</db:refname>
+ <db:refpurpose>An HTML table caption</db:refpurpose>
+ <define name="db.html.caption.attlist">
+ <ref name="db.html.attrs"/>
+ </define>
+ <define name="db.html.caption">
+ <element name="caption">
+ <ref name="db.html.caption.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>col</db:refname>
+ <db:refpurpose>Specifications for a column in an HTML table</db:refpurpose>
+ <define name="db.html.col.attlist">
+ <interleave>
+ <ref name="db.html.attrs"/>
+ <optional>
+ <attribute name="span">
+ <db:refpurpose>This attribute, whose value must be an integer &gt; 0, specifies the number of columns <db:quote>spanned</db:quote>
+ by the <db:tag>col</db:tag>
+ element; the <db:tag>col</db:tag>
+ element shares its attributes with all the columns it spans. The default value for this attribute is 1 (i.e., a single column). If the span attribute is set to N &gt; 1, the current <db:tag>col</db:tag>
+ element shares its attributes with the next N-1 columns.</db:refpurpose>
+ <data type="nonNegativeInteger"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="width">
+ <db:refpurpose>Specifies a default width for each column spanned by the current <db:tag>col</db:tag>
+ element. It has the same meaning as the <db:tag class="attribute">width</db:tag>
+ attribute for the <db:tag>colgroup</db:tag>
+ element and overrides it.</db:refpurpose>
+ </attribute>
+ </optional>
+ <ref name="db.html.cellhalign"/>
+ <ref name="db.html.cellvalign"/>
+ </interleave>
+ </define>
+ <define name="db.html.col">
+ <element name="col">
+ <ref name="db.html.col.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>colgroup</db:refname>
+ <db:refpurpose>A group of columns in an HTML table</db:refpurpose>
+ <define name="db.html.colgroup.attlist">
+ <interleave>
+ <ref name="db.html.attrs"/>
+ <optional>
+ <attribute name="span">
+ <db:refpurpose>This attribute, which must be an integer &gt; 0, specifies the number of columns in a column group. In the absence of a span attribute, each <db:tag>colgroup</db:tag>
+ defines a column group containing one column. If the span attribute is set to N &gt; 0, the current <db:tag>colgroup</db:tag>
+ element defines a column group containing N columns. User agents must ignore this attribute if the <db:tag>colgroup</db:tag>
+ element contains one or more <db:tag>col</db:tag>
+ elements.</db:refpurpose>
+ <data type="nonNegativeInteger"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="width">
+ <db:refpurpose>This attribute specifies a default width for each column in the current column group. In addition to the standard pixel, percentage, and relative values, this attribute allows the special form <db:quote>0*</db:quote>
+ (zero asterisk) which means that the width of the each column in the group should be the minimum width necessary to hold the column's contents. This implies that a column's entire contents must be known before its width may be correctly computed. Authors should be aware that specifying <db:quote>0*</db:quote>
+ will prevent visual user agents from rendering a table incrementally. This attribute is overridden for any column in the column group whose width is specified via a <db:tag>col</db:tag>
+ element.</db:refpurpose>
+ </attribute>
+ </optional>
+ <ref name="db.html.cellhalign"/>
+ <ref name="db.html.cellvalign"/>
+ </interleave>
+ </define>
+ <define name="db.html.colgroup">
+ <element name="colgroup">
+ <ref name="db.html.colgroup.attlist"/>
+ <zeroOrMore>
+ <ref name="db.html.col"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>thead</db:refname>
+ <db:refpurpose>A table header consisting of one or more rows in an HTML table</db:refpurpose>
+ <define name="db.html.thead.attlist">
+ <interleave>
+ <ref name="db.html.attrs"/>
+ <ref name="db.html.cellhalign"/>
+ <ref name="db.html.cellvalign"/>
+ </interleave>
+ </define>
+ <define name="db.html.thead">
+ <element name="thead">
+ <ref name="db.html.thead.attlist"/>
+ <oneOrMore>
+ <ref name="db.html.tr"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>tfoot</db:refname>
+ <db:refpurpose>A table footer consisting of one or more rows in an HTML table</db:refpurpose>
+ <define name="db.html.tfoot.attlist">
+ <interleave>
+ <ref name="db.html.attrs"/>
+ <ref name="db.html.cellhalign"/>
+ <ref name="db.html.cellvalign"/>
+ </interleave>
+ </define>
+ <define name="db.html.tfoot">
+ <element name="tfoot">
+ <ref name="db.html.tfoot.attlist"/>
+ <oneOrMore>
+ <ref name="db.html.tr"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>tbody</db:refname>
+ <db:refpurpose>A wrapper for the rows of an HTML table or informal HTML table</db:refpurpose>
+ <define name="db.html.tbody.attlist">
+ <interleave>
+ <ref name="db.html.attrs"/>
+ <ref name="db.html.cellhalign"/>
+ <ref name="db.html.cellvalign"/>
+ </interleave>
+ </define>
+ <define name="db.html.tbody">
+ <element name="tbody">
+ <ref name="db.html.tbody.attlist"/>
+ <oneOrMore>
+ <ref name="db.html.tr"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>tr</db:refname>
+ <db:refpurpose>A row in an HTML table</db:refpurpose>
+ <define name="db.html.tr.attlist">
+ <interleave>
+ <ref name="db.html.attrs"/>
+ <ref name="db.html.cellhalign"/>
+ <ref name="db.html.cellvalign"/>
+ </interleave>
+ </define>
+ <define name="db.html.tr">
+ <element name="tr">
+ <ref name="db.html.tr.attlist"/>
+ <oneOrMore>
+ <choice>
+ <ref name="db.html.th"/>
+ <ref name="db.html.td"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>th</db:refname>
+ <db:refpurpose>A table header entry in an HTML table</db:refpurpose>
+ <define name="db.html.th.attlist">
+ <interleave>
+ <ref name="db.html.attrs"/>
+ <ref name="db.html.tablecell.attributes"/>
+ <ref name="db.html.cellhalign"/>
+ <ref name="db.html.cellvalign"/>
+ </interleave>
+ </define>
+ <define name="db.html.th">
+ <element name="th">
+ <ref name="db.html.th.attlist"/>
+ <choice>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>td</db:refname>
+ <db:refpurpose>A table entry in an HTML table</db:refpurpose>
+ <define name="db.html.td.attlist">
+ <interleave>
+ <ref name="db.html.attrs"/>
+ <ref name="db.html.tablecell.attributes"/>
+ <ref name="db.html.cellhalign"/>
+ <ref name="db.html.cellvalign"/>
+ </interleave>
+ </define>
+ <define name="db.html.td">
+ <element name="td">
+ <ref name="db.html.td.attlist"/>
+ <choice>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ </choice>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/index.rng b/slides/schema/relaxng/index.rng
new file mode 100644
index 0000000..3241fc9
--- /dev/null
+++ b/slides/schema/relaxng/index.rng
@@ -0,0 +1,773 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: index.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <start combine="choice">
+ <choice>
+ <ref name="db.setindex"/>
+ <ref name="db.index"/>
+ <ref name="db.indexdiv"/>
+ </choice>
+ </start>
+ <define name="db.ubiq.inlines" combine="choice">
+ <ref name="db.indexterm"/>
+ </define>
+ <define name="db.indexing.inlines" combine="choice">
+ <ref name="db.indexterm"/>
+ </define>
+ <define name="db.nopara.blocks" combine="choice">
+ <ref name="db.indexterm"/>
+ </define>
+ <define name="db.navigation.components" combine="choice">
+ <ref name="db.index"/>
+ </define>
+ <define name="db.setindex.components" combine="choice">
+ <ref name="db.setindex"/>
+ </define>
+ <define name="db.info.elements" combine="choice">
+ <ref name="db.itermset"/>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.significance.enumeration">
+ <choice>
+ <value>normal</value>
+ <a:documentation>Normal</a:documentation>
+ <value>preferred</value>
+ <a:documentation>Preferred</a:documentation>
+ </choice>
+ </define>
+ <define name="db.significance.attribute">
+ <attribute name="significance">
+ <db:refpurpose>Specifies the significance of the term</db:refpurpose>
+ <ref name="db.significance.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.zone.attribute">
+ <attribute name="zone">
+ <db:refpurpose>Specifies the IDs of the elements to which this term applies</db:refpurpose>
+ <data type="IDREFS"/>
+ </attribute>
+ </define>
+ <define name="db.indexterm.pagenum.attribute">
+ <attribute name="pagenum">
+ <db:refpurpose>Indicates the page on which this index term occurs in some version of the printed document</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.scope.enumeration">
+ <choice>
+ <value>all</value>
+ <a:documentation>All indexes</a:documentation>
+ <value>global</value>
+ <a:documentation>The global index (as for a combined index of a set of books)</a:documentation>
+ <value>local</value>
+ <a:documentation>The local index (the index for this document only)</a:documentation>
+ </choice>
+ </define>
+ <define name="db.scope.attribute">
+ <attribute name="scope">
+ <db:refpurpose>Specifies the scope of the index term</db:refpurpose>
+ <ref name="db.scope.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.sortas.attribute">
+ <attribute name="sortas">
+ <db:refpurpose>Specifies the string by which the term is to be sorted; if unspecified, the term content is used</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.index.type.attribute">
+ <attribute name="type">
+ <db:refpurpose>Specifies the target index for this term</db:refpurpose>
+ </attribute>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>itermset</db:refname>
+ <db:refpurpose>A set of index terms in the meta-information of a document</db:refpurpose>
+ <define name="db.itermset.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.itermset.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.itermset.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.itermset">
+ <element name="itermset">
+ <ref name="db.itermset.attlist"/>
+ <oneOrMore>
+ <ref name="db.indexterm.singular"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.indexterm.contentmodel">
+ <optional>
+ <ref name="db.primary"/>
+ </optional>
+ <optional>
+ <choice>
+ <group>
+ <ref name="db.secondary"/>
+ <optional>
+ <choice>
+ <group>
+ <ref name="db.tertiary"/>
+ <optional>
+ <choice>
+ <ref name="db.see"/>
+ <oneOrMore>
+ <ref name="db.seealso"/>
+ </oneOrMore>
+ </choice>
+ </optional>
+ </group>
+ <ref name="db.see"/>
+ <oneOrMore>
+ <ref name="db.seealso"/>
+ </oneOrMore>
+ </choice>
+ </optional>
+ </group>
+ <ref name="db.see"/>
+ <oneOrMore>
+ <ref name="db.seealso"/>
+ </oneOrMore>
+ </choice>
+ </optional>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>indexterm</db:refname>
+ <db:refpurpose>A wrapper for an indexed term</db:refpurpose>
+ <define name="db.indexterm.singular.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.indexterm.singular.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Identifies the class of index term</db:refpurpose>
+ <value>singular</value>
+ <a:documentation>A singular index term</a:documentation>
+ </attribute>
+ </define>
+ <define name="db.indexterm.singular.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.indexterm.singular.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.significance.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.zone.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.indexterm.pagenum.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.scope.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.index.type.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.indexterm.singular.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.indexterm.singular">
+ <element name="indexterm">
+ <ref name="db.indexterm.singular.attlist"/>
+ <ref name="db.indexterm.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>indexterm</db:refname>
+ <db:refpurpose>A wrapper for an indexed term that covers a range</db:refpurpose>
+ <define name="db.indexterm.startofrange.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.indexterm.startofrange.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Identifies the class of index term</db:refpurpose>
+ <value>startofrange</value>
+ <a:documentation>The start of a range</a:documentation>
+ </attribute>
+ </define>
+ <define name="db.indexterm.startofrange.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.indexterm.startofrange.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.significance.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.zone.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.indexterm.pagenum.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.scope.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.index.type.attribute"/>
+ </optional>
+ <ref name="db.indexterm.startofrange.class.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.indexterm.startofrange">
+ <element name="indexterm">
+ <ref name="db.indexterm.startofrange.attlist"/>
+ <ref name="db.indexterm.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>indexterm</db:refname>
+ <db:refpurpose>Identifies the end of a range associated with an indexed term</db:refpurpose>
+ <define name="db.indexterm.endofrange.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.indexterm.endofrange.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Identifies the class of index term</db:refpurpose>
+ <value>endofrange</value>
+ <a:documentation>The end of a range</a:documentation>
+ </attribute>
+ </define>
+ <define name="db.indexterm.endofrange.startref.attribute">
+ <attribute name="startref">
+ <db:refpurpose>Points to the start of the range</db:refpurpose>
+ <data type="IDREF"/>
+ </attribute>
+ </define>
+ <define name="db.indexterm.endofrange.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.indexterm.endofrange.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.indexterm.endofrange.class.attribute"/>
+ <ref name="db.indexterm.endofrange.startref.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.indexterm.endofrange">
+ <element name="indexterm">
+ <ref name="db.indexterm.endofrange.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>indexterm</db:refname>
+ <db:refpurpose>A wrapper for terms to be indexed</db:refpurpose>
+ <define name="db.indexterm">
+ <choice>
+ <ref name="db.indexterm.singular"/>
+ <ref name="db.indexterm.startofrange"/>
+ <ref name="db.indexterm.endofrange"/>
+ </choice>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>primary</db:refname>
+ <db:refpurpose>The primary word or phrase under which an index term should be sorted</db:refpurpose>
+ <define name="db.primary.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.primary.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.primary.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.sortas.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.primary">
+ <element name="primary">
+ <ref name="db.primary.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>secondary</db:refname>
+ <db:refpurpose>A secondary word or phrase in an index term</db:refpurpose>
+ <define name="db.secondary.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.secondary.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.secondary.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.sortas.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.secondary">
+ <element name="secondary">
+ <ref name="db.secondary.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>tertiary</db:refname>
+ <db:refpurpose>A tertiary word or phrase in an index term</db:refpurpose>
+ <define name="db.tertiary.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.tertiary.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.tertiary.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.sortas.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.tertiary">
+ <element name="tertiary">
+ <ref name="db.tertiary.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>see</db:refname>
+ <db:refpurpose>Part of an index term directing the reader instead to another entry in the index</db:refpurpose>
+ <define name="db.see.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.see.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.see.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.see">
+ <element name="see">
+ <ref name="db.see.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>seealso</db:refname>
+ <db:refpurpose>Part of an index term directing the reader also to another entry in the index</db:refpurpose>
+ <define name="db.seealso.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.seealso.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.seealso.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.seealso">
+ <element name="seealso">
+ <ref name="db.seealso.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>index</db:refname>
+ <db:refpurpose>An index to a book or part of a book</db:refpurpose>
+ <define name="db.index.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.index.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.index.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.index.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.index.status.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.index.type.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.index.info">
+ <ref name="db._info"/>
+ </define>
+ <!--
+ Yes, db.indexdiv* and db.indexentry*; that way an <index/> is valid.
+ Authors can use an empty index to indicate where a generated index should
+ appear.
+ -->
+ <define name="db.index">
+ <element name="index">
+ <ref name="db.index.attlist"/>
+ <ref name="db.index.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <choice>
+ <zeroOrMore>
+ <ref name="db.indexdiv"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.indexentry"/>
+ </zeroOrMore>
+ <ref name="db.segmentedlist"/>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>setindex</db:refname>
+ <db:refpurpose>An index to a set of books</db:refpurpose>
+ <define name="db.setindex.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.setindex.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.setindex.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.setindex.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.setindex.status.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.index.type.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.setindex.info">
+ <ref name="db._info"/>
+ </define>
+ <define name="db.setindex">
+ <element name="setindex">
+ <ref name="db.setindex.attlist"/>
+ <ref name="db.setindex.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <choice>
+ <zeroOrMore>
+ <ref name="db.indexdiv"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.indexentry"/>
+ </zeroOrMore>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>indexdiv</db:refname>
+ <db:refpurpose>A division in an index</db:refpurpose>
+ <define name="db.indexdiv.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.indexdiv.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.indexdiv.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.indexdiv.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.indexdiv.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.indexdiv.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.indexdiv">
+ <element name="indexdiv">
+ <ref name="db.indexdiv.attlist"/>
+ <ref name="db.indexdiv.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <choice>
+ <oneOrMore>
+ <ref name="db.indexentry"/>
+ </oneOrMore>
+ <ref name="db.segmentedlist"/>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>indexentry</db:refname>
+ <db:refpurpose>An entry in an index</db:refpurpose>
+ <define name="db.indexentry.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.indexentry.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.indexentry.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.indexentry">
+ <element name="indexentry">
+ <ref name="db.indexentry.attlist"/>
+ <ref name="db.primaryie"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.seeie"/>
+ <ref name="db.seealsoie"/>
+ </choice>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.secondaryie"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.seeie"/>
+ <ref name="db.seealsoie"/>
+ <ref name="db.tertiaryie"/>
+ </choice>
+ </zeroOrMore>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>primaryie</db:refname>
+ <db:refpurpose>A primary term in an index entry, not in the text</db:refpurpose>
+ <define name="db.primaryie.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.primaryie.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.primaryie.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <optional>
+ <ref name="db.linkends.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.primaryie">
+ <element name="primaryie">
+ <ref name="db.primaryie.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>secondaryie</db:refname>
+ <db:refpurpose>A secondary term in an index entry, rather than in the text</db:refpurpose>
+ <define name="db.secondaryie.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.secondaryie.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.secondaryie.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <optional>
+ <ref name="db.linkends.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.secondaryie">
+ <element name="secondaryie">
+ <ref name="db.secondaryie.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>tertiaryie</db:refname>
+ <db:refpurpose>A tertiary term in an index entry, rather than in the text</db:refpurpose>
+ <define name="db.tertiaryie.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.tertiaryie.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.tertiaryie.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <optional>
+ <ref name="db.linkends.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.tertiaryie">
+ <element name="tertiaryie">
+ <ref name="db.tertiaryie.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>seeie</db:refname>
+ <db:refpurpose>A <db:quote>See</db:quote>
+entry in an index, rather than in the text</db:refpurpose>
+ <define name="db.seeie.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.seeie.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.seeie.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <optional>
+ <ref name="db.linkend.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.seeie">
+ <element name="seeie">
+ <ref name="db.seeie.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>seealsoie</db:refname>
+ <db:refpurpose>A <db:quote>See also</db:quote>
+ entry in an index, rather than in the text</db:refpurpose>
+ <define name="db.seealsoie.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.seealsoie.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.seealsoie.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <optional>
+ <ref name="db.linkends.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.seealsoie">
+ <element name="seealsoie">
+ <ref name="db.seealsoie.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/keyboard.rng b/slides/schema/relaxng/keyboard.rng
new file mode 100644
index 0000000..06c264e
--- /dev/null
+++ b/slides/schema/relaxng/keyboard.rng
@@ -0,0 +1,320 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <define name="db.domain.inlines" combine="choice">
+ <ref name="db.keyboard.inlines"/>
+ </define>
+ <define name="db.userinput.inlines" combine="choice">
+ <ref name="db.keyboard.inlines"/>
+ </define>
+ <define name="db.keyboard.inlines">
+ <choice>
+ <ref name="db.keycombo"/>
+ <ref name="db.keycap"/>
+ <ref name="db.keycode"/>
+ <ref name="db.keysym"/>
+ <ref name="db.shortcut"/>
+ <ref name="db.accel"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>keycap</db:refname>
+ <db:refpurpose>The text printed on a key on a keyboard</db:refpurpose>
+ <ctrl:other-attribute name="db.keycap.function.attrib" enum-name="db.keycap.function-enum.attribute" other-name="db.keycap.function-other.attributes"/>
+ <define name="db.keycap.function.enumeration">
+ <choice>
+ <value>alt</value>
+ <a:documentation>The "Alt" key</a:documentation>
+ <value>backspace</value>
+ <a:documentation>The "Backspace" key</a:documentation>
+ <value>command</value>
+ <a:documentation>The "Command" key</a:documentation>
+ <value>control</value>
+ <a:documentation>The "Control" key</a:documentation>
+ <value>delete</value>
+ <a:documentation>The "Delete" key</a:documentation>
+ <value>down</value>
+ <a:documentation>The down arrow</a:documentation>
+ <value>end</value>
+ <a:documentation>The "End" key</a:documentation>
+ <value>enter</value>
+ <a:documentation>The "Enter" or "Return" key</a:documentation>
+ <value>escape</value>
+ <a:documentation>The "Escape" key</a:documentation>
+ <value>home</value>
+ <a:documentation>The "Home" key</a:documentation>
+ <value>insert</value>
+ <a:documentation>The "Insert" key</a:documentation>
+ <value>left</value>
+ <a:documentation>The left arrow</a:documentation>
+ <value>meta</value>
+ <a:documentation>The "Meta" key</a:documentation>
+ <value>option</value>
+ <a:documentation>The "Option" key</a:documentation>
+ <value>pagedown</value>
+ <a:documentation>The page down key</a:documentation>
+ <value>pageup</value>
+ <a:documentation>The page up key</a:documentation>
+ <value>right</value>
+ <a:documentation>The right arrow</a:documentation>
+ <value>shift</value>
+ <a:documentation>The "Shift" key</a:documentation>
+ <value>space</value>
+ <a:documentation>The spacebar</a:documentation>
+ <value>tab</value>
+ <a:documentation>The "Tab" key</a:documentation>
+ <value>up</value>
+ <a:documentation>The up arrow</a:documentation>
+ </choice>
+ </define>
+ <define name="db.keycap.function-enum.attribute">
+ <optional>
+ <attribute name="function">
+ <db:refpurpose>Identifies the function key</db:refpurpose>
+ <ref name="db.keycap.function.enumeration"/>
+ </attribute>
+ </optional>
+ </define>
+ <define name="db.keycap.function-other.attributes">
+ <optional>
+ <attribute name="function">
+ <db:refpurpose>Identifies the function key</db:refpurpose>
+ <value>other</value>
+ <a:documentation>Indicates a non-standard function key</a:documentation>
+ </attribute>
+ </optional>
+ <attribute name="otherfunction">
+ <db:refpurpose>Specifies a keyword that identifies the non-standard key</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.keycap.function.attrib">
+ <choice>
+ <ref name="db.keycap.function-enum.attribute"/>
+ <ref name="db.keycap.function-other.attributes"/>
+ </choice>
+ </define>
+ <define name="db.keycap.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.keycap.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.keycap.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.keycap.function.attrib"/>
+ </interleave>
+ </define>
+ <define name="db.keycap">
+ <element name="keycap">
+ <ref name="db.keycap.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>keycode</db:refname>
+ <db:refpurpose>The internal, frequently numeric, identifier for a key on a keyboard</db:refpurpose>
+ <define name="db.keycode.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.keycode.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.keycode.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.keycode">
+ <element name="keycode">
+ <ref name="db.keycode.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.keycombination.contentmodel">
+ <choice>
+ <ref name="db.keycap"/>
+ <ref name="db.keycombo"/>
+ <ref name="db.keysym"/>
+ </choice>
+ </define>
+ <div>
+ <db:refname>keycombo</db:refname>
+ <db:refpurpose>A combination of input actions</db:refpurpose>
+ <ctrl:other-attribute name="db.keycombo.action.attrib" enum-name="db.keycombo.action-enum.attribute" other-name="db.keycombo.action-other.attributes"/>
+ <define name="db.keycombo.action.enumeration">
+ <choice>
+ <value>click</value>
+ <a:documentation>A (single) mouse click.</a:documentation>
+ <value>double-click</value>
+ <a:documentation>A double mouse click.</a:documentation>
+ <value>press</value>
+ <a:documentation>A mouse or key press.</a:documentation>
+ <value>seq</value>
+ <a:documentation>Sequential clicks or presses.</a:documentation>
+ <value>simul</value>
+ <a:documentation>Simultaneous clicks or presses.</a:documentation>
+ </choice>
+ </define>
+ <define name="db.keycombo.action-enum.attribute">
+ <optional>
+ <attribute name="action">
+ <db:refpurpose>Identifies the nature of the action taken. If <db:tag>keycombo</db:tag>
+ contains more than one element, <db:tag class="attvalue">simul</db:tag>
+ is the default, otherwise there is no default.</db:refpurpose>
+ <ref name="db.keycombo.action.enumeration"/>
+ </attribute>
+ </optional>
+ </define>
+ <define name="db.keycombo.action-other.attributes">
+ <optional>
+ <attribute name="action">
+ <db:refpurpose>Identifies the nature of the action taken</db:refpurpose>
+ <value>other</value>
+ <a:documentation>Indicates a non-standard action</a:documentation>
+ </attribute>
+ </optional>
+ <attribute name="otheraction">
+ <db:refpurpose>Identifies the non-standard action in some unspecified way.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.keycombo.action.attrib">
+ <choice>
+ <ref name="db.keycombo.action-enum.attribute"/>
+ <ref name="db.keycombo.action-other.attributes"/>
+ </choice>
+ </define>
+ <define name="db.keycombo.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.keycombo.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.keycombo.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.keycombo.action.attrib"/>
+ </interleave>
+ </define>
+ <define name="db.keycombo">
+ <element name="keycombo">
+ <ref name="db.keycombo.attlist"/>
+ <oneOrMore>
+ <ref name="db.keycombination.contentmodel"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>keysym</db:refname>
+ <db:refpurpose>The symbolic name of a key on a keyboard</db:refpurpose>
+ <define name="db.keysym.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.keysym.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.keysym.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.keysym">
+ <element name="keysym">
+ <ref name="db.keysym.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>accel</db:refname>
+ <db:refpurpose>A graphical user interface (GUI) keyboard shortcut</db:refpurpose>
+ <define name="db.accel.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.accel.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.accel.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.accel">
+ <element name="accel">
+ <ref name="db.accel.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>shortcut</db:refname>
+ <db:refpurpose>A key combination for an action that is also accessible through a menu</db:refpurpose>
+ <define name="db.shortcut.action.attrib">
+ <ref name="db.keycombo.action.attrib"/>
+ </define>
+ <define name="db.shortcut.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.shortcut.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.shortcut.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.shortcut.action.attrib"/>
+ </interleave>
+ </define>
+ <define name="db.shortcut">
+ <element name="shortcut">
+ <ref name="db.shortcut.attlist"/>
+ <oneOrMore>
+ <ref name="db.keycombination.contentmodel"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/markup.rng b/slides/schema/relaxng/markup.rng
new file mode 100644
index 0000000..7fd9761
--- /dev/null
+++ b/slides/schema/relaxng/markup.rng
@@ -0,0 +1,304 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <define name="db.domain.inlines" combine="choice">
+ <ref name="db.markup.inlines"/>
+ </define>
+ <define name="db.userinput.inlines" combine="choice">
+ <ref name="db.markup.inlines"/>
+ </define>
+ <define name="db.computeroutput.inlines" combine="choice">
+ <ref name="db.markup.inlines"/>
+ </define>
+ <define name="db.markup.inlines">
+ <choice>
+ <ref name="db.tag"/>
+ <ref name="db.markup"/>
+ <ref name="db.token"/>
+ <ref name="db.symbol"/>
+ <ref name="db.literal"/>
+ <ref name="db.code"/>
+ <ref name="db.constant"/>
+ <ref name="db.email"/>
+ <ref name="db.uri"/>
+ </choice>
+ </define>
+ <define name="db.initializer.inlines" combine="choice">
+ <ref name="db.markup.inlines"/>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>markup</db:refname>
+ <db:refpurpose>A string of formatting markup in text that is to be represented literally</db:refpurpose>
+ <define name="db.markup.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.markup.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.markup.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.markup">
+ <element name="markup">
+ <ref name="db.markup.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>tag</db:refname>
+ <db:refpurpose>A component of XML (or SGML) markup</db:refpurpose>
+ <define name="db.tag.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.tag.class.enumeration">
+ <choice>
+ <value>attribute</value>
+ <a:documentation>An attribute</a:documentation>
+ <value>attvalue</value>
+ <a:documentation>An attribute value</a:documentation>
+ <value>element</value>
+ <a:documentation>An element</a:documentation>
+ <value>emptytag</value>
+ <a:documentation>An empty element tag</a:documentation>
+ <value>endtag</value>
+ <a:documentation>An end tag</a:documentation>
+ <value>genentity</value>
+ <a:documentation>A general entity</a:documentation>
+ <value>localname</value>
+ <a:documentation>The local name part of a qualified name</a:documentation>
+ <value>namespace</value>
+ <a:documentation>A namespace</a:documentation>
+ <value>numcharref</value>
+ <a:documentation>A numeric character reference</a:documentation>
+ <value>paramentity</value>
+ <a:documentation>A parameter entity</a:documentation>
+ <value>pi</value>
+ <a:documentation>A processing instruction</a:documentation>
+ <value>prefix</value>
+ <a:documentation>The prefix part of a qualified name</a:documentation>
+ <value>comment</value>
+ <a:documentation>An SGML comment</a:documentation>
+ <value>starttag</value>
+ <a:documentation>A start tag</a:documentation>
+ <value>xmlpi</value>
+ <a:documentation>An XML processing instruction</a:documentation>
+ </choice>
+ </define>
+ <define name="db.tag.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Identifies the nature of the tag content</db:refpurpose>
+ <ref name="db.tag.class.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.tag.namespace.attribute">
+ <attribute name="namespace">
+ <db:refpurpose>Identifies the namespace of the tag content</db:refpurpose>
+ <data type="anyURI"/>
+ </attribute>
+ </define>
+ <define name="db.tag.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.tag.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.tag.class.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.tag.namespace.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.tag">
+ <element name="tag">
+ <ref name="db.tag.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>symbol</db:refname>
+ <db:refpurpose>A name that is replaced by a value before processing</db:refpurpose>
+ <define name="db.symbol.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Identifies the class of symbol</db:refpurpose>
+ <value>limit</value>
+ <a:documentation>The value is a limit of some kind</a:documentation>
+ </attribute>
+ </define>
+ <define name="db.symbol.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.symbol.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.symbol.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.symbol.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.symbol">
+ <element name="symbol">
+ <ref name="db.symbol.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>token</db:refname>
+ <db:refpurpose>A unit of information</db:refpurpose>
+ <define name="db.token.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.token.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.token.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.token">
+ <element name="token">
+ <ref name="db.token.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>literal</db:refname>
+ <db:refpurpose>Inline text that is some literal value</db:refpurpose>
+ <define name="db.literal.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.literal.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.literal.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.literal">
+ <element name="literal">
+ <ref name="db.literal.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>code</db:refname>
+ <db:refpurpose>An inline code fragment</db:refpurpose>
+ <define name="code.language.attribute">
+ <attribute name="language">
+ <db:refpurpose>Identifies the (computer) language of the code fragment</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.code.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.code.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.code.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="code.language.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.code">
+ <element name="code">
+ <ref name="db.code.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.programming.inlines"/>
+ <ref name="db._text"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>constant</db:refname>
+ <db:refpurpose>A programming or system constant</db:refpurpose>
+ <define name="db.constant.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Identifies the class of constant</db:refpurpose>
+ <value>limit</value>
+ <a:documentation>The value is a limit of some kind</a:documentation>
+ </attribute>
+ </define>
+ <define name="db.constant.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.constant.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.constant.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.constant.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.constant">
+ <element name="constant">
+ <ref name="db.constant.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/math.rng b/slides/schema/relaxng/math.rng
new file mode 100644
index 0000000..89d919a
--- /dev/null
+++ b/slides/schema/relaxng/math.rng
@@ -0,0 +1,208 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: math.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start combine="choice">
+ <choice>
+ <ref name="db.equation"/>
+ <ref name="db.informalequation"/>
+ </choice>
+ </start>
+ <define name="db.formal.blocks" combine="choice">
+ <ref name="db.equation"/>
+ </define>
+ <define name="db.informal.blocks" combine="choice">
+ <ref name="db.informalequation"/>
+ </define>
+ <define name="db.math.inlines">
+ <ref name="db.inlineequation"/>
+ </define>
+ <define name="db.domain.inlines" combine="choice">
+ <ref name="db.math.inlines"/>
+ </define>
+ <define name="db.initializer.inlines" combine="choice">
+ <ref name="db.mathphrase"/>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.equation.content">
+ <choice>
+ <oneOrMore>
+ <ref name="db.mediaobject"/>
+ </oneOrMore>
+ <oneOrMore>
+ <ref name="db.mathphrase"/>
+ </oneOrMore>
+ </choice>
+ </define>
+ <define name="db.inlineequation.content">
+ <choice>
+ <oneOrMore>
+ <ref name="db.inlinemediaobject"/>
+ </oneOrMore>
+ <oneOrMore>
+ <ref name="db.mathphrase"/>
+ </oneOrMore>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>equation</db:refname>
+ <db:refpurpose>A displayed mathematical equation</db:refpurpose>
+ <define name="db.equation.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.equation.label.attribute">
+ <ref name="db.label.attribute"/>
+ </define>
+ <define name="db.equation.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.equation.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.equation.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.pgwide.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.floatstyle.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.equation.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.equation">
+ <element name="equation">
+ <ref name="db.equation.attlist"/>
+ <ref name="db.equation.info"/>
+ <optional>
+ <ref name="db.alt"/>
+ </optional>
+ <ref name="db.equation.content"/>
+ <optional>
+ <ref name="db.caption"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>informalequation</db:refname>
+ <db:refpurpose>A displayed mathematical equation without a title</db:refpurpose>
+ <define name="db.informalequation.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.informalequation.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.informalequation.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.informalequation.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.informalequation">
+ <element name="informalequation">
+ <ref name="db.informalequation.attlist"/>
+ <ref name="db.informalequation.info"/>
+ <optional>
+ <ref name="db.alt"/>
+ </optional>
+ <ref name="db.equation.content"/>
+ <optional>
+ <ref name="db.caption"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>inlineequation</db:refname>
+ <db:refpurpose>A mathematical equation or expression occurring inline</db:refpurpose>
+ <define name="db.inlineequation.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.inlineequation.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.inlineequation.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.inlineequation">
+ <element name="inlineequation">
+ <ref name="db.inlineequation.attlist"/>
+ <optional>
+ <ref name="db.alt"/>
+ </optional>
+ <ref name="db.inlineequation.content"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>mathphrase</db:refname>
+ <db:refpurpose>A mathematical phrase that can be represented with ordinary text and a small amount of markup</db:refpurpose>
+ <define name="db.mathphrase.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.mathphrase.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.mathphrase.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.mathphrase">
+ <element name="mathphrase">
+ <ref name="db.mathphrase.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.ubiq.inlines"/>
+ <ref name="db._emphasis"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/mathml.rng b/slides/schema/relaxng/mathml.rng
new file mode 100644
index 0000000..f787725
--- /dev/null
+++ b/slides/schema/relaxng/mathml.rng
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: mathml.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <define name="db.equation.content" combine="choice">
+ <oneOrMore>
+ <ref name="db._any.mml"/>
+ </oneOrMore>
+ </define>
+ <define name="db.inlineequation.content" combine="choice">
+ <oneOrMore>
+ <ref name="db._any.mml"/>
+ </oneOrMore>
+ </define>
+ <define name="db.imageobject.content" combine="choice">
+ <ref name="db.imagedata.mathml"/>
+ </define>
+ <!-- ============================================================ -->
+ <div>
+ <db:refname>imagedata</db:refname>
+ <db:refpurpose>A MathML expression in a media object</db:refpurpose>
+ <define name="db.imagedata.mathml.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.imagedata.mathml.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.imagedata.mathml.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <optional>
+ <attribute name="format">
+ <db:refpurpose>Specifies that the format of the data is MathML</db:refpurpose>
+ <value>mathml</value>
+ <a:documentation>Specifies MathML.</a:documentation>
+ </attribute>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.align.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.valign.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.width.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.contentwidth.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.scalefit.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.scale.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.depth.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.contentdepth.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.imagedata.mathml.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.imagedata.mathml">
+ <element name="imagedata">
+ <ref name="db.imagedata.mathml.attlist"/>
+ <ref name="db.imagedata.mathml.info"/>
+ <oneOrMore>
+ <ref name="db._any.mml"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ============================================================ -->
+ <div>
+ <db:refname>mml:*</db:refname>
+ <db:refpurpose>Any element from the MathML namespace</db:refpurpose>
+ <define name="db._any.mml">
+ <element>
+ <nsName ns="http://www.w3.org/1998/Math/MathML"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._any.attribute"/>
+ <text/>
+ <ref name="db._any"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/msgset.rng b/slides/schema/relaxng/msgset.rng
new file mode 100644
index 0000000..ad1fe33
--- /dev/null
+++ b/slides/schema/relaxng/msgset.rng
@@ -0,0 +1,427 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: msgset.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start combine="choice">
+ <choice>
+ <ref name="db.msg"/>
+ <ref name="db.msgexplan"/>
+ <ref name="db.msgmain"/>
+ <ref name="db.msgrel"/>
+ <ref name="db.msgset"/>
+ <ref name="db.msgsub"/>
+ </choice>
+ </start>
+ <define name="db.technical.blocks" combine="choice">
+ <ref name="db.msgset"/>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>msgset</db:refname>
+ <db:refpurpose>A detailed set of messages, usually error messages</db:refpurpose>
+ <define name="db.msgset.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.msgset.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.msgset.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.msgset.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.msgset">
+ <element name="msgset">
+ <ref name="db.msgset.attlist"/>
+ <ref name="db.msgset.info"/>
+ <choice>
+ <oneOrMore>
+ <ref name="db.msgentry"/>
+ </oneOrMore>
+ <oneOrMore>
+ <ref name="db.simplemsgentry"/>
+ </oneOrMore>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>msgentry</db:refname>
+ <db:refpurpose>A wrapper for an entry in a message set</db:refpurpose>
+ <define name="db.msgentry.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.msgentry.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.msgentry.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.msgentry">
+ <element name="msgentry">
+ <ref name="db.msgentry.attlist"/>
+ <oneOrMore>
+ <ref name="db.msg"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.msginfo"/>
+ </optional>
+ <zeroOrMore>
+ <ref name="db.msgexplan"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>simplemsgentry</db:refname>
+ <db:refpurpose>A wrapper for a simpler entry in a message set</db:refpurpose>
+ <define name="db.simplemsgentry.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.simplemsgentry.msgaud.attribute">
+ <attribute name="msgaud">
+ <db:refpurpose>The audience to which the message relevant</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.simplemsgentry.msgorig.attribute">
+ <attribute name="msgorig">
+ <db:refpurpose>The origin of the message</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.simplemsgentry.msglevel.attribute">
+ <attribute name="msglevel">
+ <db:refpurpose>The level of importance or severity of a message</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.simplemsgentry.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.simplemsgentry.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.simplemsgentry.msgaud.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.simplemsgentry.msgorig.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.simplemsgentry.msglevel.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.simplemsgentry">
+ <element name="simplemsgentry">
+ <ref name="db.simplemsgentry.attlist"/>
+ <ref name="db.msgtext"/>
+ <oneOrMore>
+ <ref name="db.msgexplan"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>msg</db:refname>
+ <db:refpurpose>A message in a message set</db:refpurpose>
+ <define name="db.msg.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.msg.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.msg.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.msg.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.msg">
+ <element name="msg">
+ <ref name="db.msg.attlist"/>
+ <ref name="db.msg.info"/>
+ <ref name="db.msgmain"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.msgsub"/>
+ <ref name="db.msgrel"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>msgmain</db:refname>
+ <db:refpurpose>The primary component of a message in a message set </db:refpurpose>
+ <define name="db.msgmain.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.msgmain.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.msgmain.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.msgmain.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.msgmain">
+ <element name="msgmain">
+ <ref name="db.msgmain.attlist"/>
+ <ref name="db.msgmain.info"/>
+ <ref name="db.msgtext"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>msgsub</db:refname>
+ <db:refpurpose>A subcomponent of a message in a message set</db:refpurpose>
+ <define name="db.msgsub.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.msgsub.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.msgsub.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.msgsub.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.msgsub">
+ <element name="msgsub">
+ <ref name="db.msgsub.attlist"/>
+ <ref name="db.msgsub.info"/>
+ <ref name="db.msgtext"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>msgrel</db:refname>
+ <db:refpurpose>A related component of a message in a message set</db:refpurpose>
+ <define name="db.msgrel.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.msgrel.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.msgrel.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.msgrel.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.msgrel">
+ <element name="msgrel">
+ <ref name="db.msgrel.attlist"/>
+ <ref name="db.msgrel.info"/>
+ <ref name="db.msgtext"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>msgtext</db:refname>
+ <db:refpurpose>The actual text of a message component in a message set</db:refpurpose>
+ <define name="db.msgtext.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.msgtext.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.msgtext.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.msgtext">
+ <element name="msgtext">
+ <ref name="db.msgtext.attlist"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>msginfo</db:refname>
+ <db:refpurpose>Information about a message in a message set</db:refpurpose>
+ <define name="db.msginfo.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.msginfo.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.msginfo.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.msginfo">
+ <element name="msginfo">
+ <ref name="db.msginfo.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.msglevel"/>
+ <ref name="db.msgorig"/>
+ <ref name="db.msgaud"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>msglevel</db:refname>
+ <db:refpurpose>The level of importance or severity of a message in a message set</db:refpurpose>
+ <define name="db.msglevel.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.msglevel.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.msglevel.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.msglevel">
+ <element name="msglevel">
+ <ref name="db.msglevel.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>msgorig</db:refname>
+ <db:refpurpose>The origin of a message in a message set</db:refpurpose>
+ <define name="db.msgorig.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.msgorig.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.msgorig.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.msgorig">
+ <element name="msgorig">
+ <ref name="db.msgorig.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>msgaud</db:refname>
+ <db:refpurpose>The audience to which a message in a message set is relevant</db:refpurpose>
+ <define name="db.msgaud.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.msgaud.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.msgaud.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.msgaud">
+ <element name="msgaud">
+ <ref name="db.msgaud.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>msgexplan</db:refname>
+ <db:refpurpose>Explanatory material relating to a message in a message set</db:refpurpose>
+ <define name="db.msgexplan.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.msgexplan.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.msgexplan.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.msgexplan.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.msgexplan">
+ <element name="msgexplan">
+ <ref name="db.msgexplan.attlist"/>
+ <ref name="db.msgexplan.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/os.rng b/slides/schema/relaxng/os.rng
new file mode 100644
index 0000000..c53a8db
--- /dev/null
+++ b/slides/schema/relaxng/os.rng
@@ -0,0 +1,513 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start combine="choice">
+ <ref name="db.cmdsynopsis"/>
+ </start>
+ <define name="db.domain.inlines" combine="choice">
+ <ref name="db.os.inlines"/>
+ </define>
+ <define name="db.synopsis.blocks" combine="choice">
+ <ref name="db.cmdsynopsis"/>
+ </define>
+ <define name="db.os.inlines">
+ <choice>
+ <ref name="db.prompt"/>
+ <ref name="db.envar"/>
+ <ref name="db.filename"/>
+ <ref name="db.command"/>
+ <ref name="db.computeroutput"/>
+ <ref name="db.userinput"/>
+ </choice>
+ </define>
+ <define name="db.computeroutput.inlines">
+ <choice>
+ <text/>
+ <ref name="db.ubiq.inlines"/>
+ <ref name="db.os.inlines"/>
+ <ref name="db.technical.inlines"/>
+ </choice>
+ </define>
+ <define name="db.userinput.inlines">
+ <choice>
+ <text/>
+ <ref name="db.ubiq.inlines"/>
+ <ref name="db.os.inlines"/>
+ <ref name="db.technical.inlines"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.prompt.inlines">
+ <ref name="db._text"/>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>prompt</db:refname>
+ <db:refpurpose>A character or string indicating the start of an input field in a computer display</db:refpurpose>
+ <define name="db.prompt.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.prompt.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.prompt.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.prompt">
+ <element name="prompt">
+ <ref name="db.prompt.attlist"/>
+ <zeroOrMore>
+ <ref name="db.prompt.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>envar</db:refname>
+ <db:refpurpose>A software environment variable</db:refpurpose>
+ <define name="db.envar.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.envar.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.envar.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.envar">
+ <element name="envar">
+ <ref name="db.envar.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>filename</db:refname>
+ <db:refpurpose>The name of a file</db:refpurpose>
+ <define name="db.filename.class.enumeration">
+ <choice>
+ <value>devicefile</value>
+ <a:documentation>A device</a:documentation>
+ <value>directory</value>
+ <a:documentation>A directory</a:documentation>
+ <value>extension</value>
+ <a:documentation>A filename extension</a:documentation>
+ <value>headerfile</value>
+ <a:documentation>A header file (as for a programming language)</a:documentation>
+ <value>libraryfile</value>
+ <a:documentation>A library file</a:documentation>
+ <value>partition</value>
+ <a:documentation>A partition (as of a hard disk)</a:documentation>
+ <value>symlink</value>
+ <a:documentation>A symbolic link</a:documentation>
+ </choice>
+ </define>
+ <define name="db.filename.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Identifies the class of filename</db:refpurpose>
+ <ref name="db.filename.class.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.filename.path.attribute">
+ <attribute name="path">
+ <db:refpurpose>Specifies the path of the filename</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.filename.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.filename.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.filename.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.filename.path.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.filename.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.filename">
+ <element name="filename">
+ <ref name="db.filename.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>command</db:refname>
+ <db:refpurpose>The name of an executable program or other software command</db:refpurpose>
+ <define name="db.command.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.command.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.command.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.command">
+ <element name="command">
+ <ref name="db.command.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>computeroutput</db:refname>
+ <db:refpurpose>Data, generally text, displayed or presented by a computer</db:refpurpose>
+ <define name="db.computeroutput.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.computeroutput.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.computeroutput.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.computeroutput">
+ <element name="computeroutput">
+ <ref name="db.computeroutput.attlist"/>
+ <zeroOrMore>
+ <ref name="db.computeroutput.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>userinput</db:refname>
+ <db:refpurpose>Data entered by the user</db:refpurpose>
+ <define name="db.userinput.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.userinput.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.userinput.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.userinput">
+ <element name="userinput">
+ <ref name="db.userinput.attlist"/>
+ <zeroOrMore>
+ <ref name="db.userinput.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>cmdsynopsis</db:refname>
+ <db:refpurpose>A syntax summary for a software command</db:refpurpose>
+ <define name="db.cmdsynopsis.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.cmdsynopsis.sepchar.attribute">
+ <attribute name="sepchar">
+ <db:refpurpose>Specifies the character that should separate the command and its top-level arguments</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.cmdsynopsis.cmdlength.attribute">
+ <attribute name="cmdlength">
+ <db:refpurpose>Indicates the displayed length of the command; this information may be used to intelligently indent command synopses which extend beyond one line</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.cmdsynopsis.label.attribute">
+ <ref name="db.label.attribute"/>
+ </define>
+ <define name="db.cmdsynopsis.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.cmdsynopsis.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.cmdsynopsis.sepchar.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.cmdsynopsis.cmdlength.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.cmdsynopsis.label.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.cmdsynopsis.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.cmdsynopsis">
+ <element name="cmdsynopsis">
+ <ref name="db.cmdsynopsis.attlist"/>
+ <ref name="db.cmdsynopsis.info"/>
+ <oneOrMore>
+ <choice>
+ <ref name="db.command"/>
+ <ref name="db.arg"/>
+ <ref name="db.group"/>
+ <ref name="db.sbr"/>
+ </choice>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="db.synopfragment"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.rep.enumeration">
+ <choice>
+ <value>norepeat</value>
+ <a:documentation>Can not be repeated.</a:documentation>
+ <value>repeat</value>
+ <a:documentation>Can be repeated.</a:documentation>
+ </choice>
+ </define>
+ <define name="db.rep.attribute">
+ <attribute name="rep" a:defaultValue="norepeat">
+ <db:refpurpose>Indicates whether or not repetition is possible.</db:refpurpose>
+ <ref name="db.rep.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.choice.enumeration">
+ <choice>
+ <value>opt</value>
+ <a:documentation>Formatted to indicate that it is optional.</a:documentation>
+ <value>plain</value>
+ <a:documentation>Formatted without indication.</a:documentation>
+ <value>req</value>
+ <a:documentation>Formatted to indicate that it is required.</a:documentation>
+ </choice>
+ </define>
+ <define name="db.choice.opt.attribute">
+ <attribute name="choice" a:defaultValue="opt">
+ <db:refpurpose>Indicates optionality.</db:refpurpose>
+ <ref name="db.choice.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.choice.req.attribute">
+ <attribute name="choice" a:defaultValue="req">
+ <db:refpurpose>Indicates optionality.</db:refpurpose>
+ <ref name="db.choice.enumeration"/>
+ </attribute>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>arg</db:refname>
+ <db:refpurpose>An argument in a cmdsynopsis</db:refpurpose>
+ <define name="db.arg.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.arg.rep.attribute">
+ <ref name="db.rep.attribute"/>
+ </define>
+ <define name="db.arg.choice.attribute">
+ <ref name="db.choice.opt.attribute"/>
+ </define>
+ <define name="db.arg.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.arg.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.arg.rep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.arg.choice.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.arg">
+ <element name="arg">
+ <ref name="db.arg.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.arg"/>
+ <ref name="db.group"/>
+ <ref name="db.option"/>
+ <ref name="db.synopfragmentref"/>
+ <ref name="db.sbr"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>group</db:refname>
+ <db:refpurpose>A group of elements in a cmdsynopsis</db:refpurpose>
+ <define name="db.group.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.group.rep.attribute">
+ <ref name="db.rep.attribute"/>
+ </define>
+ <define name="db.group.choice.attribute">
+ <ref name="db.choice.opt.attribute"/>
+ </define>
+ <define name="db.group.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.group.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.group.rep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.group.choice.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.group">
+ <element name="group">
+ <ref name="db.group.attlist"/>
+ <oneOrMore>
+ <choice>
+ <ref name="db.arg"/>
+ <ref name="db.group"/>
+ <ref name="db.option"/>
+ <ref name="db.synopfragmentref"/>
+ <ref name="db.replaceable"/>
+ <ref name="db.sbr"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>sbr</db:refname>
+ <db:refpurpose>An explicit line break in a command synopsis</db:refpurpose>
+ <define name="db.sbr.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.sbr.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.sbr.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.sbr">
+ <element name="sbr">
+ <ref name="db.sbr.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>synopfragment</db:refname>
+ <db:refpurpose>A portion of a cmdsynopsis broken out from the main body of the synopsis</db:refpurpose>
+ <define name="db.synopfragment.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.synopfragment.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.synopfragment.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.synopfragment">
+ <element name="synopfragment">
+ <ref name="db.synopfragment.attlist"/>
+ <oneOrMore>
+ <choice>
+ <ref name="db.arg"/>
+ <ref name="db.group"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>synopfragmentref</db:refname>
+ <db:refpurpose>A reference to a fragment of a command synopsis</db:refpurpose>
+ <define name="db.synopfragmentref.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.synopfragmentref.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.synopfragmentref.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.linkend.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.synopfragmentref">
+ <element name="synopfragmentref">
+ <s:pattern name="Synopsis fragment type constraint">
+ <s:rule context="db:synopfragmentref">
+ <s:assert test="local-name(//*[@xml:id=current()/@linkend]) = 'synopfragment' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'">@linkend on synopfragmentref must point to a synopfragment.</s:assert>
+ </s:rule>
+ </s:pattern>
+ <ref name="db.synopfragmentref.attlist"/>
+ <text/>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/pool.rng b/slides/schema/relaxng/pool.rng
new file mode 100644
index 0000000..691cfe6
--- /dev/null
+++ b/slides/schema/relaxng/pool.rng
@@ -0,0 +1,6084 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns:dbx="http://sourceforge.net/projects/docbook/defguide/schema/extra-markup" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <!-- ====================================================================== -->
+ <!--
+ The start tokens are somewhat arbitrary. To resolve RFE #1899655, the
+ TC concluded that anything with an info element was a reasonable start
+ element. That's mostly what has been done, with a few extra elements
+ where the patterns seemed to warrant it. If you need more, just ask.
+ -->
+ <start combine="choice">
+ <choice>
+ <ref name="db.abstract"/>
+ <ref name="db.mediaobject.content"/>
+ <ref name="db.audiodata"/>
+ <ref name="db.imagedata"/>
+ <ref name="db.textdata"/>
+ <ref name="db.videodata"/>
+ <ref name="db.caption"/>
+ <ref name="db.publishing.blocks"/>
+ <ref name="db.formal.blocks"/>
+ <ref name="db.informal.blocks"/>
+ <ref name="db.formalpara"/>
+ <ref name="db.inlinemediaobject"/>
+ <ref name="db.list.blocks"/>
+ <ref name="db.legalnotice"/>
+ <ref name="db.verbatim.blocks"/>
+ <ref name="db.graphic.blocks"/>
+ <ref name="db.personblurb"/>
+ <ref name="db.revhistory"/>
+ <ref name="db.simpara"/>
+ <ref name="db.step"/>
+ <ref name="db.stepalternatives"/>
+ </choice>
+ </start>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>*:*</db:refname>
+ <db:refpurpose>Any element from almost any namespace</db:refpurpose>
+ <define name="db._any.attribute">
+ <attribute>
+ <db:refpurpose>Any attribute, including any attribute in any namespace.</db:refpurpose>
+ <anyName/>
+ </attribute>
+ </define>
+ <define name="db._any">
+ <element>
+ <anyName>
+ <except>
+ <nsName/>
+ <nsName ns="http://www.w3.org/1999/xhtml"/>
+ </except>
+ </anyName>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._any.attribute"/>
+ <text/>
+ <ref name="db._any"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.arch.attribute">
+ <attribute name="arch">
+ <db:refpurpose>Designates the computer or chip architecture to which the element applies</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.audience.attribute">
+ <attribute name="audience">
+ <db:refpurpose>Designates the intended audience to which the element applies, for example, system administrators, programmers, or new users.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.condition.attribute">
+ <attribute name="condition">
+ <db:refpurpose>provides a standard place for application-specific effectivity</db:refpurpose>
+ <dbx:description>
+ <db:para>Many DocBook users observed that in order to add an effectivity condition that was unique to their environment required <db:quote>abusing</db:quote>
+ the semantics of one of the existing attributes, or adding their own, making their customization an extension rather than a subset. The<db:tag class="attribute">condition</db:tag>
+ attribute is a general-purpose effectivity attribute with no specified semantics.</db:para>
+ <db:para>The<db:tag class="attribute">condition</db:tag>
+ attribute provides a standard place for application-specific effectivity.</db:para>
+ </dbx:description>
+ </attribute>
+ </define>
+ <define name="db.conformance.attribute">
+ <attribute name="conformance">
+ <db:refpurpose>Indicates standards conformance characteristics of the element</db:refpurpose>
+ <dbx:description>
+ <db:para>These characteristics are application-specific; DocBook provides no default semantics.</db:para>
+ </dbx:description>
+ </attribute>
+ </define>
+ <define name="db.os.attribute">
+ <attribute name="os">
+ <db:refpurpose>Indicates the operating system to which the element is applicable</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.revision.attribute">
+ <attribute name="revision">
+ <db:refpurpose>Indicates the editorial revision to which the element belongs</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.security.attribute">
+ <attribute name="security">
+ <db:refpurpose>Indicates something about the security level associated with the element to which it applies</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.userlevel.attribute">
+ <attribute name="userlevel">
+ <db:refpurpose>Indicates the level of user experience for which the element applies</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.vendor.attribute">
+ <attribute name="vendor">
+ <db:refpurpose>Indicates the computer vendor to which the element applies.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.wordsize.attribute">
+ <attribute name="wordsize">
+ <db:refpurpose>Indicates the word size (width in bits) of the computer architecture to which the element applies</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.effectivity.attributes">
+ <interleave>
+ <optional>
+ <ref name="db.arch.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.audience.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.condition.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.conformance.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.os.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.revision.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.security.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.userlevel.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.vendor.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.wordsize.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.endterm.attribute">
+ <attribute name="endterm">
+ <db:refpurpose>Points to the element whose content is to be used as the text of the link</db:refpurpose>
+ <data type="IDREF"/>
+ </attribute>
+ </define>
+ <define name="db.linkend.attribute">
+ <attribute name="linkend">
+ <db:refpurpose>Points to an internal link target by identifying the value of its xml:id attribute</db:refpurpose>
+ <data type="IDREF"/>
+ </attribute>
+ </define>
+ <define name="db.linkends.attribute">
+ <attribute name="linkends">
+ <db:refpurpose>Points to one or more internal link targets by identifying the value of their xml:id attributes</db:refpurpose>
+ <data type="IDREFS"/>
+ </attribute>
+ </define>
+ <define name="db.xlink.href.attribute">
+ <attribute name="xlink:href">
+ <db:refpurpose>Identifies a link target with a URI</db:refpurpose>
+ <data type="anyURI"/>
+ </attribute>
+ </define>
+ <define name="db.xlink.type.attribute">
+ <attribute name="xlink:type">
+ <db:refpurpose>Identifies the XLink link type</db:refpurpose>
+ <value>simple</value>
+ <a:documentation>An XLink simple link</a:documentation>
+ </attribute>
+ </define>
+ <define name="db.xlink.role.attribute">
+ <attribute name="xlink:role">
+ <db:refpurpose>Identifies the XLink role of the link</db:refpurpose>
+ <dbx:description>
+ <db:para>DocBook uses the XLink role value <db:uri>http://docbook.org/xlink/role/olink</db:uri>
+ to identify linking elements with OLink semantics. That means the part of <db:tag class="attribute">xlink:href</db:tag>
+ before the number sign (#) is to be interpreted as equivalent to the olink <db:tag class="attribute">targetdoc</db:tag>
+ attribute value, and the part after the number sign as the olink <db:tag class="attribute">targetptr</db:tag>
+ attribute value.</db:para>
+ </dbx:description>
+ <data type="anyURI"/>
+ </attribute>
+ </define>
+ <define name="db.xlink.arcrole.attribute">
+ <attribute name="xlink:arcrole">
+ <db:refpurpose>Identifies the XLink arcrole of the link</db:refpurpose>
+ <data type="anyURI"/>
+ </attribute>
+ </define>
+ <define name="db.xlink.title.attribute">
+ <attribute name="xlink:title">
+ <db:refpurpose>Identifies the XLink title of the link</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.xlink.show.enumeration">
+ <choice>
+ <value>new</value>
+ <a:documentation>An application traversing to the ending resource should load it in a new window, frame, pane, or other relevant presentation context.</a:documentation>
+ <value>replace</value>
+ <a:documentation>An application traversing to the ending resource should load the resource in the same window, frame, pane, or other relevant presentation context in which the starting resource was loaded.</a:documentation>
+ <value>embed</value>
+ <a:documentation>An application traversing to the ending resource should load its presentation in place of the presentation of the starting resource.</a:documentation>
+ <value>other</value>
+ <a:documentation>The behavior of an application traversing to the ending resource is unconstrained by XLink. The application should look for other markup present in the link to determine the appropriate behavior.</a:documentation>
+ <value>none</value>
+ <a:documentation>The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior.</a:documentation>
+ </choice>
+ </define>
+ <define name="db.xlink.show.attribute">
+ <attribute name="xlink:show">
+ <db:refpurpose>Identifies the XLink show behavior of the link</db:refpurpose>
+ <ref name="db.xlink.show.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.xlink.actuate.enumeration">
+ <choice>
+ <value>onLoad</value>
+ <a:documentation>An application should traverse to the ending resource immediately on loading the starting resource.</a:documentation>
+ <value>onRequest</value>
+ <a:documentation>An application should traverse from the starting resource to the ending resource only on a post-loading event triggered for the purpose of traversal.</a:documentation>
+ <value>other</value>
+ <a:documentation>The behavior of an application traversing to the ending resource is unconstrained by this specification. The application should look for other markup present in the link to determine the appropriate behavior.</a:documentation>
+ <value>none</value>
+ <a:documentation>The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior.</a:documentation>
+ </choice>
+ </define>
+ <define name="db.xlink.actuate.attribute">
+ <attribute name="xlink:actuate">
+ <db:refpurpose>Identifies the XLink actuate behavior of the link</db:refpurpose>
+ <ref name="db.xlink.actuate.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.href.attributes">
+ <interleave>
+ <ref name="db.xlink.href.attribute"/>
+ <optional>
+ <ref name="db.xlink.type.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xlink.role.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xlink.arcrole.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xlink.title.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xlink.show.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xlink.actuate.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.xml.id.attribute">
+ <attribute name="xml:id">
+ <db:refpurpose>Identifies the unique ID value of the element</db:refpurpose>
+ <data type="ID"/>
+ </attribute>
+ </define>
+ <define name="db.version.attribute">
+ <attribute name="version">
+ <db:refpurpose>Specifies the DocBook version of the element and its descendants</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.xml.lang.attribute">
+ <attribute name="xml:lang">
+ <db:refpurpose>Specifies the natural language of the element and its descendants</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.xml.base.attribute">
+ <attribute name="xml:base">
+ <db:refpurpose>Specifies the base URI of the element and its descendants</db:refpurpose>
+ <data type="anyURI"/>
+ </attribute>
+ </define>
+ <define name="db.remap.attribute">
+ <attribute name="remap">
+ <db:refpurpose>Provides the name or similar semantic identifier assigned to the content in some previous markup scheme</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.xreflabel.attribute">
+ <attribute name="xreflabel">
+ <db:refpurpose>Provides the text that is to be generated for a cross reference to the element</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.xrefstyle.attribute">
+ <attribute name="xrefstyle">
+ <db:refpurpose>Specifies a keyword or keywords identifying additional style information</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.revisionflag.enumeration">
+ <choice>
+ <value>changed</value>
+ <a:documentation>The element has been changed.</a:documentation>
+ <value>added</value>
+ <a:documentation>The element is new (has been added to the document).</a:documentation>
+ <value>deleted</value>
+ <a:documentation>The element has been deleted.</a:documentation>
+ <value>off</value>
+ <a:documentation>Explicitly turns off revision markup for this element.</a:documentation>
+ </choice>
+ </define>
+ <define name="db.revisionflag.attribute">
+ <attribute name="revisionflag">
+ <db:refpurpose>Identifies the revision status of the element</db:refpurpose>
+ <ref name="db.revisionflag.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.dir.enumeration">
+ <choice>
+ <value>ltr</value>
+ <a:documentation>Left-to-right text</a:documentation>
+ <value>rtl</value>
+ <a:documentation>Right-to-left text</a:documentation>
+ <value>lro</value>
+ <a:documentation>Left-to-right override</a:documentation>
+ <value>rlo</value>
+ <a:documentation>Right-to-left override</a:documentation>
+ </choice>
+ </define>
+ <define name="db.dir.attribute">
+ <attribute name="dir">
+ <db:refpurpose>Identifies the direction of text in an element</db:refpurpose>
+ <ref name="db.dir.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.common.base.attributes">
+ <interleave>
+ <optional>
+ <ref name="db.version.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xml.lang.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xml.base.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.remap.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xreflabel.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.revisionflag.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.dir.attribute"/>
+ </optional>
+ <ref name="db.effectivity.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.common.attributes">
+ <interleave>
+ <optional>
+ <ref name="db.xml.id.attribute"/>
+ </optional>
+ <ref name="db.common.base.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.common.idreq.attributes">
+ <interleave>
+ <ref name="db.xml.id.attribute"/>
+ <ref name="db.common.base.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.common.linking.attributes">
+ <optional>
+ <choice>
+ <ref name="db.linkend.attribute"/>
+ <ref name="db.href.attributes"/>
+ </choice>
+ </optional>
+ </define>
+ <define name="db.common.req.linking.attributes">
+ <choice>
+ <ref name="db.linkend.attribute"/>
+ <ref name="db.href.attributes"/>
+ </choice>
+ </define>
+ <define name="db.common.data.attributes">
+ <optional>
+ <attribute name="format">
+ <db:refpurpose>Specifies the format of the data</db:refpurpose>
+ </attribute>
+ </optional>
+ <choice>
+ <attribute name="fileref">
+ <db:refpurpose>Indentifies the location of the data by URI</db:refpurpose>
+ <data type="anyURI"/>
+ </attribute>
+ <attribute name="entityref">
+ <db:refpurpose>Identifies the location of the data by external identifier (entity name)</db:refpurpose>
+ <data type="ENTITY"/>
+ </attribute>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.verbatim.continuation.enumeration">
+ <choice>
+ <value>continues</value>
+ <a:documentation>Line numbering continues from the immediately preceding element with the same name.</a:documentation>
+ <value>restarts</value>
+ <a:documentation>Line numbering restarts (begins at 1, usually).</a:documentation>
+ </choice>
+ </define>
+ <define name="db.verbatim.continuation.attribute">
+ <attribute name="continuation">
+ <db:refpurpose>Determines whether line numbering continues from the previous element or restarts.</db:refpurpose>
+ <ref name="db.verbatim.continuation.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.verbatim.linenumbering.enumeration">
+ <choice>
+ <value>numbered</value>
+ <a:documentation>Lines are numbered.</a:documentation>
+ <value>unnumbered</value>
+ <a:documentation>Lines are not numbered.</a:documentation>
+ </choice>
+ </define>
+ <define name="db.verbatim.linenumbering.attribute">
+ <attribute name="linenumbering">
+ <db:refpurpose>Determines whether lines are numbered.</db:refpurpose>
+ <ref name="db.verbatim.linenumbering.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.verbatim.startinglinenumber.attribute">
+ <attribute name="startinglinenumber">
+ <db:refpurpose>Specifies the initial line number.</db:refpurpose>
+ <data type="integer"/>
+ </attribute>
+ </define>
+ <define name="db.verbatim.language.attribute">
+ <attribute name="language">
+ <db:refpurpose>Identifies the language (i.e. programming language) of the verbatim content.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.verbatim.xml.space.attribute">
+ <attribute name="xml:space">
+ <db:refpurpose>Can be used to indicate explicitly that whitespace in the verbatim environment is preserved. Whitespace must always be preserved in verbatim environments whether this attribute is specified or not.</db:refpurpose>
+ <value>preserve</value>
+ <a:documentation>Whitespace must be preserved.</a:documentation>
+ </attribute>
+ </define>
+ <define name="db.verbatim.attributes">
+ <interleave>
+ <optional>
+ <ref name="db.verbatim.continuation.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.verbatim.linenumbering.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.verbatim.startinglinenumber.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.verbatim.language.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.verbatim.xml.space.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.label.attribute">
+ <attribute name="label">
+ <db:refpurpose>Specifies an identifying string for presentation purposes</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.width.characters.attribute">
+ <attribute name="width">
+ <db:refpurpose>Specifies the width (in characters) of the element</db:refpurpose>
+ <data type="nonNegativeInteger"/>
+ </attribute>
+ </define>
+ <define name="db.spacing.enumeration">
+ <choice>
+ <value>compact</value>
+ <a:documentation>The spacing should be "compact".</a:documentation>
+ <value>normal</value>
+ <a:documentation>The spacing should be "normal".</a:documentation>
+ </choice>
+ </define>
+ <define name="db.spacing.attribute">
+ <attribute name="spacing">
+ <db:refpurpose>Specifies (a hint about) the spacing of the content</db:refpurpose>
+ <ref name="db.spacing.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.pgwide.enumeration">
+ <choice>
+ <value>0</value>
+ <a:documentation>The element should be rendered in the current text flow (with the flow column width).</a:documentation>
+ <value>1</value>
+ <a:documentation>The element should be rendered across the full text page.</a:documentation>
+ </choice>
+ </define>
+ <define name="db.pgwide.attribute">
+ <attribute name="pgwide">
+ <db:refpurpose>Indicates if the element is rendered across the column or the page</db:refpurpose>
+ <ref name="db.pgwide.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.language.attribute">
+ <attribute name="language">
+ <db:refpurpose>Identifies the language (i.e. programming language) of the content.</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.performance.enumeration">
+ <choice>
+ <value>optional</value>
+ <a:documentation>The content describes an optional step or steps.</a:documentation>
+ <value>required</value>
+ <a:documentation>The content describes a required step or steps.</a:documentation>
+ </choice>
+ </define>
+ <define name="db.performance.attribute">
+ <attribute name="performance">
+ <db:refpurpose>Specifies if the content is required or optional.</db:refpurpose>
+ <ref name="db.performance.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.floatstyle.attribute">
+ <attribute name="floatstyle">
+ <db:refpurpose>Specifies style information to be used when rendering the float</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.width.attribute">
+ <attribute name="width">
+ <db:refpurpose>Specifies the width of the element</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.depth.attribute">
+ <attribute name="depth">
+ <db:refpurpose>Specifies the depth of the element</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.contentwidth.attribute">
+ <attribute name="contentwidth">
+ <db:refpurpose>Specifies the width of the content rectangle</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.contentdepth.attribute">
+ <attribute name="contentdepth">
+ <db:refpurpose>Specifies the depth of the content rectangle</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.scalefit.enumeration">
+ <choice>
+ <value>0</value>
+ <a:documentation>False (do not scale-to-fit; anamorphic scaling may occur)</a:documentation>
+ <value>1</value>
+ <a:documentation>True (scale-to-fit; anamorphic scaling is forbidden)</a:documentation>
+ </choice>
+ </define>
+ <define name="db.scale.attribute">
+ <attribute name="scale">
+ <db:refpurpose>Specifies the scaling factor</db:refpurpose>
+ <data type="positiveInteger"/>
+ </attribute>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.halign.enumeration">
+ <choice>
+ <value>center</value>
+ <a:documentation>Centered horizontally</a:documentation>
+ <value>char</value>
+ <a:documentation>Aligned horizontally on the specified character</a:documentation>
+ <value>justify</value>
+ <a:documentation>Fully justified (left and right margins or edges)</a:documentation>
+ <value>left</value>
+ <a:documentation>Left aligned</a:documentation>
+ <value>right</value>
+ <a:documentation>Right aligned</a:documentation>
+ </choice>
+ </define>
+ <define name="db.valign.enumeration">
+ <choice>
+ <value>bottom</value>
+ <a:documentation>Aligned on the bottom of the region</a:documentation>
+ <value>middle</value>
+ <a:documentation>Centered vertically</a:documentation>
+ <value>top</value>
+ <a:documentation>Aligned on the top of the region</a:documentation>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <ctrl:other-attribute name="db.biblio.class.attribute" enum-name="db.biblio.class-enum.attribute" other-name="db.biblio.class-other.attributes"/>
+ <define name="db.biblio.class.enumeration">
+ <choice>
+ <value>doi</value>
+ <a:documentation>A digital object identifier.</a:documentation>
+ <value>isbn</value>
+ <a:documentation>An international standard book number.</a:documentation>
+ <value>isrn</value>
+ <a:documentation>An international standard technical report number (ISO 10444).</a:documentation>
+ <value>issn</value>
+ <a:documentation>An international standard serial number.</a:documentation>
+ <value>libraryofcongress</value>
+ <a:documentation>A Library of Congress reference number.</a:documentation>
+ <value>pubsnumber</value>
+ <a:documentation>A publication number (an internal number or possibly organizational standard).</a:documentation>
+ <value>uri</value>
+ <a:documentation>A Uniform Resource Identifier</a:documentation>
+ </choice>
+ </define>
+ <define name="db.biblio.class-enum.attribute">
+ <optional>
+ <attribute name="class">
+ <db:refpurpose>Identifies the kind of bibliographic identifier</db:refpurpose>
+ <ref name="db.biblio.class.enumeration"/>
+ </attribute>
+ </optional>
+ </define>
+ <define name="db.biblio.class-other.attribute">
+ <attribute name="otherclass">
+ <db:refpurpose>Identifies the nature of the non-standard bibliographic identifier</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <define name="db.biblio.class-other.attributes">
+ <interleave>
+ <attribute name="class">
+ <db:refpurpose>Identifies the kind of bibliographic identifier</db:refpurpose>
+ <value>other</value>
+ <a:documentation>Indicates that the identifier is some 'other' kind.</a:documentation>
+ </attribute>
+ <ref name="db.biblio.class-other.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.biblio.class.attribute">
+ <choice>
+ <ref name="db.biblio.class-enum.attribute"/>
+ <ref name="db.biblio.class-other.attributes"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.ubiq.inlines">
+ <choice>
+ <ref name="db.inlinemediaobject"/>
+ <ref name="db.remark"/>
+ <ref name="db.link.inlines"/>
+ <ref name="db.alt"/>
+ <ref name="db.trademark"/>
+ <!-- below, effectively the publishing inlines (as of 5.0) -->
+ <ref name="db.abbrev"/>
+ <ref name="db.acronym"/>
+ <ref name="db.date"/>
+ <ref name="db._emphasis"/>
+ <ref name="db.footnote"/>
+ <ref name="db.footnoteref"/>
+ <ref name="db._foreignphrase"/>
+ <ref name="db._phrase"/>
+ <ref name="db._quote"/>
+ <ref name="db.subscript"/>
+ <ref name="db.superscript"/>
+ <ref name="db.wordasword"/>
+ </choice>
+ </define>
+ <define name="db._text">
+ <zeroOrMore>
+ <choice>
+ <text/>
+ <ref name="db.ubiq.inlines"/>
+ <ref name="db._phrase"/>
+ <ref name="db.replaceable"/>
+ </choice>
+ </zeroOrMore>
+ </define>
+ <define name="db._title">
+ <interleave>
+ <optional>
+ <ref name="db.title"/>
+ </optional>
+ <optional>
+ <ref name="db.titleabbrev"/>
+ </optional>
+ <optional>
+ <ref name="db.subtitle"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db._title.req">
+ <interleave>
+ <ref name="db.title"/>
+ <optional>
+ <ref name="db.titleabbrev"/>
+ </optional>
+ <optional>
+ <ref name="db.subtitle"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db._title.only">
+ <interleave>
+ <optional>
+ <ref name="db.title"/>
+ </optional>
+ <optional>
+ <ref name="db.titleabbrev"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db._title.onlyreq">
+ <interleave>
+ <ref name="db.title"/>
+ <optional>
+ <ref name="db.titleabbrev"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db._info">
+ <choice>
+ <group>
+ <ref name="db._title"/>
+ <optional>
+ <ref name="db.titleforbidden.info"/>
+ </optional>
+ </group>
+ <optional>
+ <ref name="db.info"/>
+ </optional>
+ </choice>
+ </define>
+ <define name="db._info.title.req">
+ <choice>
+ <group>
+ <ref name="db._title.req"/>
+ <optional>
+ <ref name="db.titleforbidden.info"/>
+ </optional>
+ </group>
+ <ref name="db.titlereq.info"/>
+ </choice>
+ </define>
+ <define name="db._info.title.only">
+ <choice>
+ <group>
+ <ref name="db._title.only"/>
+ <optional>
+ <ref name="db.titleforbidden.info"/>
+ </optional>
+ </group>
+ <ref name="db.titleonly.info"/>
+ </choice>
+ </define>
+ <define name="db._info.title.onlyreq">
+ <choice>
+ <group>
+ <ref name="db._title.onlyreq"/>
+ <optional>
+ <ref name="db.titleforbidden.info"/>
+ </optional>
+ </group>
+ <ref name="db.titleonlyreq.info"/>
+ </choice>
+ </define>
+ <define name="db._info.title.forbidden">
+ <optional>
+ <ref name="db.titleforbidden.info"/>
+ </optional>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.all.inlines">
+ <choice>
+ <text/>
+ <ref name="db.ubiq.inlines"/>
+ <ref name="db.general.inlines"/>
+ <ref name="db.domain.inlines"/>
+ <ref name="db.extension.inlines"/>
+ </choice>
+ </define>
+ <define name="db.general.inlines">
+ <choice>
+ <ref name="db.publishing.inlines"/>
+ <ref name="db.product.inlines"/>
+ <ref name="db.bibliography.inlines"/>
+ <ref name="db.graphic.inlines"/>
+ <ref name="db.indexing.inlines"/>
+ <ref name="db.link.inlines"/>
+ </choice>
+ </define>
+ <define name="db.domain.inlines">
+ <ref name="db.technical.inlines"/>
+ </define>
+ <define name="db.technical.inlines">
+ <choice>
+ <ref name="db.replaceable"/>
+ <ref name="db.package"/>
+ <ref name="db.parameter"/>
+ </choice>
+ </define>
+ <define name="db.product.inlines">
+ <ref name="db.trademark"/>
+ </define>
+ <define name="db.bibliography.inlines">
+ <choice>
+ <ref name="db.citation"/>
+ <ref name="db.citerefentry"/>
+ <ref name="db.citetitle"/>
+ <ref name="db.citebiblioid"/>
+ <ref name="db.author"/>
+ <ref name="db.person"/>
+ <ref name="db.personname"/>
+ <ref name="db.org"/>
+ <ref name="db.orgname"/>
+ <ref name="db.editor"/>
+ <ref name="db.jobtitle"/>
+ </choice>
+ </define>
+ <define name="db.publishing.inlines">
+ <choice>
+ <ref name="db.abbrev"/>
+ <ref name="db.acronym"/>
+ <ref name="db.date"/>
+ <ref name="db.emphasis"/>
+ <ref name="db.footnote"/>
+ <ref name="db.footnoteref"/>
+ <ref name="db.foreignphrase"/>
+ <ref name="db.phrase"/>
+ <ref name="db.quote"/>
+ <ref name="db.subscript"/>
+ <ref name="db.superscript"/>
+ <ref name="db.wordasword"/>
+ </choice>
+ </define>
+ <define name="db.graphic.inlines">
+ <ref name="db.inlinemediaobject"/>
+ </define>
+ <define name="db.indexing.inlines">
+ <notAllowed/>
+ </define>
+ <define name="db.link.inlines">
+ <choice>
+ <ref name="db.xref"/>
+ <ref name="db.link"/>
+ <ref name="db.olink"/>
+ <ref name="db.anchor"/>
+ </choice>
+ </define>
+ <define name="db.extension.inlines">
+ <notAllowed/>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.nopara.blocks">
+ <choice>
+ <ref name="db.list.blocks"/>
+ <ref name="db.formal.blocks"/>
+ <ref name="db.informal.blocks"/>
+ <ref name="db.publishing.blocks"/>
+ <ref name="db.graphic.blocks"/>
+ <ref name="db.technical.blocks"/>
+ <ref name="db.verbatim.blocks"/>
+ <ref name="db.bridgehead"/>
+ <ref name="db.remark"/>
+ <ref name="db.revhistory"/>
+ </choice>
+ </define>
+ <define name="db.para.blocks">
+ <choice>
+ <ref name="db.anchor"/>
+ <ref name="db.para"/>
+ <ref name="db.formalpara"/>
+ <ref name="db.simpara"/>
+ </choice>
+ </define>
+ <define name="db.all.blocks">
+ <choice>
+ <ref name="db.nopara.blocks"/>
+ <ref name="db.para.blocks"/>
+ <ref name="db.extension.blocks"/>
+ </choice>
+ </define>
+ <ctrl:exclude from="db.formal.blocks" exclude="db.formal.blocks"/>
+ <define name="db.formal.blocks">
+ <choice>
+ <ref name="db.example"/>
+ <ref name="db.figure"/>
+ <ref name="db.table"/>
+ </choice>
+ </define>
+ <define name="db.informal.blocks">
+ <choice>
+ <ref name="db.informalexample"/>
+ <ref name="db.informalfigure"/>
+ <ref name="db.informaltable"/>
+ </choice>
+ </define>
+ <define name="db.publishing.blocks">
+ <choice>
+ <ref name="db.sidebar"/>
+ <ref name="db.blockquote"/>
+ <ref name="db.address"/>
+ <ref name="db.epigraph"/>
+ </choice>
+ </define>
+ <define name="db.graphic.blocks">
+ <choice>
+ <ref name="db.mediaobject"/>
+ <ref name="db.screenshot"/>
+ </choice>
+ </define>
+ <define name="db.technical.blocks">
+ <ref name="db.procedure"/>
+ </define>
+ <define name="db.list.blocks">
+ <choice>
+ <ref name="db.itemizedlist"/>
+ <ref name="db.orderedlist"/>
+ <ref name="db.procedure"/>
+ <ref name="db.simplelist"/>
+ <ref name="db.variablelist"/>
+ <ref name="db.segmentedlist"/>
+ </choice>
+ </define>
+ <define name="db.verbatim.blocks">
+ <choice>
+ <ref name="db.screen"/>
+ <ref name="db.literallayout"/>
+ </choice>
+ </define>
+ <define name="db.extension.blocks">
+ <notAllowed/>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.info.extension">
+ <ref name="db._any"/>
+ </define>
+ <define name="db.info.elements">
+ <choice>
+ <ref name="db.abstract"/>
+ <ref name="db.address"/>
+ <ref name="db.artpagenums"/>
+ <ref name="db.author"/>
+ <ref name="db.authorgroup"/>
+ <ref name="db.authorinitials"/>
+ <ref name="db.bibliocoverage"/>
+ <ref name="db.biblioid"/>
+ <ref name="db.bibliosource"/>
+ <ref name="db.collab"/>
+ <ref name="db.confgroup"/>
+ <ref name="db.contractsponsor"/>
+ <ref name="db.contractnum"/>
+ <ref name="db.copyright"/>
+ <ref name="db.cover"/>
+ <ref name="db.date"/>
+ <ref name="db.edition"/>
+ <ref name="db.editor"/>
+ <ref name="db.issuenum"/>
+ <ref name="db.keywordset"/>
+ <ref name="db.legalnotice"/>
+ <ref name="db.mediaobject"/>
+ <ref name="db.org"/>
+ <ref name="db.orgname"/>
+ <ref name="db.othercredit"/>
+ <ref name="db.pagenums"/>
+ <ref name="db.printhistory"/>
+ <ref name="db.pubdate"/>
+ <ref name="db.publisher"/>
+ <ref name="db.publishername"/>
+ <ref name="db.releaseinfo"/>
+ <ref name="db.revhistory"/>
+ <ref name="db.seriesvolnums"/>
+ <ref name="db.subjectset"/>
+ <ref name="db.volumenum"/>
+ <ref name="db.info.extension"/>
+ </choice>
+ </define>
+ <define name="db.bibliographic.elements">
+ <choice>
+ <ref name="db.info.elements"/>
+ <ref name="db.publishing.inlines"/>
+ <ref name="db.citerefentry"/>
+ <ref name="db.citetitle"/>
+ <ref name="db.citebiblioid"/>
+ <ref name="db.person"/>
+ <ref name="db.personblurb"/>
+ <ref name="db.personname"/>
+ <ref name="db.subtitle"/>
+ <ref name="db.title"/>
+ <ref name="db.titleabbrev"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>title</db:refname>
+ <db:refpurpose>The text of the title of a section of a document or of a formal block-level element</db:refpurpose>
+ <define name="db.title.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.title.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.title.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.title">
+ <element name="title">
+ <ref name="db.title.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>titleabbrev</db:refname>
+ <db:refpurpose>The abbreviation of a title</db:refpurpose>
+ <define name="db.titleabbrev.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.titleabbrev.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.titleabbrev.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.titleabbrev">
+ <element name="titleabbrev">
+ <ref name="db.titleabbrev.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>subtitle</db:refname>
+ <db:refpurpose>The subtitle of a document</db:refpurpose>
+ <define name="db.subtitle.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.subtitle.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.subtitle.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.subtitle">
+ <element name="subtitle">
+ <ref name="db.subtitle.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>info</db:refname>
+ <db:refpurpose>A wrapper for information about a component or other block</db:refpurpose>
+ <define name="db.info.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.info.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.info.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.info">
+ <element name="info">
+ <ref name="db.info.attlist"/>
+ <interleave>
+ <ref name="db._title"/>
+ <zeroOrMore>
+ <ref name="db.info.elements"/>
+ </zeroOrMore>
+ </interleave>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>info</db:refname>
+ <db:refpurpose>A wrapper for information about a component or other block with a required title</db:refpurpose>
+ <define name="db.titlereq.info.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.titlereq.info.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.titlereq.info.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.titlereq.info">
+ <element name="info">
+ <ref name="db.titlereq.info.attlist"/>
+ <interleave>
+ <ref name="db._title.req"/>
+ <zeroOrMore>
+ <ref name="db.info.elements"/>
+ </zeroOrMore>
+ </interleave>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>info</db:refname>
+ <db:refpurpose>A wrapper for information about a component or other block with only a title</db:refpurpose>
+ <define name="db.titleonly.info.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.titleonly.info.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.titleonly.info.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.titleonly.info">
+ <element name="info">
+ <ref name="db.titleonly.info.attlist"/>
+ <interleave>
+ <ref name="db._title.only"/>
+ <zeroOrMore>
+ <ref name="db.info.elements"/>
+ </zeroOrMore>
+ </interleave>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>info</db:refname>
+ <db:refpurpose>A wrapper for information about a component or other block with only a required title</db:refpurpose>
+ <define name="db.titleonlyreq.info.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.titleonlyreq.info.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.titleonlyreq.info.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.titleonlyreq.info">
+ <element name="info">
+ <ref name="db.titleonlyreq.info.attlist"/>
+ <interleave>
+ <ref name="db._title.onlyreq"/>
+ <zeroOrMore>
+ <ref name="db.info.elements"/>
+ </zeroOrMore>
+ </interleave>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>info</db:refname>
+ <db:refpurpose>A wrapper for information about a component or other block without a title</db:refpurpose>
+ <define name="db.titleforbidden.info.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.titleforbidden.info.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.titleforbidden.info.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.titleforbidden.info">
+ <element name="info">
+ <ref name="db.titleforbidden.info.attlist"/>
+ <zeroOrMore>
+ <ref name="db.info.elements"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>subjectset</db:refname>
+ <db:refpurpose>A set of terms describing the subject matter of a document</db:refpurpose>
+ <define name="db.subjectset.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.subjectset.scheme.attribute">
+ <attribute name="scheme">
+ <db:refpurpose>Identifies the controlled vocabulary used by this set's terms</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <define name="db.subjectset.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.subjectset.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.subjectset.scheme.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.subjectset">
+ <element name="subjectset">
+ <ref name="db.subjectset.attlist"/>
+ <oneOrMore>
+ <ref name="db.subject"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>subject</db:refname>
+ <db:refpurpose>One of a group of terms describing the subject matter of a document</db:refpurpose>
+ <define name="db.subject.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.subject.weight.attribute">
+ <attribute name="weight">
+ <db:refpurpose>Specifies a ranking for this subject relative to other subjects in the same set</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.subject.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.subject.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.subject.weight.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.subject">
+ <element name="subject">
+ <ref name="db.subject.attlist"/>
+ <oneOrMore>
+ <ref name="db.subjectterm"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>subjectterm</db:refname>
+ <db:refpurpose>A term in a group of terms describing the subject matter of a document</db:refpurpose>
+ <define name="db.subjectterm.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.subjectterm.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.subjectterm.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.subjectterm">
+ <element name="subjectterm">
+ <ref name="db.subjectterm.attlist"/>
+ <text/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>keywordset</db:refname>
+ <db:refpurpose>A set of keywords describing the content of a document</db:refpurpose>
+ <define name="db.keywordset.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.keywordset.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.keywordset.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.keywordset">
+ <element name="keywordset">
+ <ref name="db.keywordset.attlist"/>
+ <oneOrMore>
+ <ref name="db.keyword"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>keyword</db:refname>
+ <db:refpurpose>One of a set of keywords describing the content of a document</db:refpurpose>
+ <define name="db.keyword.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.keyword.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.keyword.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.keyword">
+ <element name="keyword">
+ <ref name="db.keyword.attlist"/>
+ <text/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.table.choice">
+ <notAllowed/>
+ </define>
+ <define name="db.informaltable.choice">
+ <notAllowed/>
+ </define>
+ <define name="db.table">
+ <ref name="db.table.choice"/>
+ </define>
+ <define name="db.informaltable">
+ <ref name="db.informaltable.choice"/>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>procedure</db:refname>
+ <db:refpurpose>A list of operations to be performed in a well-defined sequence</db:refpurpose>
+ <define name="db.procedure.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.procedure.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.procedure.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.procedure.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.procedure">
+ <element name="procedure">
+ <ref name="db.procedure.attlist"/>
+ <ref name="db.procedure.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <ref name="db.step"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>step</db:refname>
+ <db:refpurpose>A unit of action in a procedure</db:refpurpose>
+ <define name="db.step.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.step.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.step.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.performance.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.step.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <!--
+ This content model is blocks*, step|stepalternatives, blocks* but
+ expressed this way it avoids UPA issues in XSD and DTD versions
+ -->
+ <define name="db.step">
+ <element name="step">
+ <ref name="db.step.attlist"/>
+ <ref name="db.step.info"/>
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <choice>
+ <ref name="db.substeps"/>
+ <ref name="db.stepalternatives"/>
+ </choice>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ </optional>
+ </group>
+ <group>
+ <choice>
+ <ref name="db.substeps"/>
+ <ref name="db.stepalternatives"/>
+ </choice>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ </group>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>stepalternatives</db:refname>
+ <db:refpurpose>Alternative steps in a procedure</db:refpurpose>
+ <define name="db.stepalternatives.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.stepalternatives.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.stepalternatives.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.performance.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.stepalternatives.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.stepalternatives">
+ <element name="stepalternatives">
+ <ref name="db.stepalternatives.attlist"/>
+ <ref name="db.stepalternatives.info"/>
+ <oneOrMore>
+ <ref name="db.step"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>substeps</db:refname>
+ <db:refpurpose>A wrapper for steps that occur within steps in a procedure</db:refpurpose>
+ <define name="db.substeps.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.substeps.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.substeps.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.performance.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.substeps">
+ <element name="substeps">
+ <ref name="db.substeps.attlist"/>
+ <oneOrMore>
+ <ref name="db.step"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>sidebar</db:refname>
+ <db:refpurpose>A portion of a document that is isolated from the main narrative flow</db:refpurpose>
+ <ctrl:exclude from="db.sidebar" exclude="db.sidebar"/>
+ <define name="db.sidebar.floatstyle.attribute">
+ <ref name="db.floatstyle.attribute"/>
+ </define>
+ <define name="db.sidebar.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.sidebar.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.sidebar.role.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.sidebar.floatstyle.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.sidebar.info">
+ <ref name="db._info"/>
+ </define>
+ <define name="db.sidebar">
+ <element name="sidebar">
+ <ref name="db.sidebar.attlist"/>
+ <ref name="db.sidebar.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>abstract</db:refname>
+ <db:refpurpose>A summary</db:refpurpose>
+ <define name="db.abstract.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.abstract.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.abstract.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.abstract.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.abstract">
+ <element name="abstract">
+ <ref name="db.abstract.attlist"/>
+ <ref name="db.abstract.info"/>
+ <oneOrMore>
+ <ref name="db.para.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>personblurb</db:refname>
+ <db:refpurpose>A short description or note about a person</db:refpurpose>
+ <define name="db.personblurb.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.personblurb.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.personblurb.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.personblurb.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.personblurb">
+ <element name="personblurb">
+ <ref name="db.personblurb.attlist"/>
+ <ref name="db.personblurb.info"/>
+ <oneOrMore>
+ <ref name="db.para.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>blockquote</db:refname>
+ <db:refpurpose>A quotation set off from the main text</db:refpurpose>
+ <define name="db.blockquote.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.blockquote.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.blockquote.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.blockquote.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.blockquote">
+ <element name="blockquote">
+ <ref name="db.blockquote.attlist"/>
+ <ref name="db.blockquote.info"/>
+ <optional>
+ <ref name="db.attribution"/>
+ </optional>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>attribution</db:refname>
+ <db:refpurpose>The source of a block quote or epigraph</db:refpurpose>
+ <define name="db.attribution.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.attribution.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.attribution.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.attribution">
+ <element name="attribution">
+ <ref name="db.attribution.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.person"/>
+ <ref name="db.personname"/>
+ <ref name="db.citetitle"/>
+ <ref name="db.citation"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>bridgehead</db:refname>
+ <db:refpurpose>A free-floating heading</db:refpurpose>
+ <ctrl:other-attribute name="db.bridgehead.renderas.attribute" enum-name="db.bridgehead.renderas-enum.attribute" other-name="db.bridgehead.renderas-other.attributes"/>
+ <define name="db.bridgehead.renderas.enumeration">
+ <choice>
+ <value>sect1</value>
+ <a:documentation>Render as a first-level section</a:documentation>
+ <value>sect2</value>
+ <a:documentation>Render as a second-level section</a:documentation>
+ <value>sect3</value>
+ <a:documentation>Render as a third-level section</a:documentation>
+ <value>sect4</value>
+ <a:documentation>Render as a fourth-level section</a:documentation>
+ <value>sect5</value>
+ <a:documentation>Render as a fifth-level section</a:documentation>
+ </choice>
+ </define>
+ <define name="db.bridgehead.renderas-enum.attribute">
+ <optional>
+ <attribute name="renderas">
+ <db:refpurpose>Indicates how the bridge head should be rendered</db:refpurpose>
+ <ref name="db.bridgehead.renderas.enumeration"/>
+ </attribute>
+ </optional>
+ </define>
+ <define name="db.bridgehead.renderas-other.attribute">
+ <attribute name="otherrenderas">
+ <db:refpurpose>Identifies the nature of the non-standard rendering</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <define name="db.bridgehead.renderas-other.attributes">
+ <interleave>
+ <attribute name="renderas">
+ <db:refpurpose>Indicates how the bridge head should be rendered</db:refpurpose>
+ <value>other</value>
+ <a:documentation>Identifies a non-standard rendering</a:documentation>
+ </attribute>
+ <ref name="db.bridgehead.renderas-other.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.bridgehead.renderas.attribute">
+ <choice>
+ <ref name="db.bridgehead.renderas-enum.attribute"/>
+ <ref name="db.bridgehead.renderas-other.attributes"/>
+ </choice>
+ </define>
+ <define name="db.bridgehead.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.bridgehead.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.bridgehead.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.bridgehead.renderas.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.bridgehead">
+ <element name="bridgehead">
+ <ref name="db.bridgehead.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>remark</db:refname>
+ <db:refpurpose>A remark (or comment) intended for presentation in a draft manuscript</db:refpurpose>
+ <define name="db.remark.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.remark.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.remark.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.remark">
+ <element name="remark">
+ <ref name="db.remark.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>epigraph</db:refname>
+ <db:refpurpose>A short inscription at the beginning of a document or component</db:refpurpose>
+ <define name="db.epigraph.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.epigraph.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.epigraph.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.epigraph.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.epigraph">
+ <element name="epigraph">
+ <ref name="db.epigraph.attlist"/>
+ <ref name="db.epigraph.info"/>
+ <optional>
+ <ref name="db.attribution"/>
+ </optional>
+ <oneOrMore>
+ <choice>
+ <ref name="db.para.blocks"/>
+ <ref name="db.literallayout"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>footnote</db:refname>
+ <db:refpurpose>A footnote</db:refpurpose>
+ <ctrl:exclude from="db.footnote" exclude="db.footnote"/>
+ <ctrl:exclude from="db.footnote" exclude="db.formal.blocks"/>
+ <ctrl:exclude from="db.footnote" exclude="db.sidebar"/>
+ <ctrl:exclude from="db.footnote" exclude="db.task"/>
+ <ctrl:exclude from="db.footnote" exclude="db.epigraph"/>
+ <define name="db.footnote.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.footnote.label.attribute">
+ <attribute name="label">
+ <db:refpurpose>Identifies the desired footnote mark</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <define name="db.footnote.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.footnote.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.footnote.label.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.footnote">
+ <element name="footnote">
+ <ref name="db.footnote.attlist"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>formalpara</db:refname>
+ <db:refpurpose>A paragraph with a title</db:refpurpose>
+ <define name="db.formalpara.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.formalpara.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.formalpara.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.formalpara.info">
+ <ref name="db._info.title.onlyreq"/>
+ </define>
+ <define name="db.formalpara">
+ <element name="formalpara">
+ <ref name="db.formalpara.attlist"/>
+ <ref name="db.formalpara.info"/>
+ <zeroOrMore>
+ <ref name="db.indexing.inlines"/>
+ </zeroOrMore>
+ <ref name="db.para"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>para</db:refname>
+ <db:refpurpose>A paragraph</db:refpurpose>
+ <define name="db.para.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.para.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.para.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.para.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.para">
+ <element name="para">
+ <ref name="db.para.attlist"/>
+ <ref name="db.para.info"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.all.inlines"/>
+ <ref name="db.nopara.blocks"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>simpara</db:refname>
+ <db:refpurpose>A paragraph that contains only text and inline markup, no block elements</db:refpurpose>
+ <define name="db.simpara.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.simpara.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.simpara.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.simpara.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.simpara">
+ <element name="simpara">
+ <ref name="db.simpara.attlist"/>
+ <ref name="db.simpara.info"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>itemizedlist</db:refname>
+ <db:refpurpose>A list in which each entry is marked with a bullet or other dingbat</db:refpurpose>
+ <define name="db.itemizedlist.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.itemizedlist.mark.attribute">
+ <attribute name="mark">
+ <db:refpurpose>Identifies the type of mark to be used on items in this list</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <define name="db.itemizedlist.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.itemizedlist.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.spacing.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.itemizedlist.mark.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.itemizedlist.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.itemizedlist">
+ <element name="itemizedlist">
+ <ref name="db.itemizedlist.attlist"/>
+ <ref name="db.itemizedlist.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <ref name="db.listitem"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>orderedlist</db:refname>
+ <db:refpurpose>A list in which each entry is marked with a sequentially incremented label</db:refpurpose>
+ <define name="db.orderedlist.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.orderedlist.continuation.enumeration">
+ <choice>
+ <value>continues</value>
+ <a:documentation>Specifies that numbering should begin where the preceding list left off</a:documentation>
+ <value>restarts</value>
+ <a:documentation>Specifies that numbering should begin again at 1</a:documentation>
+ </choice>
+ </define>
+ <define name="db.orderedlist.continuation.attribute">
+ <attribute name="continuation">
+ <db:refpurpose>Indicates how list numbering should begin relative to the immediately preceding list</db:refpurpose>
+ <ref name="db.orderedlist.continuation.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.orderedlist.startingnumber.attribute">
+ <attribute name="startingnumber">
+ <db:refpurpose>Specifies the initial line number.</db:refpurpose>
+ <data type="integer"/>
+ </attribute>
+ </define>
+ <define name="db.orderedlist.inheritnum.enumeration">
+ <choice>
+ <value>ignore</value>
+ <a:documentation>Specifies that numbering should ignore list nesting</a:documentation>
+ <value>inherit</value>
+ <a:documentation>Specifies that numbering should inherit from outer-level lists</a:documentation>
+ </choice>
+ </define>
+ <define name="db.orderedlist.inheritnum.attribute">
+ <attribute name="inheritnum">
+ <db:refpurpose>Indicates whether or not item numbering should be influenced by list nesting</db:refpurpose>
+ <ref name="db.orderedlist.inheritnum.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.orderedlist.numeration.enumeration">
+ <choice>
+ <value>arabic</value>
+ <a:documentation>Specifies Arabic numeration (1, 2, 3, …)</a:documentation>
+ <value>upperalpha</value>
+ <a:documentation>Specifies upper-case alphabetic numeration (A, B, C, …)</a:documentation>
+ <value>loweralpha</value>
+ <a:documentation>Specifies lower-case alphabetic numeration (a, b, c, …)</a:documentation>
+ <value>upperroman</value>
+ <a:documentation>Specifies upper-case Roman numeration (I, II, III, …)</a:documentation>
+ <value>lowerroman</value>
+ <a:documentation>Specifies lower-case Roman numeration (i, ii, iii …)</a:documentation>
+ </choice>
+ </define>
+ <define name="db.orderedlist.numeration.attribute">
+ <attribute name="numeration">
+ <db:refpurpose>Indicates the desired numeration</db:refpurpose>
+ <ref name="db.orderedlist.numeration.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.orderedlist.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.orderedlist.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.spacing.attribute"/>
+ </optional>
+ <optional>
+ <choice>
+ <ref name="db.orderedlist.continuation.attribute"/>
+ <ref name="db.orderedlist.startingnumber.attribute"/>
+ </choice>
+ </optional>
+ <optional>
+ <ref name="db.orderedlist.inheritnum.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.orderedlist.numeration.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.orderedlist.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.orderedlist">
+ <element name="orderedlist">
+ <ref name="db.orderedlist.attlist"/>
+ <ref name="db.orderedlist.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <ref name="db.listitem"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>listitem</db:refname>
+ <db:refpurpose>A wrapper for the elements of a list item</db:refpurpose>
+ <define name="db.listitem.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.listitem.override.attribute">
+ <attribute name="override">
+ <db:refpurpose>Specifies the keyword for the type of mark that should be used on <db:emphasis>this</db:emphasis>
+ item, instead of the mark that would be used by default</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <define name="db.listitem.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.listitem.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.listitem.override.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.listitem">
+ <element name="listitem">
+ <ref name="db.listitem.attlist"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>segmentedlist</db:refname>
+ <db:refpurpose>A segmented list, a list of sets of elements</db:refpurpose>
+ <define name="db.segmentedlist.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.segmentedlist.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.segmentedlist.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.segmentedlist.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.segmentedlist">
+ <element name="segmentedlist">
+ <ref name="db.segmentedlist.attlist"/>
+ <ref name="db.segmentedlist.info"/>
+ <oneOrMore>
+ <ref name="db.segtitle"/>
+ </oneOrMore>
+ <oneOrMore>
+ <ref name="db.seglistitem"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>segtitle</db:refname>
+ <db:refpurpose>The title of an element of a list item in a segmented list</db:refpurpose>
+ <define name="db.segtitle.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.segtitle.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.segtitle.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.segtitle">
+ <element name="segtitle">
+ <ref name="db.segtitle.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>seglistitem</db:refname>
+ <db:refpurpose>A list item in a segmented list</db:refpurpose>
+ <define name="db.seglistitem.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.seglistitem.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.seglistitem.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.seglistitem">
+ <element name="seglistitem">
+ <s:pattern name="Cardinality of segments and titles">
+ <s:rule context="db:seglistitem">
+ <s:assert test="count(db:seg) = count(../db:segtitle)">The number of seg elements must be the same as the number of segtitle elements in the parent segmentedlist</s:assert>
+ </s:rule>
+ </s:pattern>
+ <ref name="db.seglistitem.attlist"/>
+ <oneOrMore>
+ <ref name="db.seg"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>seg</db:refname>
+ <db:refpurpose>An element of a list item in a segmented list</db:refpurpose>
+ <define name="db.seg.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.seg.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.seg.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.seg">
+ <element name="seg">
+ <ref name="db.seg.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>simplelist</db:refname>
+ <db:refpurpose>An undecorated list of single words or short phrases</db:refpurpose>
+ <define name="db.simplelist.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.simplelist.type.enumeration">
+ <choice>
+ <value>horiz</value>
+ <a:documentation>A tabular presentation in row-major order.</a:documentation>
+ <value>vert</value>
+ <a:documentation>A tabular presentation in column-major order.</a:documentation>
+ <value>inline</value>
+ <a:documentation>An inline presentation, usually a comma-delimited list.</a:documentation>
+ </choice>
+ </define>
+ <define name="db.simplelist.type.attribute">
+ <attribute name="type" a:defaultValue="vert">
+ <db:refpurpose>Specifies the type of list presentation.</db:refpurpose>
+ <ref name="db.simplelist.type.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.simplelist.columns.attribute">
+ <attribute name="columns">
+ <db:refpurpose>Specifies the number of columns for horizontal or vertical presentation</db:refpurpose>
+ <data type="integer"/>
+ </attribute>
+ </define>
+ <define name="db.simplelist.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.simplelist.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.simplelist.type.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.simplelist.columns.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.simplelist">
+ <element name="simplelist">
+ <ref name="db.simplelist.attlist"/>
+ <oneOrMore>
+ <ref name="db.member"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>member</db:refname>
+ <db:refpurpose>An element of a simple list</db:refpurpose>
+ <define name="db.member.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.member.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.member.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.member">
+ <element name="member">
+ <ref name="db.member.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>variablelist</db:refname>
+ <db:refpurpose>A list in which each entry is composed of a set of one or more terms and an associated description</db:refpurpose>
+ <define name="db.variablelist.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.variablelist.termlength.attribute">
+ <attribute name="termlength">
+ <db:refpurpose>Indicates a length beyond which the presentation system may consider a term too long and select an alternate presentation for that term, item, or list</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.variablelist.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.variablelist.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.spacing.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.variablelist.termlength.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.variablelist.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.variablelist">
+ <element name="variablelist">
+ <ref name="db.variablelist.attlist"/>
+ <ref name="db.variablelist.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <ref name="db.varlistentry"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>varlistentry</db:refname>
+ <db:refpurpose>A wrapper for a set of terms and the associated description in a variable list</db:refpurpose>
+ <define name="db.varlistentry.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.varlistentry.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.varlistentry.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.varlistentry">
+ <element name="varlistentry">
+ <ref name="db.varlistentry.attlist"/>
+ <oneOrMore>
+ <ref name="db.term"/>
+ </oneOrMore>
+ <ref name="db.listitem"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>term</db:refname>
+ <db:refpurpose>The word or phrase being defined or described in a variable list</db:refpurpose>
+ <define name="db.term.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.term.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.term.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.term">
+ <element name="term">
+ <ref name="db.term.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>example</db:refname>
+ <db:refpurpose>A formal example, with a title</db:refpurpose>
+ <define name="db.example.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.example.label.attribute">
+ <ref name="db.label.attribute"/>
+ </define>
+ <define name="db.example.width.attribute">
+ <ref name="db.width.characters.attribute"/>
+ </define>
+ <define name="db.example.pgwide.attribute">
+ <ref name="db.pgwide.attribute"/>
+ </define>
+ <define name="db.example.floatstyle.attribute">
+ <ref name="db.floatstyle.attribute"/>
+ </define>
+ <define name="db.example.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.example.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.example.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.example.floatstyle.attribute"/>
+ </optional>
+ <optional>
+ <choice>
+ <ref name="db.example.width.attribute"/>
+ <ref name="db.example.pgwide.attribute"/>
+ </choice>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.example.info">
+ <ref name="db._info.title.onlyreq"/>
+ </define>
+ <define name="db.example">
+ <element name="example">
+ <ref name="db.example.attlist"/>
+ <ref name="db.example.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.caption"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>informalexample</db:refname>
+ <db:refpurpose>A displayed example without a title</db:refpurpose>
+ <define name="db.informalexample.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.informalexample.width.attribute">
+ <ref name="db.width.characters.attribute"/>
+ </define>
+ <define name="db.informalexample.floatstyle.attribute">
+ <ref name="db.floatstyle.attribute"/>
+ </define>
+ <define name="db.informalexample.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.informalexample.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.informalexample.floatstyle.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.informalexample.width.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.informalexample.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.informalexample">
+ <element name="informalexample">
+ <ref name="db.informalexample.attlist"/>
+ <ref name="db.informalexample.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.caption"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.verbatim.inlines">
+ <choice>
+ <ref name="db.all.inlines"/>
+ <ref name="db.lineannotation"/>
+ </choice>
+ </define>
+ <define name="db.verbatim.contentmodel">
+ <ref name="db._info.title.forbidden"/>
+ <choice>
+ <ref name="db.textobject"/>
+ <zeroOrMore>
+ <ref name="db.verbatim.inlines"/>
+ </zeroOrMore>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>literallayout</db:refname>
+ <db:refpurpose>A block of text in which line breaks and white space are to be reproduced faithfully</db:refpurpose>
+ <define name="db.literallayout.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.literallayout.class.enumeration">
+ <choice>
+ <value>monospaced</value>
+ <a:documentation>The literal layout should be formatted with a monospaced font</a:documentation>
+ <value>normal</value>
+ <a:documentation>The literal layout should be formatted with the current font</a:documentation>
+ </choice>
+ </define>
+ <define name="db.literallayout.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Specifies the class of literal layout</db:refpurpose>
+ <ref name="db.literallayout.class.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.literallayout.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.literallayout.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.verbatim.attributes"/>
+ <optional>
+ <ref name="db.literallayout.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.literallayout">
+ <element name="literallayout">
+ <ref name="db.literallayout.attlist"/>
+ <ref name="db.verbatim.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>screen</db:refname>
+ <db:refpurpose>Text that a user sees or might see on a computer screen</db:refpurpose>
+ <define name="db.screen.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.screen.width.attribute">
+ <ref name="db.width.characters.attribute"/>
+ </define>
+ <define name="db.screen.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.screen.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.verbatim.attributes"/>
+ <optional>
+ <ref name="db.screen.width.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.screen">
+ <element name="screen">
+ <ref name="db.screen.attlist"/>
+ <ref name="db.verbatim.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>screenshot</db:refname>
+ <db:refpurpose>A representation of what the user sees or might see on a computer screen</db:refpurpose>
+ <define name="db.screenshot.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.screenshot.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.screenshot.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.screenshot.info">
+ <ref name="db._info"/>
+ </define>
+ <define name="db.screenshot">
+ <element name="screenshot">
+ <ref name="db.screenshot.attlist"/>
+ <ref name="db.screenshot.info"/>
+ <ref name="db.mediaobject"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>figure</db:refname>
+ <db:refpurpose>A formal figure, generally an illustration, with a title</db:refpurpose>
+ <define name="db.figure.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.figure.label.attribute">
+ <ref name="db.label.attribute"/>
+ </define>
+ <define name="db.figure.pgwide.attribute">
+ <ref name="db.pgwide.attribute"/>
+ </define>
+ <define name="db.figure.floatstyle.attribute">
+ <ref name="db.floatstyle.attribute"/>
+ </define>
+ <define name="db.figure.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.figure.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.figure.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.figure.pgwide.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.figure.floatstyle.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.figure.info">
+ <ref name="db._info.title.onlyreq"/>
+ </define>
+ <define name="db.figure">
+ <element name="figure">
+ <ref name="db.figure.attlist"/>
+ <ref name="db.figure.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.caption"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>informalfigure</db:refname>
+ <db:refpurpose>A untitled figure</db:refpurpose>
+ <define name="db.informalfigure.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.informalfigure.label.attribute">
+ <ref name="db.label.attribute"/>
+ </define>
+ <define name="db.informalfigure.pgwide.attribute">
+ <ref name="db.pgwide.attribute"/>
+ </define>
+ <define name="db.informalfigure.floatstyle.attribute">
+ <ref name="db.floatstyle.attribute"/>
+ </define>
+ <define name="db.informalfigure.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.informalfigure.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.informalfigure.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.informalfigure.pgwide.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.informalfigure.floatstyle.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.informalfigure.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.informalfigure">
+ <element name="informalfigure">
+ <ref name="db.informalfigure.attlist"/>
+ <ref name="db.informalfigure.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.caption"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.mediaobject.content">
+ <choice>
+ <ref name="db.videoobject"/>
+ <ref name="db.audioobject"/>
+ <ref name="db.imageobject"/>
+ <ref name="db.textobject"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>mediaobject</db:refname>
+ <db:refpurpose>A displayed media object (video, audio, image, etc.)</db:refpurpose>
+ <define name="db.mediaobject.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.mediaobject.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.mediaobject.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.mediaobject.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.mediaobject">
+ <element name="mediaobject">
+ <ref name="db.mediaobject.attlist"/>
+ <ref name="db.mediaobject.info"/>
+ <optional>
+ <ref name="db.alt"/>
+ </optional>
+ <oneOrMore>
+ <ref name="db.mediaobject.content"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.caption"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>inlinemediaobject</db:refname>
+ <db:refpurpose>An inline media object (video, audio, image, and so on)</db:refpurpose>
+ <define name="db.inlinemediaobject.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.inlinemediaobject.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.inlinemediaobject.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.inlinemediaobject.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.inlinemediaobject">
+ <element name="inlinemediaobject">
+ <ref name="db.inlinemediaobject.attlist"/>
+ <ref name="db.inlinemediaobject.info"/>
+ <optional>
+ <ref name="db.alt"/>
+ </optional>
+ <oneOrMore>
+ <ref name="db.mediaobject.content"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>videoobject</db:refname>
+ <db:refpurpose>A wrapper for video data and its associated meta-information</db:refpurpose>
+ <define name="db.videoobject.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.videoobject.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.videoobject.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.videoobject.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.videoobject">
+ <element name="videoobject">
+ <ref name="db.videoobject.attlist"/>
+ <ref name="db.videoobject.info"/>
+ <ref name="db.videodata"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>audioobject</db:refname>
+ <db:refpurpose>A wrapper for audio data and its associated meta-information</db:refpurpose>
+ <define name="db.audioobject.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.audioobject.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.audioobject.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.audioobject.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.audioobject">
+ <element name="audioobject">
+ <ref name="db.audioobject.attlist"/>
+ <ref name="db.audioobject.info"/>
+ <ref name="db.audiodata"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.imageobject.content">
+ <ref name="db.imagedata"/>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>imageobject</db:refname>
+ <db:refpurpose>A wrapper for image data and its associated meta-information</db:refpurpose>
+ <define name="db.imageobject.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.imageobject.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.imageobject.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.imageobject.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.imageobject">
+ <element name="imageobject">
+ <ref name="db.imageobject.attlist"/>
+ <ref name="db.imageobject.info"/>
+ <ref name="db.imageobject.content"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>textobject</db:refname>
+ <db:refpurpose>A wrapper for a text description of an object and its associated meta-information</db:refpurpose>
+ <define name="db.textobject.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.textobject.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.textobject.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.textobject.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.textobject">
+ <element name="textobject">
+ <ref name="db.textobject.attlist"/>
+ <ref name="db.textobject.info"/>
+ <choice>
+ <ref name="db.phrase"/>
+ <ref name="db.textdata"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>videodata</db:refname>
+ <db:refpurpose>Pointer to external video data</db:refpurpose>
+ <define name="db.videodata.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.videodata.align.enumeration">
+ <ref name="db.halign.enumeration"/>
+ </define>
+ <define name="db.videodata.align.attribute">
+ <attribute name="align">
+ <db:refpurpose>Specifies the (horizontal) alignment of the video data</db:refpurpose>
+ <ref name="db.videodata.align.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.videodata.valign.enumeration">
+ <ref name="db.valign.enumeration"/>
+ </define>
+ <define name="db.videodata.valign.attribute">
+ <attribute name="valign">
+ <db:refpurpose>Specifies the vertical alignment of the video data</db:refpurpose>
+ <ref name="db.videodata.valign.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.videodata.width.attribute">
+ <ref name="db.width.attribute"/>
+ </define>
+ <define name="db.videodata.depth.attribute">
+ <ref name="db.depth.attribute"/>
+ </define>
+ <define name="db.videodata.contentwidth.attribute">
+ <ref name="db.contentwidth.attribute"/>
+ </define>
+ <define name="db.videodata.contentdepth.attribute">
+ <ref name="db.contentdepth.attribute"/>
+ </define>
+ <define name="db.videodata.scalefit.enumeration">
+ <ref name="db.scalefit.enumeration"/>
+ </define>
+ <define name="db.videodata.scalefit.attribute">
+ <attribute name="scalefit">
+ <db:refpurpose>Determines if anamorphic scaling is forbidden</db:refpurpose>
+ <ref name="db.videodata.scalefit.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.videodata.scale.attribute">
+ <ref name="db.scale.attribute"/>
+ </define>
+ <define name="db.videodata.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.videodata.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.data.attributes"/>
+ <optional>
+ <ref name="db.videodata.align.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.videodata.valign.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.videodata.width.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.videodata.contentwidth.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.videodata.scalefit.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.videodata.scale.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.videodata.depth.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.videodata.contentdepth.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.videodata.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.videodata">
+ <element name="videodata">
+ <ref name="db.videodata.attlist"/>
+ <ref name="db.videodata.info"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>audiodata</db:refname>
+ <db:refpurpose>Pointer to external audio data</db:refpurpose>
+ <define name="db.audiodata.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.audiodata.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.audiodata.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.data.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.audiodata.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.audiodata">
+ <element name="audiodata">
+ <ref name="db.audiodata.attlist"/>
+ <ref name="db.audiodata.info"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>imagedata</db:refname>
+ <db:refpurpose>Pointer to external image data</db:refpurpose>
+ <define name="db.imagedata.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.imagedata.align.enumeration">
+ <ref name="db.halign.enumeration"/>
+ </define>
+ <define name="db.imagedata.align.attribute">
+ <attribute name="align">
+ <db:refpurpose>Specifies the (horizontal) alignment of the image data</db:refpurpose>
+ <ref name="db.imagedata.align.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.imagedata.valign.enumeration">
+ <ref name="db.valign.enumeration"/>
+ </define>
+ <define name="db.imagedata.valign.attribute">
+ <attribute name="valign">
+ <db:refpurpose>Specifies the vertical alignment of the image data</db:refpurpose>
+ <ref name="db.imagedata.valign.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.imagedata.width.attribute">
+ <ref name="db.width.attribute"/>
+ </define>
+ <define name="db.imagedata.depth.attribute">
+ <ref name="db.depth.attribute"/>
+ </define>
+ <define name="db.imagedata.contentwidth.attribute">
+ <ref name="db.contentwidth.attribute"/>
+ </define>
+ <define name="db.imagedata.contentdepth.attribute">
+ <ref name="db.contentdepth.attribute"/>
+ </define>
+ <define name="db.imagedata.scalefit.enumeration">
+ <ref name="db.scalefit.enumeration"/>
+ </define>
+ <define name="db.imagedata.scalefit.attribute">
+ <attribute name="scalefit">
+ <db:refpurpose>Determines if anamorphic scaling is forbidden</db:refpurpose>
+ <ref name="db.imagedata.scalefit.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.imagedata.scale.attribute">
+ <ref name="db.scale.attribute"/>
+ </define>
+ <define name="db.imagedata.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.imagedata.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.data.attributes"/>
+ <optional>
+ <ref name="db.imagedata.align.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.valign.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.width.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.contentwidth.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.scalefit.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.scale.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.depth.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.contentdepth.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.imagedata.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.imagedata">
+ <element name="imagedata">
+ <ref name="db.imagedata.attlist"/>
+ <ref name="db.imagedata.info"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>textdata</db:refname>
+ <db:refpurpose>Pointer to external text data</db:refpurpose>
+ <define name="db.textdata.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.textdata.encoding.attribute">
+ <attribute name="encoding">
+ <db:refpurpose>Identifies the encoding of the text in the external file</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.textdata.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.textdata.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.data.attributes"/>
+ <optional>
+ <ref name="db.textdata.encoding.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.textdata.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.textdata">
+ <element name="textdata">
+ <ref name="db.textdata.attlist"/>
+ <ref name="db.textdata.info"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>caption</db:refname>
+ <db:refpurpose>A caption</db:refpurpose>
+ <ctrl:exclude from="db.caption" exclude="db.formal.blocks"/>
+ <ctrl:exclude from="db.caption" exclude="db.sidebar"/>
+ <ctrl:exclude from="db.caption" exclude="db.task"/>
+ <define name="db.caption.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.caption.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.caption.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.caption.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.caption">
+ <element name="caption">
+ <ref name="db.caption.attlist"/>
+ <ref name="db.caption.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>address</db:refname>
+ <db:refpurpose>A real-world address, generally a postal address</db:refpurpose>
+ <define name="db.address.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.address.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.address.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.verbatim.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.address">
+ <element name="address">
+ <ref name="db.address.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.personname"/>
+ <ref name="db.orgname"/>
+ <ref name="db.pob"/>
+ <ref name="db.street"/>
+ <ref name="db.city"/>
+ <ref name="db.state"/>
+ <ref name="db.postcode"/>
+ <ref name="db.country"/>
+ <ref name="db.phone"/>
+ <ref name="db.fax"/>
+ <ref name="db.email"/>
+ <ref name="db.uri"/>
+ <ref name="db.otheraddr"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>street</db:refname>
+ <db:refpurpose>A street address in an address</db:refpurpose>
+ <define name="db.street.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.street.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.street.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.street">
+ <element name="street">
+ <ref name="db.street.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>pob</db:refname>
+ <db:refpurpose>A post office box in an address</db:refpurpose>
+ <define name="db.pob.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.pob.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.pob.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.pob">
+ <element name="pob">
+ <ref name="db.pob.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>postcode</db:refname>
+ <db:refpurpose>A postal code in an address</db:refpurpose>
+ <define name="db.postcode.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.postcode.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.postcode.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.postcode">
+ <element name="postcode">
+ <ref name="db.postcode.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>city</db:refname>
+ <db:refpurpose>The name of a city in an address</db:refpurpose>
+ <define name="db.city.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.city.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.city.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.city">
+ <element name="city">
+ <ref name="db.city.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>state</db:refname>
+ <db:refpurpose>A state or province in an address</db:refpurpose>
+ <define name="db.state.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.state.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.state.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.state">
+ <element name="state">
+ <ref name="db.state.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>country</db:refname>
+ <db:refpurpose>The name of a country</db:refpurpose>
+ <define name="db.country.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.country.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.country.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.country">
+ <element name="country">
+ <ref name="db.country.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>phone</db:refname>
+ <db:refpurpose>A telephone number</db:refpurpose>
+ <define name="db.phone.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.phone.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.phone.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.phone">
+ <element name="phone">
+ <ref name="db.phone.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>fax</db:refname>
+ <db:refpurpose>A fax number</db:refpurpose>
+ <define name="db.fax.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.fax.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.fax.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.fax">
+ <element name="fax">
+ <ref name="db.fax.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>otheraddr</db:refname>
+ <db:refpurpose>Uncategorized information in address</db:refpurpose>
+ <define name="db.otheraddr.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.otheraddr.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.otheraddr.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.otheraddr">
+ <element name="otheraddr">
+ <ref name="db.otheraddr.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>affiliation</db:refname>
+ <db:refpurpose>The institutional affiliation of an individual</db:refpurpose>
+ <define name="db.affiliation.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.affiliation.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.affiliation.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.affiliation">
+ <element name="affiliation">
+ <ref name="db.affiliation.attlist"/>
+ <optional>
+ <ref name="db.shortaffil"/>
+ </optional>
+ <zeroOrMore>
+ <ref name="db.jobtitle"/>
+ </zeroOrMore>
+ <choice>
+ <optional>
+ <ref name="db.org"/>
+ </optional>
+ <group>
+ <optional>
+ <ref name="db.orgname"/>
+ </optional>
+ <zeroOrMore>
+ <ref name="db.orgdiv"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.address"/>
+ </zeroOrMore>
+ </group>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>shortaffil</db:refname>
+ <db:refpurpose>A brief description of an affiliation</db:refpurpose>
+ <define name="db.shortaffil.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.shortaffil.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.shortaffil.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.shortaffil">
+ <element name="shortaffil">
+ <ref name="db.shortaffil.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>jobtitle</db:refname>
+ <db:refpurpose>The title of an individual in an organization</db:refpurpose>
+ <define name="db.jobtitle.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.jobtitle.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.jobtitle.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.jobtitle">
+ <element name="jobtitle">
+ <ref name="db.jobtitle.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>orgname</db:refname>
+ <db:refpurpose>The name of an organization</db:refpurpose>
+ <ctrl:other-attribute name="db.orgname.class.attrib" enum-name="db.orgname.class-enum.attribute" other-name="db.orgname.class-other.attributes"/>
+ <define name="db.orgname.class.enumeration">
+ <choice>
+ <value>consortium</value>
+ <a:documentation>A consortium</a:documentation>
+ <value>corporation</value>
+ <a:documentation>A corporation</a:documentation>
+ <value>informal</value>
+ <a:documentation>An informal organization</a:documentation>
+ <value>nonprofit</value>
+ <a:documentation>A non-profit organization</a:documentation>
+ </choice>
+ </define>
+ <define name="db.orgname.class-enum.attribute">
+ <attribute name="class">
+ <db:refpurpose>Specifies the nature of the organization</db:refpurpose>
+ <ref name="db.orgname.class.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.orgname.class-other.attributes">
+ <attribute name="class">
+ <db:refpurpose>Specifies the nature of the organization</db:refpurpose>
+ <value>other</value>
+ <a:documentation>Indicates a non-standard organization class</a:documentation>
+ </attribute>
+ <attribute name="otherclass">
+ <db:refpurpose>Identifies the non-standard nature of the organization</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.orgname.class.attribute">
+ <choice>
+ <ref name="db.orgname.class-enum.attribute"/>
+ <ref name="db.orgname.class-other.attributes"/>
+ </choice>
+ </define>
+ <define name="db.orgname.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.orgname.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.orgname.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.orgname.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.orgname">
+ <element name="orgname">
+ <ref name="db.orgname.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>orgdiv</db:refname>
+ <db:refpurpose>A division of an organization</db:refpurpose>
+ <define name="db.orgdiv.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.orgdiv.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.orgdiv.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.orgdiv">
+ <element name="orgdiv">
+ <ref name="db.orgdiv.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>artpagenums</db:refname>
+ <db:refpurpose>The page numbers of an article as published</db:refpurpose>
+ <define name="db.artpagenums.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.artpagenums.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.artpagenums.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.artpagenums">
+ <element name="artpagenums">
+ <ref name="db.artpagenums.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>personname</db:refname>
+ <db:refpurpose>The personal name of an individual</db:refpurpose>
+ <define name="db.personname.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.personname.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.personname.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.personname">
+ <element name="personname">
+ <ref name="db.personname.attlist"/>
+ <choice>
+ <ref name="db._text"/>
+ <oneOrMore>
+ <choice>
+ <ref name="db.honorific"/>
+ <ref name="db.firstname"/>
+ <ref name="db.surname"/>
+ <ref name="db.lineage"/>
+ <ref name="db.othername"/>
+ </choice>
+ </oneOrMore>
+ <oneOrMore>
+ <choice>
+ <ref name="db.honorific"/>
+ <ref name="db.givenname"/>
+ <ref name="db.surname"/>
+ <ref name="db.lineage"/>
+ <ref name="db.othername"/>
+ </choice>
+ </oneOrMore>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.person.author.contentmodel">
+ <ref name="db.personname"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.personblurb"/>
+ <ref name="db.affiliation"/>
+ <ref name="db.email"/>
+ <ref name="db.uri"/>
+ <ref name="db.address"/>
+ <ref name="db.contrib"/>
+ </choice>
+ </zeroOrMore>
+ </define>
+ <define name="db.org.author.contentmodel">
+ <ref name="db.orgname"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.orgdiv"/>
+ <ref name="db.affiliation"/>
+ <ref name="db.email"/>
+ <ref name="db.uri"/>
+ <ref name="db.address"/>
+ <ref name="db.contrib"/>
+ </choice>
+ </zeroOrMore>
+ </define>
+ <define name="db.credit.contentmodel">
+ <choice>
+ <ref name="db.person.author.contentmodel"/>
+ <ref name="db.org.author.contentmodel"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>author</db:refname>
+ <db:refpurpose>The name of an individual author</db:refpurpose>
+ <define name="db.author.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.author.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.author.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.author">
+ <element name="author">
+ <ref name="db.author.attlist"/>
+ <ref name="db.credit.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>authorgroup</db:refname>
+ <db:refpurpose>Wrapper for author information when a document has multiple authors or collaborators</db:refpurpose>
+ <define name="db.authorgroup.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.authorgroup.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.authorgroup.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.authorgroup">
+ <element name="authorgroup">
+ <ref name="db.authorgroup.attlist"/>
+ <oneOrMore>
+ <choice>
+ <ref name="db.author"/>
+ <ref name="db.editor"/>
+ <ref name="db.othercredit"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>collab</db:refname>
+ <db:refpurpose>Identifies a collaborator</db:refpurpose>
+ <define name="db.collab.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.collab.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.collab.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.collab">
+ <element name="collab">
+ <ref name="db.collab.attlist"/>
+ <oneOrMore>
+ <choice>
+ <ref name="db.person"/>
+ <ref name="db.personname"/>
+ <ref name="db.org"/>
+ <ref name="db.orgname"/>
+ </choice>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="db.affiliation"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>authorinitials</db:refname>
+ <db:refpurpose>The initials or other short identifier for an author</db:refpurpose>
+ <define name="db.authorinitials.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.authorinitials.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.authorinitials.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.authorinitials">
+ <element name="authorinitials">
+ <ref name="db.authorinitials.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>person</db:refname>
+ <db:refpurpose>A person and associated metadata</db:refpurpose>
+ <define name="db.person.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.person.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.person.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.person">
+ <element name="person">
+ <ref name="db.person.attlist"/>
+ <ref name="db.personname"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.address"/>
+ <ref name="db.affiliation"/>
+ <ref name="db.email"/>
+ <ref name="db.uri"/>
+ <ref name="db.personblurb"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>org</db:refname>
+ <db:refpurpose>An organization and associated metadata</db:refpurpose>
+ <define name="db.org.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.org.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.org.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.org">
+ <element name="org">
+ <ref name="db.org.attlist"/>
+ <ref name="db.orgname"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.address"/>
+ <ref name="db.affiliation"/>
+ <ref name="db.email"/>
+ <ref name="db.uri"/>
+ <ref name="db.orgdiv"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>confgroup</db:refname>
+ <db:refpurpose>A wrapper for document meta-information about a conference</db:refpurpose>
+ <define name="db.confgroup.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.confgroup.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.confgroup.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.confgroup">
+ <element name="confgroup">
+ <ref name="db.confgroup.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.confdates"/>
+ <ref name="db.conftitle"/>
+ <ref name="db.confnum"/>
+ <ref name="db.confsponsor"/>
+ <ref name="db.address"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>confdates</db:refname>
+ <db:refpurpose>The dates of a conference for which a document was written</db:refpurpose>
+ <define name="db.confdates.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.confdates.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.confdates.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.confdates">
+ <element name="confdates">
+ <ref name="db.confdates.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>conftitle</db:refname>
+ <db:refpurpose>The title of a conference for which a document was written</db:refpurpose>
+ <define name="db.conftitle.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.conftitle.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.conftitle.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.conftitle">
+ <element name="conftitle">
+ <ref name="db.conftitle.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>confnum</db:refname>
+ <db:refpurpose>An identifier, frequently numerical, associated with a conference for which a document was written</db:refpurpose>
+ <define name="db.confnum.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.confnum.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.confnum.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.confnum">
+ <element name="confnum">
+ <ref name="db.confnum.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>confsponsor</db:refname>
+ <db:refpurpose>The sponsor of a conference for which a document was written</db:refpurpose>
+ <define name="db.confsponsor.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.confsponsor.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.confsponsor.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.confsponsor">
+ <element name="confsponsor">
+ <ref name="db.confsponsor.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>contractnum</db:refname>
+ <db:refpurpose>The contract number of a document</db:refpurpose>
+ <define name="db.contractnum.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.contractnum.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.contractnum.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.contractnum">
+ <element name="contractnum">
+ <ref name="db.contractnum.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>contractsponsor</db:refname>
+ <db:refpurpose>The sponsor of a contract</db:refpurpose>
+ <define name="db.contractsponsor.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.contractsponsor.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.contractsponsor.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.contractsponsor">
+ <element name="contractsponsor">
+ <ref name="db.contractsponsor.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>copyright</db:refname>
+ <db:refpurpose>Copyright information about a document</db:refpurpose>
+ <define name="db.copyright.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.copyright.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.copyright.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.copyright">
+ <element name="copyright">
+ <ref name="db.copyright.attlist"/>
+ <oneOrMore>
+ <ref name="db.year"/>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="db.holder"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>year</db:refname>
+ <db:refpurpose>The year of publication of a document</db:refpurpose>
+ <define name="db.year.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.year.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.year.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.year">
+ <element name="year">
+ <ref name="db.year.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>holder</db:refname>
+ <db:refpurpose>The name of the individual or organization that holds a copyright</db:refpurpose>
+ <define name="db.holder.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.holder.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.holder.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.holder">
+ <element name="holder">
+ <ref name="db.holder.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.cover.contentmodel">
+ <choice>
+ <ref name="db.para.blocks"/>
+ <ref name="db.extension.blocks"/>
+ <ref name="db.list.blocks"/>
+ <ref name="db.informal.blocks"/>
+ <ref name="db.publishing.blocks"/>
+ <ref name="db.graphic.blocks"/>
+ <ref name="db.technical.blocks"/>
+ <ref name="db.verbatim.blocks"/>
+ <ref name="db.bridgehead"/>
+ <ref name="db.remark"/>
+ <ref name="db.revhistory"/>
+ </choice>
+ </define>
+ <div>
+ <db:refname>cover</db:refname>
+ <db:refpurpose>Additional content for the cover of a publication</db:refpurpose>
+ <define name="db.cover.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.cover.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.cover.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.cover">
+ <element name="cover">
+ <ref name="db.cover.attlist"/>
+ <oneOrMore>
+ <ref name="db.cover.contentmodel"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.date.contentmodel">
+ <choice>
+ <data type="date"/>
+ <data type="dateTime"/>
+ <data type="gYearMonth"/>
+ <data type="gYear"/>
+ <text/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>date</db:refname>
+ <db:refpurpose>The date of publication or revision of a document</db:refpurpose>
+ <define name="db.date.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.date.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.date.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.date">
+ <element name="date">
+ <ref name="db.date.attlist"/>
+ <ref name="db.date.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>edition</db:refname>
+ <db:refpurpose>The name or number of an edition of a document</db:refpurpose>
+ <define name="db.edition.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.edition.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.edition.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.edition">
+ <element name="edition">
+ <ref name="db.edition.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>editor</db:refname>
+ <db:refpurpose>The name of the editor of a document</db:refpurpose>
+ <define name="db.editor.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.editor.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.editor.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.editor">
+ <element name="editor">
+ <ref name="db.editor.attlist"/>
+ <ref name="db.credit.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>biblioid</db:refname>
+ <db:refpurpose>An identifier for a document</db:refpurpose>
+ <define name="db.biblioid.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.biblioid.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.biblioid.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.biblio.class.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.biblioid">
+ <element name="biblioid">
+ <ref name="db.biblioid.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>citebiblioid</db:refname>
+ <db:refpurpose>A citation of a bibliographic identifier</db:refpurpose>
+ <define name="db.citebiblioid.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.citebiblioid.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.citebiblioid.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.biblio.class.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.citebiblioid">
+ <element name="citebiblioid">
+ <ref name="db.citebiblioid.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>bibliosource</db:refname>
+ <db:refpurpose>The source of a document</db:refpurpose>
+ <define name="db.bibliosource.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.bibliosource.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.bibliosource.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.biblio.class.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.bibliosource">
+ <element name="bibliosource">
+ <ref name="db.bibliosource.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>bibliorelation</db:refname>
+ <db:refpurpose>The relationship of a document to another</db:refpurpose>
+ <ctrl:other-attribute name="db.bibliorelation.type.attrib" enum-name="db.bibliorelation.type-enum.attribute" other-name="db.bibliorelation.type-other.attributes"/>
+ <define name="db.bibliorelation.type.enumeration">
+ <choice>
+ <value>hasformat</value>
+ <a:documentation>The described resource pre-existed the referenced resource, which is essentially the same intellectual content presented in another format</a:documentation>
+ <value>haspart</value>
+ <a:documentation>The described resource includes the referenced resource either physically or logically</a:documentation>
+ <value>hasversion</value>
+ <a:documentation>The described resource has a version, edition, or adaptation, namely, the referenced resource</a:documentation>
+ <value>isformatof</value>
+ <a:documentation>The described resource is the same intellectual content of the referenced resource, but presented in another format</a:documentation>
+ <value>ispartof</value>
+ <a:documentation>The described resource is a physical or logical part of the referenced resource</a:documentation>
+ <value>isreferencedby</value>
+ <a:documentation>The described resource is referenced, cited, or otherwise pointed to by the referenced resource</a:documentation>
+ <value>isreplacedby</value>
+ <a:documentation>The described resource is supplanted, displaced, or superceded by the referenced resource</a:documentation>
+ <value>isrequiredby</value>
+ <a:documentation>The described resource is required by the referenced resource, either physically or logically</a:documentation>
+ <value>isversionof</value>
+ <a:documentation>The described resource is a version, edition, or adaptation of the referenced resource; changes in version imply substantive changes in content rather than differences in format</a:documentation>
+ <value>references</value>
+ <a:documentation>The described resource references, cites, or otherwise points to the referenced resource</a:documentation>
+ <value>replaces</value>
+ <a:documentation>The described resource supplants, displaces, or supersedes the referenced resource</a:documentation>
+ <value>requires</value>
+ <a:documentation>The described resource requires the referenced resource to support its function, delivery, or coherence of content</a:documentation>
+ </choice>
+ </define>
+ <define name="db.bibliorelation.type-enum.attribute">
+ <optional>
+ <attribute name="type">
+ <db:refpurpose>Identifies the type of relationship</db:refpurpose>
+ <ref name="db.bibliorelation.type.enumeration"/>
+ </attribute>
+ </optional>
+ </define>
+ <define name="db.bibliorelation.type-other.attributes">
+ <optional>
+ <attribute name="type">
+ <db:refpurpose>Identifies the type of relationship</db:refpurpose>
+ <value>othertype</value>
+ <a:documentation>The described resource has a non-standard relationship with the referenced resource</a:documentation>
+ </attribute>
+ </optional>
+ <attribute name="othertype">
+ <db:refpurpose>A keyword that identififes the type of the non-standard relationship</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <define name="db.bibliorelation.type.attribute">
+ <choice>
+ <ref name="db.bibliorelation.type-enum.attribute"/>
+ <ref name="db.bibliorelation.type-other.attributes"/>
+ </choice>
+ </define>
+ <define name="db.bibliorelation.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.bibliorelation.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.bibliorelation.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.biblio.class.attribute"/>
+ <ref name="db.bibliorelation.type.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.bibliorelation">
+ <element name="bibliorelation">
+ <ref name="db.bibliorelation.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>bibliocoverage</db:refname>
+ <db:refpurpose>The spatial or temporal coverage of a document</db:refpurpose>
+ <ctrl:other-attribute name="db.bibliocoverage.spatial.attrib" enum-name="db.bibliocoverage.spatial-enum.attribute" other-name="db.bibliocoverage.spatial-other.attributes"/>
+ <define name="db.bibliocoverage.spacial.enumeration">
+ <choice>
+ <value>dcmipoint</value>
+ <a:documentation>The DCMI Point identifies a point in space using its geographic coordinates</a:documentation>
+ <value>iso3166</value>
+ <a:documentation>ISO 3166 Codes for the representation of names of countries</a:documentation>
+ <value>dcmibox</value>
+ <a:documentation>The DCMI Box identifies a region of space using its geographic limits</a:documentation>
+ <value>tgn</value>
+ <a:documentation>The Getty Thesaurus of Geographic Names</a:documentation>
+ </choice>
+ </define>
+ <define name="db.bibliocoverage.spatial-enum.attribute">
+ <optional>
+ <attribute name="spatial">
+ <db:refpurpose>Specifies the type of spatial coverage</db:refpurpose>
+ <ref name="db.bibliocoverage.spacial.enumeration"/>
+ </attribute>
+ </optional>
+ </define>
+ <define name="db.bibliocoverage.spatial-other.attributes">
+ <optional>
+ <attribute name="spatial">
+ <db:refpurpose>Specifies the type of spatial coverage</db:refpurpose>
+ <value>otherspatial</value>
+ <a:documentation>Identifies a non-standard type of coverage</a:documentation>
+ </attribute>
+ </optional>
+ <attribute name="otherspatial">
+ <db:refpurpose>A keyword that identifies the type of non-standard coverage</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <define name="db.bibliocoverage.spatial.attribute">
+ <choice>
+ <ref name="db.bibliocoverage.spatial-enum.attribute"/>
+ <ref name="db.bibliocoverage.spatial-other.attributes"/>
+ </choice>
+ </define>
+ <ctrl:other-attribute name="db.bibliocoverage.temporal.attrib" enum-name="db.bibliocoverage.temporal-enum.attribute" other-name="db.bibliocoverage.temporal-other.attributes"/>
+ <define name="db.bibliocoverage.temporal.enumeration">
+ <choice>
+ <value>dcmiperiod</value>
+ <a:documentation>A specification of the limits of a time interval</a:documentation>
+ <value>w3c-dtf</value>
+ <a:documentation>W3C Encoding rules for dates and times—a profile based on ISO 8601</a:documentation>
+ </choice>
+ </define>
+ <define name="db.bibliocoverage.temporal-enum.attribute">
+ <optional>
+ <attribute name="temporal">
+ <db:refpurpose>Specifies the type of temporal coverage</db:refpurpose>
+ <ref name="db.bibliocoverage.temporal.enumeration"/>
+ </attribute>
+ </optional>
+ </define>
+ <define name="db.bibliocoverage.temporal-other.attributes">
+ <optional>
+ <attribute name="temporal">
+ <db:refpurpose>Specifies the type of temporal coverage</db:refpurpose>
+ <value>othertemporal</value>
+ <a:documentation>Specifies a non-standard type of coverage</a:documentation>
+ </attribute>
+ </optional>
+ <attribute name="othertemporal">
+ <db:refpurpose>A keyword that identifies the type of non-standard coverage</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <define name="db.bibliocoverage.temporal.attribute">
+ <choice>
+ <ref name="db.bibliocoverage.temporal-enum.attribute"/>
+ <ref name="db.bibliocoverage.temporal-other.attributes"/>
+ </choice>
+ </define>
+ <define name="db.bibliocoverage.coverage.attrib">
+ <interleave>
+ <ref name="db.bibliocoverage.spatial.attribute"/>
+ <ref name="db.bibliocoverage.temporal.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.bibliocoverage.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.bibliocoverage.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.bibliocoverage.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.bibliocoverage.coverage.attrib"/>
+ </interleave>
+ </define>
+ <define name="db.bibliocoverage">
+ <element name="bibliocoverage">
+ <ref name="db.bibliocoverage.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>legalnotice</db:refname>
+ <db:refpurpose>A statement of legal obligations or requirements</db:refpurpose>
+ <define name="db.legalnotice.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.legalnotice.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.legalnotice.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.legalnotice.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.legalnotice">
+ <element name="legalnotice">
+ <ref name="db.legalnotice.attlist"/>
+ <ref name="db.legalnotice.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>othercredit</db:refname>
+ <db:refpurpose>A person or entity, other than an author or editor, credited in a document</db:refpurpose>
+ <ctrl:other-attribute name="db.othercredit.class.attribute" enum-name="db.othercredit.class-enum.attribute" other-name="db.othercredit.class-other.attributes"/>
+ <define name="db.othercredit.class.enumeration">
+ <choice>
+ <value>copyeditor</value>
+ <a:documentation>A copy editor</a:documentation>
+ <value>graphicdesigner</value>
+ <a:documentation>A graphic designer</a:documentation>
+ <value>other</value>
+ <a:documentation>Some other contributor</a:documentation>
+ <value>productioneditor</value>
+ <a:documentation>A production editor</a:documentation>
+ <value>technicaleditor</value>
+ <a:documentation>A technical editor</a:documentation>
+ <value>translator</value>
+ <a:documentation>A translator</a:documentation>
+ <value>indexer</value>
+ <a:documentation>An indexer</a:documentation>
+ <value>proofreader</value>
+ <a:documentation>A proof-reader</a:documentation>
+ <value>coverdesigner</value>
+ <a:documentation>A cover designer</a:documentation>
+ <value>interiordesigner</value>
+ <a:documentation>An interior designer</a:documentation>
+ <value>illustrator</value>
+ <a:documentation>An illustrator</a:documentation>
+ <value>reviewer</value>
+ <a:documentation>A reviewer</a:documentation>
+ <value>typesetter</value>
+ <a:documentation>A typesetter</a:documentation>
+ <value>conversion</value>
+ <a:documentation>A converter (a persons responsible for conversion, not an application)</a:documentation>
+ </choice>
+ </define>
+ <define name="db.othercredit.class-enum.attribute">
+ <optional>
+ <attribute name="class">
+ <db:refpurpose>Identifies the nature of the contributor</db:refpurpose>
+ <ref name="db.othercredit.class.enumeration"/>
+ </attribute>
+ </optional>
+ </define>
+ <define name="db.othercredit.class-other.attribute">
+ <attribute name="otherclass">
+ <db:refpurpose>Identifies the nature of the non-standard contribution</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <define name="db.othercredit.class-other.attributes">
+ <interleave>
+ <attribute name="class">
+ <db:refpurpose>Identifies the nature of the contributor</db:refpurpose>
+ <value>other</value>
+ <a:documentation>Identifies a non-standard contribution</a:documentation>
+ </attribute>
+ <ref name="db.othercredit.class-other.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.othercredit.class.attribute">
+ <choice>
+ <ref name="db.othercredit.class-enum.attribute"/>
+ <ref name="db.othercredit.class-other.attributes"/>
+ </choice>
+ </define>
+ <define name="db.othercredit.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.othercredit.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.othercredit.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.othercredit.class.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.othercredit">
+ <element name="othercredit">
+ <ref name="db.othercredit.attlist"/>
+ <ref name="db.credit.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>pagenums</db:refname>
+ <db:refpurpose>The numbers of the pages in a book, for use in a bibliographic entry</db:refpurpose>
+ <define name="db.pagenums.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.pagenums.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.pagenums.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.pagenums">
+ <element name="pagenums">
+ <ref name="db.pagenums.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>contrib</db:refname>
+ <db:refpurpose>A summary of the contributions made to a document by a credited source</db:refpurpose>
+ <define name="db.contrib.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.contrib.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.contrib.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.contrib">
+ <element name="contrib">
+ <ref name="db.contrib.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>honorific</db:refname>
+ <db:refpurpose>The title of a person</db:refpurpose>
+ <define name="db.honorific.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.honorific.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.honorific.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.honorific">
+ <element name="honorific">
+ <ref name="db.honorific.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>firstname</db:refname>
+ <db:refpurpose>A given name of a person</db:refpurpose>
+ <define name="db.firstname.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.firstname.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.firstname.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.firstname">
+ <element name="firstname">
+ <ref name="db.firstname.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>givenname</db:refname>
+ <db:refpurpose>The given name of a person</db:refpurpose>
+ <define name="db.givenname.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.givenname.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.givenname.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.givenname">
+ <element name="givenname">
+ <ref name="db.givenname.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>surname</db:refname>
+ <db:refpurpose>An inherited or family name; in western cultures the last name</db:refpurpose>
+ <define name="db.surname.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.surname.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.surname.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.surname">
+ <element name="surname">
+ <ref name="db.surname.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>lineage</db:refname>
+ <db:refpurpose>The portion of a person's name indicating a relationship to ancestors</db:refpurpose>
+ <define name="db.lineage.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.lineage.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.lineage.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.lineage">
+ <element name="lineage">
+ <ref name="db.lineage.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>othername</db:refname>
+ <db:refpurpose>A component of a person's name that is not a first name, surname, or lineage</db:refpurpose>
+ <define name="db.othername.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.othername.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.othername.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.othername">
+ <element name="othername">
+ <ref name="db.othername.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>printhistory</db:refname>
+ <db:refpurpose>The printing history of a document</db:refpurpose>
+ <define name="db.printhistory.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.printhistory.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.printhistory.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.printhistory">
+ <element name="printhistory">
+ <ref name="db.printhistory.attlist"/>
+ <oneOrMore>
+ <ref name="db.para.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>pubdate</db:refname>
+ <db:refpurpose>The date of publication of a document</db:refpurpose>
+ <define name="db.pubdate.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.pubdate.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.pubdate.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.pubdate">
+ <element name="pubdate">
+ <ref name="db.pubdate.attlist"/>
+ <ref name="db.date.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>publisher</db:refname>
+ <db:refpurpose>The publisher of a document</db:refpurpose>
+ <define name="db.publisher.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.publisher.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.publisher.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.publisher">
+ <element name="publisher">
+ <ref name="db.publisher.attlist"/>
+ <ref name="db.publishername"/>
+ <zeroOrMore>
+ <ref name="db.address"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>publishername</db:refname>
+ <db:refpurpose>The name of the publisher of a document</db:refpurpose>
+ <define name="db.publishername.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.publishername.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.publishername.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.publishername">
+ <element name="publishername">
+ <ref name="db.publishername.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>releaseinfo</db:refname>
+ <db:refpurpose>Information about a particular release of a document</db:refpurpose>
+ <define name="db.releaseinfo.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.releaseinfo.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.releaseinfo.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.releaseinfo">
+ <element name="releaseinfo">
+ <ref name="db.releaseinfo.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>revhistory</db:refname>
+ <db:refpurpose>A history of the revisions to a document</db:refpurpose>
+ <define name="db.revhistory.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.revhistory.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.revhistory.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.revhistory.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.revhistory">
+ <element name="revhistory">
+ <ref name="db.revhistory.attlist"/>
+ <ref name="db.revhistory.info"/>
+ <oneOrMore>
+ <ref name="db.revision"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>revision</db:refname>
+ <db:refpurpose>An entry describing a single revision in the history of the revisions to a document</db:refpurpose>
+ <define name="db.revision.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.revision.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.revision.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.revision">
+ <element name="revision">
+ <ref name="db.revision.attlist"/>
+ <optional>
+ <ref name="db.revnumber"/>
+ </optional>
+ <ref name="db.date"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.authorinitials"/>
+ <ref name="db.author"/>
+ </choice>
+ </zeroOrMore>
+ <optional>
+ <choice>
+ <ref name="db.revremark"/>
+ <ref name="db.revdescription"/>
+ </choice>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>revnumber</db:refname>
+ <db:refpurpose>A document revision number</db:refpurpose>
+ <define name="db.revnumber.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.revnumber.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.revnumber.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.revnumber">
+ <element name="revnumber">
+ <ref name="db.revnumber.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>revremark</db:refname>
+ <db:refpurpose>A description of a revision to a document</db:refpurpose>
+ <define name="db.revremark.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.revremark.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.revremark.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.revremark">
+ <element name="revremark">
+ <ref name="db.revremark.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>revdescription</db:refname>
+ <db:refpurpose>A extended description of a revision to a document</db:refpurpose>
+ <define name="db.revdescription.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.revdescription.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.revdescription.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.revdescription">
+ <element name="revdescription">
+ <ref name="db.revdescription.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>seriesvolnums</db:refname>
+ <db:refpurpose>Numbers of the volumes in a series of books</db:refpurpose>
+ <define name="db.seriesvolnums.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.seriesvolnums.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.seriesvolnums.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.seriesvolnums">
+ <element name="seriesvolnums">
+ <ref name="db.seriesvolnums.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>volumenum</db:refname>
+ <db:refpurpose>The volume number of a document in a set (as of books in a set or articles in a journal)</db:refpurpose>
+ <define name="db.volumenum.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.volumenum.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.volumenum.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.volumenum">
+ <element name="volumenum">
+ <ref name="db.volumenum.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>issuenum</db:refname>
+ <db:refpurpose>The number of an issue of a journal</db:refpurpose>
+ <define name="db.issuenum.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.issuenum.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.issuenum.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.issuenum">
+ <element name="issuenum">
+ <ref name="db.issuenum.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>package</db:refname>
+ <db:refpurpose>A software or application package</db:refpurpose>
+ <define name="db.package.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.package.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.package.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.package">
+ <element name="package">
+ <ref name="db.package.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>email</db:refname>
+ <db:refpurpose>An email address</db:refpurpose>
+ <define name="db.email.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.email.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.email.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.email">
+ <element name="email">
+ <ref name="db.email.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>lineannotation</db:refname>
+ <db:refpurpose>A comment on a line in a verbatim listing</db:refpurpose>
+ <define name="db.lineannotation.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.lineannotation.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.lineannotation.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.lineannotation">
+ <element name="lineannotation">
+ <ref name="db.lineannotation.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>parameter</db:refname>
+ <db:refpurpose>A value or a symbolic reference to a value</db:refpurpose>
+ <define name="db.parameter.class.enumeration">
+ <choice>
+ <value>command</value>
+ <a:documentation>A command</a:documentation>
+ <value>function</value>
+ <a:documentation>A function</a:documentation>
+ <value>option</value>
+ <a:documentation>An option</a:documentation>
+ </choice>
+ </define>
+ <define name="db.parameter.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Identifies the class of parameter</db:refpurpose>
+ <ref name="db.parameter.class.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.parameter.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.parameter.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.parameter.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.parameter.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.parameter">
+ <element name="parameter">
+ <ref name="db.parameter.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.replaceable.inlines">
+ <ref name="db._text"/>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>replaceable</db:refname>
+ <db:refpurpose>Content that may or must be replaced by the user</db:refpurpose>
+ <define name="db.replaceable.class.enumeration">
+ <choice>
+ <value>command</value>
+ <a:documentation>A command</a:documentation>
+ <value>function</value>
+ <a:documentation>A function</a:documentation>
+ <value>option</value>
+ <a:documentation>An option</a:documentation>
+ <value>parameter</value>
+ <a:documentation>A parameter</a:documentation>
+ </choice>
+ </define>
+ <define name="db.replaceable.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Identifies the nature of the replaceable text</db:refpurpose>
+ <ref name="db.replaceable.class.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.replaceable.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.replaceable.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.replaceable.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.replaceable.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.replaceable">
+ <element name="replaceable">
+ <ref name="db.replaceable.attlist"/>
+ <zeroOrMore>
+ <ref name="db.replaceable.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>uri</db:refname>
+ <db:refpurpose>A Uniform Resource Identifier</db:refpurpose>
+ <define name="db.uri.type.attribute">
+ <optional>
+ <attribute name="type">
+ <db:refpurpose>Identifies the type of URI specified</db:refpurpose>
+ </attribute>
+ </optional>
+ </define>
+ <define name="db.uri.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.uri.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.uri.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.uri.type.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.uri">
+ <element name="uri">
+ <ref name="db.uri.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>abbrev</db:refname>
+ <db:refpurpose>An abbreviation, especially one followed by a period</db:refpurpose>
+ <define name="db.abbrev.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.abbrev.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.abbrev.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.abbrev">
+ <element name="abbrev">
+ <ref name="db.abbrev.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.superscript"/>
+ <ref name="db.subscript"/>
+ <ref name="db.trademark"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>acronym</db:refname>
+ <db:refpurpose>An often pronounceable word made from the initial (or selected) letters of a name or phrase</db:refpurpose>
+ <define name="db.acronym.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.acronym.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.acronym.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.acronym">
+ <element name="acronym">
+ <ref name="db.acronym.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.superscript"/>
+ <ref name="db.subscript"/>
+ <ref name="db.trademark"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>citation</db:refname>
+ <db:refpurpose>An inline bibliographic reference to another published work</db:refpurpose>
+ <define name="db.citation.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.citation.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.citation.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.citation">
+ <element name="citation">
+ <ref name="db.citation.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>citerefentry</db:refname>
+ <db:refpurpose>A citation to a reference page</db:refpurpose>
+ <define name="db.citerefentry.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.citerefentry.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.citerefentry.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.citerefentry">
+ <element name="citerefentry">
+ <ref name="db.citerefentry.attlist"/>
+ <ref name="db.refentrytitle"/>
+ <optional>
+ <ref name="db.manvolnum"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>refentrytitle</db:refname>
+ <db:refpurpose>The title of a reference page</db:refpurpose>
+ <define name="db.refentrytitle.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.refentrytitle.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.refentrytitle.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.refentrytitle">
+ <element name="refentrytitle">
+ <ref name="db.refentrytitle.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>manvolnum</db:refname>
+ <db:refpurpose>A reference volume number</db:refpurpose>
+ <define name="db.manvolnum.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.manvolnum.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.manvolnum.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.manvolnum">
+ <element name="manvolnum">
+ <ref name="db.manvolnum.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>citetitle</db:refname>
+ <db:refpurpose>The title of a cited work</db:refpurpose>
+ <define name="db.citetitle.pubwork.enumeration">
+ <choice>
+ <value>article</value>
+ <a:documentation>An article</a:documentation>
+ <value>bbs</value>
+ <a:documentation>A bulletin board system</a:documentation>
+ <value>book</value>
+ <a:documentation>A book</a:documentation>
+ <value>cdrom</value>
+ <a:documentation>A CD-ROM</a:documentation>
+ <value>chapter</value>
+ <a:documentation>A chapter (as of a book)</a:documentation>
+ <value>dvd</value>
+ <a:documentation>A DVD</a:documentation>
+ <value>emailmessage</value>
+ <a:documentation>An email message</a:documentation>
+ <value>gopher</value>
+ <a:documentation>A gopher page</a:documentation>
+ <value>journal</value>
+ <a:documentation>A journal</a:documentation>
+ <value>manuscript</value>
+ <a:documentation>A manuscript</a:documentation>
+ <value>newsposting</value>
+ <a:documentation>A posting to a newsgroup</a:documentation>
+ <value>part</value>
+ <a:documentation>A part (as of a book)</a:documentation>
+ <value>refentry</value>
+ <a:documentation>A reference entry</a:documentation>
+ <value>section</value>
+ <a:documentation>A section (as of a book or article)</a:documentation>
+ <value>series</value>
+ <a:documentation>A series</a:documentation>
+ <value>set</value>
+ <a:documentation>A set (as of books)</a:documentation>
+ <value>webpage</value>
+ <a:documentation>A web page</a:documentation>
+ <value>wiki</value>
+ <a:documentation>A wiki page</a:documentation>
+ </choice>
+ </define>
+ <define name="db.citetitle.pubwork.attribute">
+ <attribute name="pubwork">
+ <db:refpurpose>Identifies the nature of the publication being cited</db:refpurpose>
+ <ref name="db.citetitle.pubwork.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.citetitle.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.citetitle.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.citetitle.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.citetitle.pubwork.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.citetitle">
+ <element name="citetitle">
+ <ref name="db.citetitle.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>emphasis</db:refname>
+ <db:refpurpose>Emphasized text</db:refpurpose>
+ <define name="db.emphasis.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.emphasis.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.emphasis.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.emphasis">
+ <element name="emphasis">
+ <ref name="db.emphasis.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>emphasis</db:refname>
+ <db:refpurpose>A limited span of emphasized text</db:refpurpose>
+ <define name="db._emphasis">
+ <element name="emphasis">
+ <ref name="db.emphasis.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>foreignphrase</db:refname>
+ <db:refpurpose>A word or phrase in a language other than the primary language of the document</db:refpurpose>
+ <define name="db.foreignphrase.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.foreignphrase.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.foreignphrase.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.foreignphrase">
+ <element name="foreignphrase">
+ <ref name="db.foreignphrase.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <text/>
+ <ref name="db.general.inlines"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>foreignphrase</db:refname>
+ <db:refpurpose>A limited word or phrase in a language other than the primary language of the document</db:refpurpose>
+ <define name="db._foreignphrase.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db._foreignphrase.attlist">
+ <interleave>
+ <optional>
+ <ref name="db._foreignphrase.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db._foreignphrase">
+ <element name="foreignphrase">
+ <ref name="db._foreignphrase.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>phrase</db:refname>
+ <db:refpurpose>A span of text</db:refpurpose>
+ <define name="db.phrase.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.phrase.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.phrase.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.phrase">
+ <element name="phrase">
+ <ref name="db.phrase.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>phrase</db:refname>
+ <db:refpurpose>A limited span of text</db:refpurpose>
+ <define name="db._phrase">
+ <element name="phrase">
+ <ref name="db.phrase.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>quote</db:refname>
+ <db:refpurpose>An inline quotation</db:refpurpose>
+ <define name="db.quote.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.quote.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.quote.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.quote">
+ <element name="quote">
+ <ref name="db.quote.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>quote</db:refname>
+ <db:refpurpose>A limited inline quotation</db:refpurpose>
+ <define name="db._quote.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db._quote.attlist">
+ <interleave>
+ <optional>
+ <ref name="db._quote.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db._quote">
+ <element name="quote">
+ <ref name="db._quote.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>subscript</db:refname>
+ <db:refpurpose>A subscript (as in H<db:subscript>2</db:subscript>
+O, the molecular formula for water)</db:refpurpose>
+ <define name="db.subscript.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.subscript.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.subscript.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.subscript">
+ <element name="subscript">
+ <ref name="db.subscript.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>superscript</db:refname>
+ <db:refpurpose>A superscript (as in x<db:superscript>2</db:superscript>
+, the mathematical notation for x multiplied by itself)</db:refpurpose>
+ <define name="db.superscript.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.superscript.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.superscript.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.superscript">
+ <element name="superscript">
+ <ref name="db.superscript.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>trademark</db:refname>
+ <db:refpurpose>A trademark</db:refpurpose>
+ <define name="db.trademark.class.enumeration">
+ <choice>
+ <value>copyright</value>
+ <a:documentation>A copyright</a:documentation>
+ <value>registered</value>
+ <a:documentation>A registered copyright</a:documentation>
+ <value>service</value>
+ <a:documentation>A service</a:documentation>
+ <value>trade</value>
+ <a:documentation>A trademark</a:documentation>
+ </choice>
+ </define>
+ <define name="db.trademark.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Identifies the class of trade mark</db:refpurpose>
+ <ref name="db.trademark.class.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.trademark.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.trademark.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.trademark.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.trademark.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.trademark">
+ <element name="trademark">
+ <ref name="db.trademark.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>wordasword</db:refname>
+ <db:refpurpose>A word meant specifically as a word and not representing anything else</db:refpurpose>
+ <define name="db.wordasword.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.wordasword.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.wordasword.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.wordasword">
+ <element name="wordasword">
+ <ref name="db.wordasword.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>footnoteref</db:refname>
+ <db:refpurpose>A cross reference to a footnote (a footnote mark)</db:refpurpose>
+ <define name="db.footnoteref.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.footnoteref.label.attribute">
+ <ref name="db.label.attribute"/>
+ </define>
+ <define name="db.footnoteref.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.footnoteref.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.linkend.attribute"/>
+ <optional>
+ <ref name="db.footnoteref.label.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.footnoteref">
+ <element name="footnoteref">
+ <s:pattern name="Footnote reference type constraint">
+ <s:rule context="db:footnoteref">
+ <s:assert test="local-name(//*[@xml:id=current()/@linkend]) = 'footnote' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'">@linkend on footnoteref must point to a footnote.</s:assert>
+ </s:rule>
+ </s:pattern>
+ <ref name="db.footnoteref.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>xref</db:refname>
+ <db:refpurpose>A cross reference to another part of the document</db:refpurpose>
+ <define name="db.xref.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.xref.xrefstyle.attribute">
+ <ref name="db.xrefstyle.attribute"/>
+ </define>
+ <define name="db.xref.endterm.attribute">
+ <ref name="db.endterm.attribute"/>
+ </define>
+ <define name="db.xref.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.xref.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.req.linking.attributes"/>
+ <optional>
+ <ref name="db.xref.xrefstyle.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xref.endterm.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.xref">
+ <element name="xref">
+ <ref name="db.xref.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>link</db:refname>
+ <db:refpurpose>A hypertext link</db:refpurpose>
+ <define name="db.link.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.link.xrefstyle.attribute">
+ <ref name="db.xrefstyle.attribute"/>
+ </define>
+ <define name="db.link.endterm.attribute">
+ <ref name="db.endterm.attribute"/>
+ </define>
+ <define name="db.link.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.link.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.req.linking.attributes"/>
+ <optional>
+ <ref name="db.link.xrefstyle.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.link.endterm.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.link">
+ <element name="link">
+ <ref name="db.link.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>olink</db:refname>
+ <db:refpurpose>A link that addresses its target indirectly</db:refpurpose>
+ <define name="db.olink.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.olink.xrefstyle.attribute">
+ <ref name="db.xrefstyle.attribute"/>
+ </define>
+ <define name="db.olink.localinfo.attribute">
+ <attribute name="localinfo">
+ <db:refpurpose>Holds additional information that may be used by the application when resolving the link</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.olink.targetdoc.attribute">
+ <attribute name="targetdoc">
+ <db:refpurpose>Specifies the URI of the document in which the link target appears</db:refpurpose>
+ <data type="anyURI"/>
+ </attribute>
+ </define>
+ <define name="db.olink.targetptr.attribute">
+ <attribute name="targetptr">
+ <db:refpurpose>Specifies the location of the link target in the document</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.olink.type.attribute">
+ <attribute name="type">
+ <db:refpurpose>Identifies application-specific customization of the link behavior</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.olink.attlist">
+ <interleave>
+ <ref name="db.common.attributes"/>
+ <optional>
+ <ref name="db.olink.targetdoc.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.olink.role.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.olink.xrefstyle.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.olink.localinfo.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.olink.targetptr.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.olink.type.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.olink">
+ <element name="olink">
+ <ref name="db.olink.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>anchor</db:refname>
+ <db:refpurpose>A spot in the document</db:refpurpose>
+ <define name="db.anchor.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.anchor.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.anchor.role.attribute"/>
+ </optional>
+ <ref name="db.common.idreq.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.anchor">
+ <element name="anchor">
+ <ref name="db.anchor.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>alt</db:refname>
+ <db:refpurpose>A text-only annotation, often used for accessibility</db:refpurpose>
+ <define name="db.alt.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.alt.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.alt.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.alt">
+ <element name="alt">
+ <ref name="db.alt.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <text/>
+ <ref name="db.inlinemediaobject"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/product.rng b/slides/schema/relaxng/product.rng
new file mode 100644
index 0000000..4435445
--- /dev/null
+++ b/slides/schema/relaxng/product.rng
@@ -0,0 +1,250 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <define name="db.info.elements" combine="choice">
+ <choice>
+ <ref name="db.productname"/>
+ <ref name="db.productnumber"/>
+ </choice>
+ </define>
+ <define name="db.product.inlines" combine="choice">
+ <choice>
+ <ref name="db.productnumber"/>
+ <ref name="db.productname"/>
+ <ref name="db.database"/>
+ <ref name="db.application"/>
+ <ref name="db.hardware"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>productname</db:refname>
+ <db:refpurpose>The formal name of a product</db:refpurpose>
+ <define name="db.productname.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.productname.class.enumeration">
+ <choice>
+ <value>copyright</value>
+ <a:documentation>A name with a copyright</a:documentation>
+ <value>registered</value>
+ <a:documentation>A name with a registered copyright</a:documentation>
+ <value>service</value>
+ <a:documentation>A name of a service</a:documentation>
+ <value>trade</value>
+ <a:documentation>A name which is trademarked</a:documentation>
+ </choice>
+ </define>
+ <define name="db.productname.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Specifies the class of product name</db:refpurpose>
+ <ref name="db.productname.class.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.productname.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.productname.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.productname.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.productname">
+ <element name="productname">
+ <ref name="db.productname.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>productnumber</db:refname>
+ <db:refpurpose>A number assigned to a product</db:refpurpose>
+ <define name="db.productnumber.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.productnumber.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.productnumber.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.productnumber">
+ <element name="productnumber">
+ <ref name="db.productnumber.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>database</db:refname>
+ <db:refpurpose>The name of a database, or part of a database</db:refpurpose>
+ <define name="db.database.class.enumeration">
+ <choice>
+ <value>altkey</value>
+ <a:documentation>An alternate or secondary key</a:documentation>
+ <value>constraint</value>
+ <a:documentation>A constraint</a:documentation>
+ <value>datatype</value>
+ <a:documentation>A data type</a:documentation>
+ <value>field</value>
+ <a:documentation>A field</a:documentation>
+ <value>foreignkey</value>
+ <a:documentation>A foreign key</a:documentation>
+ <value>group</value>
+ <a:documentation>A group</a:documentation>
+ <value>index</value>
+ <a:documentation>An index</a:documentation>
+ <value>key1</value>
+ <a:documentation>The first or primary key</a:documentation>
+ <value>key2</value>
+ <a:documentation>An alternate or secondary key</a:documentation>
+ <value>name</value>
+ <a:documentation>A name</a:documentation>
+ <value>primarykey</value>
+ <a:documentation>The primary key</a:documentation>
+ <value>procedure</value>
+ <a:documentation>A (stored) procedure</a:documentation>
+ <value>record</value>
+ <a:documentation>A record</a:documentation>
+ <value>rule</value>
+ <a:documentation>A rule</a:documentation>
+ <value>secondarykey</value>
+ <a:documentation>The secondary key</a:documentation>
+ <value>table</value>
+ <a:documentation>A table</a:documentation>
+ <value>user</value>
+ <a:documentation>A user</a:documentation>
+ <value>view</value>
+ <a:documentation>A view</a:documentation>
+ </choice>
+ </define>
+ <define name="db.database.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Identifies the class of database artifact</db:refpurpose>
+ <ref name="db.database.class.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.database.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.database.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.database.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.database.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.database">
+ <element name="database">
+ <ref name="db.database.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>application</db:refname>
+ <db:refpurpose>The name of a software program</db:refpurpose>
+ <define name="db.application.class.enumeration">
+ <choice>
+ <value>hardware</value>
+ <a:documentation>A hardware application</a:documentation>
+ <value>software</value>
+ <a:documentation>A software application</a:documentation>
+ </choice>
+ </define>
+ <define name="db.application.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Identifies the class of application</db:refpurpose>
+ <ref name="db.application.class.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.application.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.application.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.application.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.application.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.application">
+ <element name="application">
+ <ref name="db.application.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>hardware</db:refname>
+ <db:refpurpose>A physical part of a computer system</db:refpurpose>
+ <define name="db.hardware.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.hardware.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.hardware.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.hardware">
+ <element name="hardware">
+ <ref name="db.hardware.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/programming.rng b/slides/schema/relaxng/programming.rng
new file mode 100644
index 0000000..6a14e9d
--- /dev/null
+++ b/slides/schema/relaxng/programming.rng
@@ -0,0 +1,1116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start combine="choice">
+ <choice>
+ <ref name="db.synopsis.blocks"/>
+ <ref name="db.funcsynopsisinfo"/>
+ <ref name="db.classsynopsisinfo"/>
+ </choice>
+ </start>
+ <define name="db.domain.inlines" combine="choice">
+ <ref name="db.programming.inlines"/>
+ </define>
+ <define name="db.nopara.blocks" combine="choice">
+ <ref name="db.synopsis.blocks"/>
+ </define>
+ <define name="db.cover.contentmodel" combine="choice">
+ <ref name="db.synopsis.blocks"/>
+ </define>
+ <define name="db.verbatim.blocks" combine="choice">
+ <choice>
+ <ref name="db.programlisting"/>
+ <ref name="db.synopsis"/>
+ </choice>
+ </define>
+ <define name="db.programming.inlines">
+ <choice>
+ <ref name="db.function"/>
+ <ref name="db.parameter"/>
+ <ref name="db.varname"/>
+ <ref name="db.returnvalue"/>
+ <ref name="db.type"/>
+ <ref name="db.classname"/>
+ <ref name="db.exceptionname"/>
+ <ref name="db.interfacename"/>
+ <ref name="db.methodname"/>
+ <ref name="db.modifier"/>
+ <ref name="db.initializer"/>
+ <ref name="db.oo.inlines"/>
+ </choice>
+ </define>
+ <define name="db.oo.inlines">
+ <choice>
+ <ref name="db.ooclass"/>
+ <ref name="db.ooexception"/>
+ <ref name="db.oointerface"/>
+ </choice>
+ </define>
+ <define name="db.synopsis.blocks">
+ <choice>
+ <ref name="db.funcsynopsis"/>
+ <ref name="db.classsynopsis"/>
+ <ref name="db.methodsynopsis"/>
+ <ref name="db.constructorsynopsis"/>
+ <ref name="db.destructorsynopsis"/>
+ <ref name="db.fieldsynopsis"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>synopsis</db:refname>
+ <db:refpurpose>A general-purpose element for representing the syntax of commands or functions</db:refpurpose>
+ <define name="db.synopsis.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.synopsis.label.attribute">
+ <ref name="db.label.attribute"/>
+ </define>
+ <define name="db.synopsis.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.synopsis.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.verbatim.attributes"/>
+ <optional>
+ <ref name="db.synopsis.label.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.synopsis">
+ <element name="synopsis">
+ <ref name="db.synopsis.attlist"/>
+ <ref name="db.verbatim.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>funcsynopsis</db:refname>
+ <db:refpurpose>The syntax summary for a function definition</db:refpurpose>
+ <define name="db.funcsynopsis.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.funcsynopsis.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.funcsynopsis.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.language.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.funcsynopsis.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.funcsynopsis">
+ <element name="funcsynopsis">
+ <ref name="db.funcsynopsis.attlist"/>
+ <ref name="db.funcsynopsis.info"/>
+ <oneOrMore>
+ <choice>
+ <ref name="db.funcsynopsisinfo"/>
+ <ref name="db.funcprototype"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>funcsynopsisinfo</db:refname>
+ <db:refpurpose>Information supplementing the funcdefs of a funcsynopsis</db:refpurpose>
+ <define name="db.funcsynopsisinfo.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.funcsynopsisinfo.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.funcsynopsisinfo.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.verbatim.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.funcsynopsisinfo">
+ <element name="funcsynopsisinfo">
+ <ref name="db.funcsynopsisinfo.attlist"/>
+ <ref name="db.verbatim.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>funcprototype</db:refname>
+ <db:refpurpose>The prototype of a function</db:refpurpose>
+ <define name="db.funcprototype.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.funcprototype.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.funcprototype.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.funcprototype">
+ <element name="funcprototype">
+ <ref name="db.funcprototype.attlist"/>
+ <zeroOrMore>
+ <ref name="db.modifier"/>
+ </zeroOrMore>
+ <ref name="db.funcdef"/>
+ <choice>
+ <ref name="db.void"/>
+ <ref name="db.varargs"/>
+ <group>
+ <oneOrMore>
+ <choice>
+ <ref name="db.paramdef"/>
+ <ref name="db.group.paramdef"/>
+ </choice>
+ </oneOrMore>
+ <optional>
+ <ref name="db.varargs"/>
+ </optional>
+ </group>
+ </choice>
+ <zeroOrMore>
+ <ref name="db.modifier"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>funcdef</db:refname>
+ <db:refpurpose>A function (subroutine) name and its return type</db:refpurpose>
+ <define name="db.funcdef.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.funcdef.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.funcdef.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.funcdef">
+ <element name="funcdef">
+ <ref name="db.funcdef.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.type"/>
+ <ref name="db.function"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>function</db:refname>
+ <db:refpurpose>The name of a function or subroutine, as in a programming language</db:refpurpose>
+ <define name="db.function.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.function.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.function.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.function">
+ <element name="function">
+ <ref name="db.function.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>void</db:refname>
+ <db:refpurpose>An empty element in a function synopsis indicating that the function in question takes no arguments</db:refpurpose>
+ <define name="db.void.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.void.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.void.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.void">
+ <element name="void">
+ <ref name="db.void.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>varargs</db:refname>
+ <db:refpurpose>An empty element in a function synopsis indicating a variable number of arguments</db:refpurpose>
+ <define name="db.varargs.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.varargs.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.varargs.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.varargs">
+ <element name="varargs">
+ <ref name="db.varargs.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>group</db:refname>
+ <db:refpurpose>A group of parameters</db:refpurpose>
+ <define name="db.group.paramdef.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.group.paramdef.choice.attribute">
+ <ref name="db.choice.opt.attribute"/>
+ </define>
+ <define name="db.group.paramdef.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.group.paramdef.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.group.paramdef.choice.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.group.paramdef">
+ <element name="group">
+ <ref name="db.group.paramdef.attlist"/>
+ <oneOrMore>
+ <choice>
+ <ref name="db.paramdef"/>
+ <ref name="db.group.paramdef"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>paramdef</db:refname>
+ <db:refpurpose>Information about a function parameter in a programming language</db:refpurpose>
+ <define name="db.paramdef.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.paramdef.choice.enumeration">
+ <choice>
+ <value>opt</value>
+ <a:documentation>Formatted to indicate that it is optional.</a:documentation>
+ <value>req</value>
+ <a:documentation>Formatted to indicate that it is required.</a:documentation>
+ </choice>
+ </define>
+ <define name="db.paramdef.choice.attribute">
+ <attribute name="choice" a:defaultValue="opt">
+ <db:refpurpose>Indicates optionality.</db:refpurpose>
+ <ref name="db.paramdef.choice.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.paramdef.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.paramdef.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.paramdef.choice.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.paramdef">
+ <element name="paramdef">
+ <ref name="db.paramdef.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._text"/>
+ <ref name="db.initializer"/>
+ <ref name="db.type"/>
+ <ref name="db.parameter"/>
+ <ref name="db.funcparams"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>funcparams</db:refname>
+ <db:refpurpose>Parameters for a function referenced through a function pointer in a synopsis</db:refpurpose>
+ <define name="db.funcparams.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.funcparams.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.funcparams.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.funcparams">
+ <element name="funcparams">
+ <ref name="db.funcparams.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>classsynopsis</db:refname>
+ <db:refpurpose>The syntax summary for a class definition</db:refpurpose>
+ <define name="db.classsynopsis.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.classsynopsis.class.enumeration">
+ <choice>
+ <value>class</value>
+ <a:documentation>This is the synopsis of a class</a:documentation>
+ <value>interface</value>
+ <a:documentation>This is the synopsis of an interface</a:documentation>
+ </choice>
+ </define>
+ <define name="db.classsynopsis.class.attribute">
+ <attribute name="class">
+ <db:refpurpose>Specifies the nature of the synopsis</db:refpurpose>
+ <ref name="db.classsynopsis.class.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.classsynopsis.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.classsynopsis.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.language.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.classsynopsis.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.classsynopsis">
+ <element name="classsynopsis">
+ <ref name="db.classsynopsis.attlist"/>
+ <oneOrMore>
+ <ref name="db.oo.inlines"/>
+ </oneOrMore>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.classsynopsisinfo"/>
+ <ref name="db.methodsynopsis"/>
+ <ref name="db.constructorsynopsis"/>
+ <ref name="db.destructorsynopsis"/>
+ <ref name="db.fieldsynopsis"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>classsynopsisinfo</db:refname>
+ <db:refpurpose>Information supplementing the contents of a classsynopsis</db:refpurpose>
+ <define name="db.classsynopsisinfo.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.classsynopsisinfo.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.classsynopsisinfo.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.verbatim.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.classsynopsisinfo">
+ <element name="classsynopsisinfo">
+ <ref name="db.classsynopsisinfo.attlist"/>
+ <ref name="db.verbatim.contentmodel"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>ooclass</db:refname>
+ <db:refpurpose>A class in an object-oriented programming language</db:refpurpose>
+ <define name="db.ooclass.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.ooclass.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.ooclass.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.ooclass">
+ <element name="ooclass">
+ <ref name="db.ooclass.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.package"/>
+ <ref name="db.modifier"/>
+ </choice>
+ </zeroOrMore>
+ <ref name="db.classname"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>oointerface</db:refname>
+ <db:refpurpose>An interface in an object-oriented programming language</db:refpurpose>
+ <define name="db.oointerface.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.oointerface.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.oointerface.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.oointerface">
+ <element name="oointerface">
+ <ref name="db.oointerface.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.package"/>
+ <ref name="db.modifier"/>
+ </choice>
+ </zeroOrMore>
+ <ref name="db.interfacename"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>ooexception</db:refname>
+ <db:refpurpose>An exception in an object-oriented programming language</db:refpurpose>
+ <define name="db.ooexception.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.ooexception.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.ooexception.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.ooexception">
+ <element name="ooexception">
+ <ref name="db.ooexception.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.package"/>
+ <ref name="db.modifier"/>
+ </choice>
+ </zeroOrMore>
+ <ref name="db.exceptionname"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.modifier.xml.space.attribute">
+ <attribute name="xml:space">
+ <db:refpurpose>Can be used to indicate that whitespace in the modifier should be preserved (for multi-line annotations, for example).</db:refpurpose>
+ <value>preserve</value>
+ <a:documentation>Extra whitespace and line breaks must be preserved.</a:documentation>
+ <!--
+ Ideally the definition of xml:space used on modifier would be
+ different from the definition used on the verbatim elements. The
+ verbatim elements forbid the use of xml:space="default" which
+ wouldn't be a problem on modifier. But doing that causes the
+ generated XSD schemas to be broken so I'm just reusing the existing
+ definition for now. It won't be backwards incompatible to fix this
+ problem in the future.
+ | ## Extra whitespace and line breaks are not preserved.
+ "default"
+ -->
+ </attribute>
+ </define>
+ <div>
+ <db:refname>modifier</db:refname>
+ <db:refpurpose>Modifiers in a synopsis</db:refpurpose>
+ <define name="db.modifier.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.modifier.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.modifier.xml.space.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.modifier.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.modifier">
+ <element name="modifier">
+ <ref name="db.modifier.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>interfacename</db:refname>
+ <db:refpurpose>The name of an interface</db:refpurpose>
+ <define name="db.interfacename.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.interfacename.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.interfacename.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.interfacename">
+ <element name="interfacename">
+ <ref name="db.interfacename.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>exceptionname</db:refname>
+ <db:refpurpose>The name of an exception</db:refpurpose>
+ <define name="db.exceptionname.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.exceptionname.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.exceptionname.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.exceptionname">
+ <element name="exceptionname">
+ <ref name="db.exceptionname.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>fieldsynopsis</db:refname>
+ <db:refpurpose>The name of a field in a class definition</db:refpurpose>
+ <define name="db.fieldsynopsis.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.fieldsynopsis.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.fieldsynopsis.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.language.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.fieldsynopsis">
+ <element name="fieldsynopsis">
+ <ref name="db.fieldsynopsis.attlist"/>
+ <zeroOrMore>
+ <ref name="db.modifier"/>
+ </zeroOrMore>
+ <optional>
+ <ref name="db.type"/>
+ </optional>
+ <ref name="db.varname"/>
+ <optional>
+ <ref name="db.initializer"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>initializer</db:refname>
+ <db:refpurpose>The initializer for a fieldsynopsis</db:refpurpose>
+ <define name="db.initializer.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.initializer.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.initializer.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.initializer.inlines">
+ <ref name="db._text"/>
+ </define>
+ <define name="db.initializer">
+ <element name="initializer">
+ <ref name="db.initializer.attlist"/>
+ <zeroOrMore>
+ <ref name="db.initializer.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>constructorsynopsis</db:refname>
+ <db:refpurpose>A syntax summary for a constructor</db:refpurpose>
+ <define name="db.constructorsynopsis.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.constructorsynopsis.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.constructorsynopsis.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.language.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.constructorsynopsis">
+ <element name="constructorsynopsis">
+ <ref name="db.constructorsynopsis.attlist"/>
+ <zeroOrMore>
+ <ref name="db.modifier"/>
+ </zeroOrMore>
+ <optional>
+ <ref name="db.methodname"/>
+ </optional>
+ <choice>
+ <oneOrMore>
+ <choice>
+ <ref name="db.methodparam"/>
+ <ref name="db.group.methodparam"/>
+ </choice>
+ </oneOrMore>
+ <optional>
+ <ref name="db.void"/>
+ </optional>
+ </choice>
+ <zeroOrMore>
+ <ref name="db.exceptionname"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>destructorsynopsis</db:refname>
+ <db:refpurpose>A syntax summary for a destructor</db:refpurpose>
+ <define name="db.destructorsynopsis.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.destructorsynopsis.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.destructorsynopsis.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.language.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.destructorsynopsis">
+ <element name="destructorsynopsis">
+ <ref name="db.destructorsynopsis.attlist"/>
+ <zeroOrMore>
+ <ref name="db.modifier"/>
+ </zeroOrMore>
+ <optional>
+ <ref name="db.methodname"/>
+ </optional>
+ <choice>
+ <oneOrMore>
+ <choice>
+ <ref name="db.methodparam"/>
+ <ref name="db.group.methodparam"/>
+ </choice>
+ </oneOrMore>
+ <optional>
+ <ref name="db.void"/>
+ </optional>
+ </choice>
+ <zeroOrMore>
+ <ref name="db.exceptionname"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>methodsynopsis</db:refname>
+ <db:refpurpose>A syntax summary for a method</db:refpurpose>
+ <define name="db.methodsynopsis.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.methodsynopsis.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.methodsynopsis.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.language.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.methodsynopsis">
+ <element name="methodsynopsis">
+ <ref name="db.methodsynopsis.attlist"/>
+ <zeroOrMore>
+ <ref name="db.modifier"/>
+ </zeroOrMore>
+ <optional>
+ <choice>
+ <ref name="db.type"/>
+ <ref name="db.void"/>
+ </choice>
+ </optional>
+ <ref name="db.methodname"/>
+ <choice>
+ <oneOrMore>
+ <choice>
+ <ref name="db.methodparam"/>
+ <ref name="db.group.methodparam"/>
+ </choice>
+ </oneOrMore>
+ <ref name="db.void"/>
+ </choice>
+ <zeroOrMore>
+ <ref name="db.exceptionname"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.modifier"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>methodname</db:refname>
+ <db:refpurpose>The name of a method</db:refpurpose>
+ <define name="db.methodname.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.methodname.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.methodname.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.methodname">
+ <element name="methodname">
+ <ref name="db.methodname.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>methodparam</db:refname>
+ <db:refpurpose>Parameters to a method</db:refpurpose>
+ <define name="db.methodparam.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.methodparam.rep.attribute">
+ <ref name="db.rep.attribute"/>
+ </define>
+ <define name="db.methodparam.choice.attribute">
+ <ref name="db.choice.req.attribute"/>
+ </define>
+ <define name="db.methodparam.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.methodparam.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.methodparam.rep.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.methodparam.choice.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.methodparam">
+ <element name="methodparam">
+ <ref name="db.methodparam.attlist"/>
+ <zeroOrMore>
+ <ref name="db.modifier"/>
+ </zeroOrMore>
+ <optional>
+ <ref name="db.type"/>
+ </optional>
+ <choice>
+ <group>
+ <zeroOrMore>
+ <ref name="db.modifier"/>
+ </zeroOrMore>
+ <ref name="db.parameter"/>
+ <optional>
+ <ref name="db.initializer"/>
+ </optional>
+ </group>
+ <ref name="db.funcparams"/>
+ </choice>
+ <zeroOrMore>
+ <ref name="db.modifier"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>group</db:refname>
+ <db:refpurpose>A group of method parameters</db:refpurpose>
+ <define name="db.group.methodparam.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.group.methodparam.choice.attribute">
+ <ref name="db.choice.opt.attribute"/>
+ </define>
+ <define name="db.group.methodparam.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.group.methodparam.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.group.methodparam.choice.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.group.methodparam">
+ <element name="group">
+ <ref name="db.group.methodparam.attlist"/>
+ <oneOrMore>
+ <choice>
+ <ref name="db.methodparam"/>
+ <ref name="db.group.methodparam"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>varname</db:refname>
+ <db:refpurpose>The name of a variable</db:refpurpose>
+ <define name="db.varname.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.varname.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.varname.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.varname">
+ <element name="varname">
+ <ref name="db.varname.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>returnvalue</db:refname>
+ <db:refpurpose>The value returned by a function</db:refpurpose>
+ <define name="db.returnvalue.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.returnvalue.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.returnvalue.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.returnvalue">
+ <element name="returnvalue">
+ <ref name="db.returnvalue.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>type</db:refname>
+ <db:refpurpose>The classification of a value</db:refpurpose>
+ <define name="db.type.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.type.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.type.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.type">
+ <element name="type">
+ <ref name="db.type.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>classname</db:refname>
+ <db:refpurpose>The name of a class, in the object-oriented programming sense</db:refpurpose>
+ <define name="db.classname.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.classname.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.classname.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.classname">
+ <element name="classname">
+ <ref name="db.classname.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>programlisting</db:refname>
+ <db:refpurpose>A literal listing of all or part of a program</db:refpurpose>
+ <define name="db.programlisting.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.programlisting.width.attribute">
+ <ref name="db.width.characters.attribute"/>
+ </define>
+ <define name="db.programlisting.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.programlisting.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <ref name="db.verbatim.attributes"/>
+ <optional>
+ <ref name="db.programlisting.width.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.programlisting">
+ <element name="programlisting">
+ <ref name="db.programlisting.attlist"/>
+ <ref name="db.verbatim.contentmodel"/>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/qandaset.rng b/slides/schema/relaxng/qandaset.rng
new file mode 100644
index 0000000..5fe93f6
--- /dev/null
+++ b/slides/schema/relaxng/qandaset.rng
@@ -0,0 +1,245 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: qandaset.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start combine="choice">
+ <choice>
+ <ref name="db.qandadiv"/>
+ <ref name="db.qandaentry"/>
+ <ref name="db.qandaset"/>
+ </choice>
+ </start>
+ <define name="db.list.blocks" combine="choice">
+ <ref name="db.qandaset"/>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>qandaset</db:refname>
+ <db:refpurpose>A question-and-answer set</db:refpurpose>
+ <define name="db.qandaset.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.qandaset.defaultlabel.enumeration">
+ <choice>
+ <value>none</value>
+ <a:documentation>No labels</a:documentation>
+ <value>number</value>
+ <a:documentation>Numeric labels</a:documentation>
+ <value>qanda</value>
+ <a:documentation>"Q:" and "A:" labels</a:documentation>
+ </choice>
+ </define>
+ <define name="db.qandaset.defaultlabel.attribute">
+ <attribute name="defaultlabel">
+ <db:refpurpose>Specifies the default labelling</db:refpurpose>
+ <ref name="db.qandaset.defaultlabel.enumeration"/>
+ </attribute>
+ </define>
+ <define name="db.qandaset.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.qandaset.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.qandaset.defaultlabel.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.qandaset.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.qandaset">
+ <element name="qandaset">
+ <ref name="db.qandaset.attlist"/>
+ <ref name="db.qandaset.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <choice>
+ <oneOrMore>
+ <ref name="db.qandadiv"/>
+ </oneOrMore>
+ <oneOrMore>
+ <ref name="db.qandaentry"/>
+ </oneOrMore>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>qandadiv</db:refname>
+ <db:refpurpose>A titled division in a qandaset</db:refpurpose>
+ <define name="db.qandadiv.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.qandadiv.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.qandadiv.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.qandadiv.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.qandadiv">
+ <element name="qandadiv">
+ <ref name="db.qandadiv.attlist"/>
+ <ref name="db.qandadiv.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <choice>
+ <oneOrMore>
+ <ref name="db.qandadiv"/>
+ </oneOrMore>
+ <oneOrMore>
+ <ref name="db.qandaentry"/>
+ </oneOrMore>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>qandaentry</db:refname>
+ <db:refpurpose>A question/answer set within a qandaset</db:refpurpose>
+ <define name="db.qandaentry.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.qandaentry.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.qandaentry.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.qandaentry.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.qandaentry">
+ <element name="qandaentry">
+ <ref name="db.qandaentry.attlist"/>
+ <ref name="db.qandaentry.info"/>
+ <ref name="db.question"/>
+ <zeroOrMore>
+ <ref name="db.answer"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>question</db:refname>
+ <db:refpurpose>A question in a qandaset</db:refpurpose>
+ <define name="db.question.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.question.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.question.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.question">
+ <element name="question">
+ <ref name="db.question.attlist"/>
+ <optional>
+ <ref name="db.label"/>
+ </optional>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>answer</db:refname>
+ <db:refpurpose>An answer to a question posed in a qandaset</db:refpurpose>
+ <define name="db.answer.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.answer.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.answer.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.answer">
+ <element name="answer">
+ <ref name="db.answer.attlist"/>
+ <optional>
+ <ref name="db.label"/>
+ </optional>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>label</db:refname>
+ <db:refpurpose>A label on a question or answer</db:refpurpose>
+ <define name="db.label.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.label.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.label.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.label">
+ <element name="label">
+ <ref name="db.label.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/refentry.rng b/slides/schema/relaxng/refentry.rng
new file mode 100644
index 0000000..1560550
--- /dev/null
+++ b/slides/schema/relaxng/refentry.rng
@@ -0,0 +1,488 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: refentry.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start combine="choice">
+ <choice>
+ <ref name="db.refentry"/>
+ <ref name="db.refsection"/>
+ <ref name="db.refsynopsisdiv"/>
+ </choice>
+ </start>
+ <define name="db.divisions" combine="choice">
+ <ref name="db.reference"/>
+ </define>
+ <define name="db.part.components" combine="choice">
+ <choice>
+ <ref name="db.refentry"/>
+ <ref name="db.reference"/>
+ </choice>
+ </define>
+ <define name="db.toplevel.sections" combine="choice">
+ <oneOrMore>
+ <ref name="db.refentry"/>
+ </oneOrMore>
+ </define>
+ <define name="db.recursive.sections" combine="choice">
+ <oneOrMore>
+ <ref name="db.refentry"/>
+ </oneOrMore>
+ </define>
+ <define name="db.toplevel.refsection">
+ <oneOrMore>
+ <ref name="db.refsection"/>
+ </oneOrMore>
+ </define>
+ <define name="db.secondlevel.refsection">
+ <oneOrMore>
+ <ref name="db.refsection"/>
+ </oneOrMore>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.reference.components">
+ <ref name="db.refentry"/>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>reference</db:refname>
+ <db:refpurpose>A collection of reference entries</db:refpurpose>
+ <define name="db.reference.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.reference.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.reference.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.reference.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.reference.status.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.reference.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.reference">
+ <element name="reference">
+ <ref name="db.reference.attlist"/>
+ <ref name="db.reference.info"/>
+ <optional>
+ <ref name="db.partintro"/>
+ </optional>
+ <oneOrMore>
+ <ref name="db.reference.components"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>refentry</db:refname>
+ <db:refpurpose>A reference page (originally a UNIX man-style reference page)</db:refpurpose>
+ <define name="db.refentry.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.refentry.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.refentry.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.refentry.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.refentry.status.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.refentry.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.refentry">
+ <element name="refentry">
+ <ref name="db.refentry.attlist"/>
+ <zeroOrMore>
+ <ref name="db.indexterm"/>
+ </zeroOrMore>
+ <ref name="db.refentry.info"/>
+ <optional>
+ <ref name="db.refmeta"/>
+ </optional>
+ <oneOrMore>
+ <ref name="db.refnamediv"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.refsynopsisdiv"/>
+ </optional>
+ <ref name="db.toplevel.refsection"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>refmeta</db:refname>
+ <db:refpurpose>Meta-information for a reference entry</db:refpurpose>
+ <define name="db.refmeta.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.refmeta.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.refmeta.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.refmeta">
+ <element name="refmeta">
+ <ref name="db.refmeta.attlist"/>
+ <zeroOrMore>
+ <ref name="db.indexterm"/>
+ </zeroOrMore>
+ <ref name="db.refentrytitle"/>
+ <optional>
+ <ref name="db.manvolnum"/>
+ </optional>
+ <zeroOrMore>
+ <ref name="db.refmiscinfo"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.indexterm"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <ctrl:other-attribute name="db.refmiscinfo.class.attribute" enum-name="db.refmiscinfo.class-enum.attribute" other-name="db.refmiscinfo.class-other.attributes"/>
+ <define name="db.refmiscinfo.class.enumeration">
+ <choice>
+ <value>source</value>
+ <a:documentation>The name of the software product or component to which this topic applies</a:documentation>
+ <value>version</value>
+ <a:documentation>The version of the software product or component to which this topic applies</a:documentation>
+ <value>manual</value>
+ <a:documentation>The section title of the reference page (e.g., User Commands)</a:documentation>
+ <value>sectdesc</value>
+ <a:documentation>The section title of the reference page (believed synonymous with "manual" but in wide use)</a:documentation>
+ <value>software</value>
+ <a:documentation>The name of the software product or component to which this topic applies (e.g., SunOS x.y; believed synonymous with "source" but in wide use)</a:documentation>
+ </choice>
+ </define>
+ <define name="db.refmiscinfo.class-enum.attribute">
+ <optional>
+ <attribute name="class">
+ <db:refpurpose>Identifies the kind of miscellaneous information</db:refpurpose>
+ <ref name="db.refmiscinfo.class.enumeration"/>
+ </attribute>
+ </optional>
+ </define>
+ <define name="db.refmiscinfo.class-other.attribute">
+ <attribute name="otherclass">
+ <db:refpurpose>Identifies the nature of non-standard miscellaneous information</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.refmiscinfo.class-other.attributes">
+ <interleave>
+ <attribute name="class">
+ <db:refpurpose>Identifies the kind of miscellaneious information</db:refpurpose>
+ <value>other</value>
+ <a:documentation>Indicates that the information is some 'other' kind.</a:documentation>
+ </attribute>
+ <ref name="db.refmiscinfo.class-other.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.refmiscinfo.class.attribute">
+ <choice>
+ <ref name="db.refmiscinfo.class-enum.attribute"/>
+ <ref name="db.refmiscinfo.class-other.attributes"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>refmiscinfo</db:refname>
+ <db:refpurpose>Meta-information for a reference entry other than the title and volume number</db:refpurpose>
+ <define name="db.refmiscinfo.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.refmiscinfo.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.refmiscinfo.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.refmiscinfo.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.refmiscinfo">
+ <element name="refmiscinfo">
+ <ref name="db.refmiscinfo.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>refnamediv</db:refname>
+ <db:refpurpose>The name, purpose, and classification of a reference page</db:refpurpose>
+ <define name="db.refnamediv.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.refnamediv.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.refnamediv.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.refnamediv">
+ <element name="refnamediv">
+ <ref name="db.refnamediv.attlist"/>
+ <optional>
+ <ref name="db.refdescriptor"/>
+ </optional>
+ <oneOrMore>
+ <ref name="db.refname"/>
+ </oneOrMore>
+ <ref name="db.refpurpose"/>
+ <zeroOrMore>
+ <ref name="db.refclass"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>refdescriptor</db:refname>
+ <db:refpurpose>A description of the topic of a reference page</db:refpurpose>
+ <define name="db.refdescriptor.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.refdescriptor.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.refdescriptor.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.refdescriptor">
+ <element name="refdescriptor">
+ <ref name="db.refdescriptor.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>refname</db:refname>
+ <db:refpurpose>The name of (one of) the subject(s) of a reference page</db:refpurpose>
+ <define name="db.refname.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.refname.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.refname.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.refname">
+ <element name="refname">
+ <ref name="db.refname.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>refpurpose</db:refname>
+ <db:refpurpose>A short (one sentence) synopsis of the topic of a reference page</db:refpurpose>
+ <define name="db.refpurpose.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.refpurpose.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.refpurpose.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.refpurpose">
+ <element name="refpurpose">
+ <ref name="db.refpurpose.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>refclass</db:refname>
+ <db:refpurpose>The scope or other indication of applicability of a reference entry</db:refpurpose>
+ <define name="db.refclass.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.refclass.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.refclass.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.refclass">
+ <element name="refclass">
+ <ref name="db.refclass.attlist"/>
+ <zeroOrMore>
+ <choice>
+ <text/>
+ <ref name="db.application"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>refsynopsisdiv</db:refname>
+ <db:refpurpose>A syntactic synopsis of the subject of the reference page</db:refpurpose>
+ <define name="db.refsynopsisdiv.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.refsynopsisdiv.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.refsynopsisdiv.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.refsynopsisdiv.info">
+ <ref name="db._info"/>
+ </define>
+ <define name="db.refsynopsisdiv">
+ <element name="refsynopsisdiv">
+ <ref name="db.refsynopsisdiv.attlist"/>
+ <ref name="db.refsynopsisdiv.info"/>
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.secondlevel.refsection"/>
+ </optional>
+ </group>
+ <ref name="db.secondlevel.refsection"/>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>refsection</db:refname>
+ <db:refpurpose>A recursive section in a refentry</db:refpurpose>
+ <define name="db.refsection.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.refsection.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.refsection.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.refsection.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.refsection.status.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.refsection.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.refsection">
+ <element name="refsection">
+ <ref name="db.refsection.attlist"/>
+ <ref name="db.refsection.info"/>
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="db.refsection"/>
+ </zeroOrMore>
+ </group>
+ <oneOrMore>
+ <ref name="db.refsection"/>
+ </oneOrMore>
+ </choice>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/refsect1.rng b/slides/schema/relaxng/refsect1.rng
new file mode 100644
index 0000000..fb921b8
--- /dev/null
+++ b/slides/schema/relaxng/refsect1.rng
@@ -0,0 +1,192 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: refsect1.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start combine="choice">
+ <choice>
+ <ref name="db.refsect1"/>
+ <ref name="db.refsect2"/>
+ <ref name="db.refsect3"/>
+ </choice>
+ </start>
+ <define name="db.toplevel.refsection" combine="choice">
+ <oneOrMore>
+ <ref name="db.refsect1"/>
+ </oneOrMore>
+ </define>
+ <define name="db.secondlevel.refsection" combine="choice">
+ <oneOrMore>
+ <ref name="db.refsect2"/>
+ </oneOrMore>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.refsect1.sections">
+ <oneOrMore>
+ <ref name="db.refsect2"/>
+ </oneOrMore>
+ </define>
+ <div>
+ <db:refname>refsect1</db:refname>
+ <db:refpurpose>A major subsection of a reference entry</db:refpurpose>
+ <define name="db.refsect1.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.refsect1.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.refsect1.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.refsect1.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.refsect1.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.refsect1.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.refsect1">
+ <element name="refsect1">
+ <ref name="db.refsect1.attlist"/>
+ <ref name="db.refsect1.info"/>
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.refsect1.sections"/>
+ </optional>
+ </group>
+ <ref name="db.refsect1.sections"/>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.refsect2.sections">
+ <oneOrMore>
+ <ref name="db.refsect3"/>
+ </oneOrMore>
+ </define>
+ <div>
+ <db:refname>refsect2</db:refname>
+ <db:refpurpose>A subsection of a <db:tag>refsect1</db:tag>
+ </db:refpurpose>
+ <define name="db.refsect2.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.refsect2.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.refsect2.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.refsect2.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.refsect2.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.refsect2.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.refsect2">
+ <element name="refsect2">
+ <ref name="db.refsect2.attlist"/>
+ <ref name="db.refsect2.info"/>
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.refsect2.sections"/>
+ </optional>
+ </group>
+ <ref name="db.refsect2.sections"/>
+ </choice>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>refsect3</db:refname>
+ <db:refpurpose>A subsection of a <db:tag>refsect2</db:tag>
+ </db:refpurpose>
+ <define name="db.refsect3.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.refsect3.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.refsect3.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.refsect3.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.refsect3.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.refsect3.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.refsect3">
+ <element name="refsect3">
+ <ref name="db.refsect3.attlist"/>
+ <ref name="db.refsect3.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/sect1.rng b/slides/schema/relaxng/sect1.rng
new file mode 100644
index 0000000..b5d67e3
--- /dev/null
+++ b/slides/schema/relaxng/sect1.rng
@@ -0,0 +1,360 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: sect1.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start combine="choice">
+ <choice>
+ <ref name="db.sect1"/>
+ <ref name="db.sect2"/>
+ <ref name="db.sect3"/>
+ <ref name="db.sect4"/>
+ <ref name="db.sect5"/>
+ </choice>
+ </start>
+ <define name="db.toplevel.sections" combine="choice">
+ <oneOrMore>
+ <ref name="db.sect1"/>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="db.simplesect"/>
+ </zeroOrMore>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.sect1.sections">
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.sect2"/>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="db.simplesect"/>
+ </zeroOrMore>
+ </group>
+ <oneOrMore>
+ <ref name="db.simplesect"/>
+ </oneOrMore>
+ </choice>
+ </define>
+ <div>
+ <db:refname>sect1</db:refname>
+ <db:refpurpose>A top-level section of document</db:refpurpose>
+ <define name="db.sect1.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.sect1.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.sect1.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.sect1.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.sect1.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.sect1.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.sect1">
+ <element name="sect1">
+ <ref name="db.sect1.attlist"/>
+ <ref name="db.sect1.info"/>
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.sect1.sections"/>
+ </optional>
+ </group>
+ <ref name="db.sect1.sections"/>
+ </choice>
+ <zeroOrMore>
+ <ref name="db.navigation.components"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.sect2.sections">
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.sect3"/>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="db.simplesect"/>
+ </zeroOrMore>
+ </group>
+ <oneOrMore>
+ <ref name="db.simplesect"/>
+ </oneOrMore>
+ </choice>
+ </define>
+ <div>
+ <db:refname>sect2</db:refname>
+ <db:refpurpose>A subsection within a sect1</db:refpurpose>
+ <define name="db.sect2.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.sect2.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.sect2.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.sect2.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.sect2.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.sect2.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.sect2">
+ <element name="sect2">
+ <ref name="db.sect2.attlist"/>
+ <ref name="db.sect2.info"/>
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.sect2.sections"/>
+ </optional>
+ </group>
+ <ref name="db.sect2.sections"/>
+ </choice>
+ <zeroOrMore>
+ <ref name="db.navigation.components"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.sect3.sections">
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.sect4"/>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="db.simplesect"/>
+ </zeroOrMore>
+ </group>
+ <oneOrMore>
+ <ref name="db.simplesect"/>
+ </oneOrMore>
+ </choice>
+ </define>
+ <div>
+ <db:refname>sect3</db:refname>
+ <db:refpurpose>A subsection within a sect2</db:refpurpose>
+ <define name="db.sect3.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.sect3.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.sect3.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.sect3.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.sect3.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.sect3.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.sect3">
+ <element name="sect3">
+ <ref name="db.sect3.attlist"/>
+ <ref name="db.sect3.info"/>
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.sect3.sections"/>
+ </optional>
+ </group>
+ <ref name="db.sect3.sections"/>
+ </choice>
+ <zeroOrMore>
+ <ref name="db.navigation.components"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.sect4.sections">
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.sect5"/>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="db.simplesect"/>
+ </zeroOrMore>
+ </group>
+ <oneOrMore>
+ <ref name="db.simplesect"/>
+ </oneOrMore>
+ </choice>
+ </define>
+ <div>
+ <db:refname>sect4</db:refname>
+ <db:refpurpose>A subsection within a sect3</db:refpurpose>
+ <define name="db.sect4.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.sect4.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.sect4.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.sect4.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.sect4.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.sect4.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.sect4">
+ <element name="sect4">
+ <ref name="db.sect4.attlist"/>
+ <ref name="db.sect4.info"/>
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.sect4.sections"/>
+ </optional>
+ </group>
+ <ref name="db.sect4.sections"/>
+ </choice>
+ <zeroOrMore>
+ <ref name="db.navigation.components"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <define name="db.sect5.sections">
+ <oneOrMore>
+ <ref name="db.simplesect"/>
+ </oneOrMore>
+ </define>
+ <div>
+ <db:refname>sect5</db:refname>
+ <db:refpurpose>A subsection within a sect4</db:refpurpose>
+ <define name="db.sect5.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.sect5.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.sect5.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.sect5.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.sect5.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.sect5.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.sect5">
+ <element name="sect5">
+ <ref name="db.sect5.attlist"/>
+ <ref name="db.sect5.info"/>
+ <choice>
+ <group>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ <optional>
+ <ref name="db.sect5.sections"/>
+ </optional>
+ </group>
+ <ref name="db.sect5.sections"/>
+ </choice>
+ <zeroOrMore>
+ <ref name="db.navigation.components"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/slides.rnc b/slides/schema/relaxng/slides.rnc
new file mode 100644
index 0000000..4d37f6f
--- /dev/null
+++ b/slides/schema/relaxng/slides.rnc
@@ -0,0 +1,206 @@
+namespace db = "http://docbook.org/ns/docbook"
+namespace mml = "http://www.w3.org/1998/Math/MathML"
+namespace svg = "http://www.w3.org/2000/svg"
+default namespace dbs = "http://docbook.org/ns/docbook-slides"
+
+# See http://docbook.org/ns/docbook-slides
+
+# This file is part of DocBook Slides V5.0
+#
+# Copyright 2012 Gabor Kovesdan
+#
+# Release: $Id$
+#
+# Permission to use, copy, modify and distribute the DocBook Slides
+# schema and its accompanying documentation for any purpose and without
+# fee is hereby granted in perpetuity, provided that the above copyright
+# notice and this paragraph appear in all copies. The copyright
+# holders make no representation about the suitability of the schema
+# for any purpose. It is provided "as is" without expressed or implied
+# warranty.
+#
+# If you modify the DocBook Slides schema in any way, label your schema
+# as a variant of DocBook Slides. See the reference documentation
+# (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+# for more information.
+#
+# Please direct all questions, bug reports, or suggestions for changes
+# to the docbook@lists.oasis-open.org mailing list. For more
+# information, see http://www.oasis-open.org/docbook/.
+#
+# ======================================================================
+
+include "../../../../docbook/relaxng/docbook/docbook/docbook.rnc" inherit = db {
+ start = dbs.slides
+
+ # Avoid ID clashes
+ db._any.attribute = attribute * - (xml:id | linkend) { text }
+
+ db.common.attributes =
+ db.xml.id.attribute?
+ & db.common.base.attributes
+ & db.annotations.attribute?
+ & dbs.style.attributes?
+
+ # Any element and attribute from the SVG namespace
+ db._any.svg =
+ element svg:* { (dbs._any.attribute | text | db._any)* }
+
+ # Any element and attribute from the MathML namespace
+ db._any.mml =
+ element mml:* { (dbs._any.attribute | text | db._any)* }
+}
+
+# Any attribute from any namespace
+dbs._any.attribute = attribute * { text }
+
+dbs.all.content = db.all.blocks? &
+ dbs.speakernotes &
+ dbs.handoutnotes &
+ db._any.svg? &
+ db._any.mml? &
+ dbs.block?
+
+dbs.block =
+ ## Indicates a formatting block that can have its own styling applied
+ element block { dbs.block.attlist,
+ dbs.all.content*
+}
+
+dbs.block.role.attribute =
+ ## Role attribute for the block element
+ attribute role { text }
+
+dbs.block.status.attribute =
+ ## Status attribute for the block element
+ db.status.attribute
+
+dbs.block.attlist = dbs.block.role.attribute?
+ & db.common.attributes
+ & db.common.linking.attributes
+ & db.label.attribute?
+ & dbs.block.status.attribute?
+
+dbs.slides =
+ ## Root element of a slides document
+ element slides { dbs.slides.attlist,
+ db._info.title.req,
+ dbs.speakernotes?,
+ dbs.handoutnotes?,
+ (
+ dbs.foil? &
+ dbs.foilgroup?
+ )*
+}
+
+dbs.slides.role.attribute =
+ ## Role attribute for the slides element
+ attribute role { text }
+
+dbs.slides.status.attribute =
+ ## Status attribute for the slides element
+ db.status.attribute
+
+dbs.slides.attlist = dbs.slides.role.attribute?
+ & db.common.attributes
+ & db.common.linking.attributes
+ & db.label.attribute?
+ & dbs.slides.status.attribute?
+
+dbs.foilgroup = element foilgroup {
+ dbs.foilgroup.attlist,
+ db._info.title.req,
+ dbs.all.content*,
+ dbs.foil+
+}
+
+dbs.foilgroup.role.attribute =
+ ## Role attribute for the foilgroup element
+ attribute role { text }
+
+dbs.foilgroup.status.attribute =
+ ## Status attribute for the foilgroup element
+ db.status.attribute
+
+dbs.foilgroup.attlist = dbs.foilgroup.role.attribute?
+ & db.common.attributes
+ & db.common.linking.attributes
+ & db.label.attribute?
+ & dbs.slides.status.attribute?
+
+dbs.foil =
+ ## Indicates a foil that may have some info and content
+ element foil { dbs.foil.attlist,
+ db._info.title.req,
+ dbs.all.content*,
+ db.navigation.components*
+}
+
+dbs.foil.role.attribute =
+ ## Role attribute for the foil element
+ attribute role { text }
+
+dbs.foil.status.attribute =
+ ## Status attribute for the foil element
+ db.status.attribute
+
+dbs.foil.attlist = dbs.foil.role.attribute?
+ & db.common.attributes
+ & db.common.linking.attributes
+ & db.label.attribute?
+ & dbs.foil.status.attribute?
+
+dbs.speakernotes =
+ ## Indicates notes for the speaker
+ element speakernotes { dbs.speakernotes.attlist,
+ db.all.blocks+
+}
+
+dbs.speakernotes.role.attribute =
+ ## Role attribute for the speakernotes element
+ attribute role { text }
+
+dbs.speakernotes.attlist = dbs.speakernotes.role.attribute?
+ & db.common.attributes
+ & db.common.linking.attributes
+
+dbs.handoutnotes =
+ ## Indicates notes that are meant for printed copies
+ element handoutnotes { dbs.handoutnotes.attlist,
+ db.all.blocks+
+}
+
+## Role attribute for the handoutnotes element
+dbs.handoutnotes.role.attribute =
+ ## Role attribute for the handoutnotes element
+ attribute role { text }
+
+dbs.handoutnotes.attlist = dbs.handoutnotes.role.attribute?
+ & db.common.attributes
+ & db.common.linking.attributes
+
+dbs.style.attributes = dbs.incremental.attribute?
+ & dbs.collapsible.attribute?
+ & dbs.style.attribute?
+
+dbs.incremental.attribute =
+ ## Attribute indicating an incremental part
+ attribute dbs:incremental {
+ ## disabled
+ "0" |
+ ## enabled
+ "1" }
+
+dbs.collapsible.attribute =
+ ## Attribute indicating a collapsible part
+ attribute dbs:collapsible {
+ ## disabled
+ "0" |
+ ## enabled
+ "1" |
+ ## enabled and expanded by default
+ "expanded" }
+
+dbs.style.attribute =
+ ## Attribute indicating a formatting style class
+ attribute dbs:style { text }
diff --git a/slides/schema/relaxng/slides.rng b/slides/schema/relaxng/slides.rng
new file mode 100644
index 0000000..9a38eb1
--- /dev/null
+++ b/slides/schema/relaxng/slides.rng
@@ -0,0 +1,362 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<grammar xmlns:dbs="http://docbook.org/ns/docbook-slides" ns="" xmlns:db="http://docbook.org/ns/docbook" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0">
+ <!-- See http://docbook.org/ns/docbook-slides -->
+ <!--
+ This file is part of DocBook Slides V5.0
+
+ Copyright 2012 Gabor Kovesdan
+
+ Release: $Id$
+
+ Permission to use, copy, modify and distribute the DocBook Slides
+ schema and its accompanying documentation for any purpose and without
+ fee is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook Slides schema in any way, label your schema
+ as a variant of DocBook Slides. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+ -->
+ <include href="docbook.rng" ns="http://docbook.org/ns/docbook">
+ <start>
+ <ref name="dbs.slides"/>
+ </start>
+ <!-- Avoid ID clashes -->
+ <define name="db._any.attribute">
+ <attribute>
+ <anyName>
+ <except>
+ <name>xml:id</name>
+ <name ns="">linkend</name>
+ </except>
+ </anyName>
+ </attribute>
+ </define>
+ <define name="db.common.attributes">
+ <interleave>
+ <optional>
+ <ref name="db.xml.id.attribute"/>
+ </optional>
+ <ref name="db.common.base.attributes"/>
+ <optional>
+ <ref name="db.annotations.attribute"/>
+ </optional>
+ <optional>
+ <ref name="dbs.style.attributes"/>
+ </optional>
+ </interleave>
+ </define>
+ <!-- Any element and attribute from the SVG namespace -->
+ <define name="db._any.svg">
+ <element>
+ <nsName ns="http://www.w3.org/2000/svg"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="dbs._any.attribute"/>
+ <text/>
+ <ref name="db._any"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ <!-- Any element and attribute from the MathML namespace -->
+ <define name="db._any.mml">
+ <element>
+ <nsName ns="http://www.w3.org/1998/Math/MathML"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="dbs._any.attribute"/>
+ <text/>
+ <ref name="db._any"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </include>
+ <!-- Any attribute from any namespace -->
+ <define name="dbs._any.attribute">
+ <attribute>
+ <anyName/>
+ </attribute>
+ </define>
+ <define name="dbs.all.content">
+ <interleave>
+ <optional>
+ <ref name="db.all.blocks"/>
+ </optional>
+ <ref name="dbs.speakernotes"/>
+ <ref name="dbs.handoutnotes"/>
+ <optional>
+ <ref name="db._any.svg"/>
+ </optional>
+ <optional>
+ <ref name="db._any.mml"/>
+ </optional>
+ <optional>
+ <ref name="dbs.block"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="dbs.block">
+ <element>
+ <a:documentation>Indicates a formatting block that can have its own styling applied</a:documentation>
+ <name ns="http://docbook.org/ns/docbook-slides">block</name>
+ <ref name="dbs.block.attlist"/>
+ <zeroOrMore>
+ <ref name="dbs.all.content"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ <define name="dbs.block.role.attribute">
+ <attribute name="role">
+ <a:documentation>Role attribute for the block element</a:documentation>
+ </attribute>
+ </define>
+ <define name="dbs.block.status.attribute">
+ <ref name="db.status.attribute">
+ <a:documentation>Status attribute for the block element</a:documentation>
+ </ref>
+ </define>
+ <define name="dbs.block.attlist">
+ <interleave>
+ <optional>
+ <ref name="dbs.block.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="dbs.block.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="dbs.slides">
+ <element>
+ <a:documentation>Root element of a slides document</a:documentation>
+ <name ns="http://docbook.org/ns/docbook-slides">slides</name>
+ <ref name="dbs.slides.attlist"/>
+ <ref name="db._info.title.req"/>
+ <optional>
+ <ref name="dbs.speakernotes"/>
+ </optional>
+ <optional>
+ <ref name="dbs.handoutnotes"/>
+ </optional>
+ <zeroOrMore>
+ <interleave>
+ <optional>
+ <ref name="dbs.foil"/>
+ </optional>
+ <optional>
+ <ref name="dbs.foilgroup"/>
+ </optional>
+ </interleave>
+ </zeroOrMore>
+ </element>
+ </define>
+ <define name="dbs.slides.role.attribute">
+ <attribute name="role">
+ <a:documentation>Role attribute for the slides element</a:documentation>
+ </attribute>
+ </define>
+ <define name="dbs.slides.status.attribute">
+ <ref name="db.status.attribute">
+ <a:documentation>Status attribute for the slides element</a:documentation>
+ </ref>
+ </define>
+ <define name="dbs.slides.attlist">
+ <interleave>
+ <optional>
+ <ref name="dbs.slides.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="dbs.slides.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="dbs.foilgroup">
+ <element>
+ <name ns="http://docbook.org/ns/docbook-slides">foilgroup</name>
+ <ref name="dbs.foilgroup.attlist"/>
+ <ref name="db._info.title.req"/>
+ <zeroOrMore>
+ <ref name="dbs.all.content"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <ref name="dbs.foil"/>
+ </oneOrMore>
+ </element>
+ </define>
+ <define name="dbs.foilgroup.role.attribute">
+ <attribute name="role">
+ <a:documentation>Role attribute for the foilgroup element</a:documentation>
+ </attribute>
+ </define>
+ <define name="dbs.foilgroup.status.attribute">
+ <ref name="db.status.attribute">
+ <a:documentation>Status attribute for the foilgroup element</a:documentation>
+ </ref>
+ </define>
+ <define name="dbs.foilgroup.attlist">
+ <interleave>
+ <optional>
+ <ref name="dbs.foilgroup.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="dbs.slides.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="dbs.foil">
+ <element>
+ <a:documentation>Indicates a foil that may have some info and content</a:documentation>
+ <name ns="http://docbook.org/ns/docbook-slides">foil</name>
+ <ref name="dbs.foil.attlist"/>
+ <ref name="db._info.title.req"/>
+ <zeroOrMore>
+ <ref name="dbs.all.content"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="db.navigation.components"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ <define name="dbs.foil.role.attribute">
+ <attribute name="role">
+ <a:documentation>Role attribute for the foil element</a:documentation>
+ </attribute>
+ </define>
+ <define name="dbs.foil.status.attribute">
+ <ref name="db.status.attribute">
+ <a:documentation>Status attribute for the foil element</a:documentation>
+ </ref>
+ </define>
+ <define name="dbs.foil.attlist">
+ <interleave>
+ <optional>
+ <ref name="dbs.foil.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="dbs.foil.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="dbs.speakernotes">
+ <element>
+ <a:documentation>Indicates notes for the speaker</a:documentation>
+ <name ns="http://docbook.org/ns/docbook-slides">speakernotes</name>
+ <ref name="dbs.speakernotes.attlist"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ <define name="dbs.speakernotes.role.attribute">
+ <attribute name="role">
+ <a:documentation>Role attribute for the speakernotes element</a:documentation>
+ </attribute>
+ </define>
+ <define name="dbs.speakernotes.attlist">
+ <interleave>
+ <optional>
+ <ref name="dbs.speakernotes.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="dbs.handoutnotes">
+ <element>
+ <a:documentation>Indicates notes that are meant for printed copies</a:documentation>
+ <name ns="http://docbook.org/ns/docbook-slides">handoutnotes</name>
+ <ref name="dbs.handoutnotes.attlist"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ <define name="dbs.handoutnotes.role.attribute">
+ <a:documentation>Role attribute for the handoutnotes element</a:documentation>
+ <attribute name="role">
+ <a:documentation>Role attribute for the handoutnotes element</a:documentation>
+ </attribute>
+ </define>
+ <define name="dbs.handoutnotes.attlist">
+ <interleave>
+ <optional>
+ <ref name="dbs.handoutnotes.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="dbs.style.attributes">
+ <interleave>
+ <optional>
+ <ref name="dbs.incremental.attribute"/>
+ </optional>
+ <optional>
+ <ref name="dbs.collapsible.attribute"/>
+ </optional>
+ <optional>
+ <ref name="dbs.style.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="dbs.incremental.attribute">
+ <attribute name="dbs:incremental">
+ <a:documentation>Attribute indicating an incremental part</a:documentation>
+ <choice>
+ <value>0</value>
+ <a:documentation>disabled</a:documentation>
+ <value>1</value>
+ <a:documentation>enabled</a:documentation>
+ </choice>
+ </attribute>
+ </define>
+ <define name="dbs.collapsible.attribute">
+ <attribute name="dbs:collapsible">
+ <a:documentation>Attribute indicating a collapsible part</a:documentation>
+ <choice>
+ <value>0</value>
+ <a:documentation>disabled</a:documentation>
+ <value>1</value>
+ <a:documentation>enabled</a:documentation>
+ <value>expanded</value>
+ <a:documentation>enabled and expanded by default</a:documentation>
+ </choice>
+ </attribute>
+ </define>
+ <define name="dbs.style.attribute">
+ <attribute name="dbs:style">
+ <a:documentation>Attribute indicating a formatting style class</a:documentation>
+ </attribute>
+ </define>
+</grammar>
diff --git a/slides/schema/relaxng/svg.rng b/slides/schema/relaxng/svg.rng
new file mode 100644
index 0000000..c7d830c
--- /dev/null
+++ b/slides/schema/relaxng/svg.rng
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: svg.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:svg="http://www.w3.org/2000/svg" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
+ <define name="db.imageobject.content" combine="choice">
+ <ref name="db.imagedata.svg"/>
+ </define>
+ <!-- ============================================================ -->
+ <div>
+ <db:refname>imagedata</db:refname>
+ <db:refpurpose>An SVG drawing in a media object</db:refpurpose>
+ <define name="db.imagedata.svg.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.imagedata.svg.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.imagedata.svg.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <optional>
+ <attribute name="format">
+ <db:refpurpose>Specifies that the format of the data is SVG</db:refpurpose>
+ <value>svg</value>
+ <a:documentation>Specifies SVG.</a:documentation>
+ </attribute>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.align.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.valign.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.width.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.contentwidth.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.scalefit.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.scale.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.depth.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.imagedata.contentdepth.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.imagedata.svg.info">
+ <ref name="db._info.title.forbidden"/>
+ </define>
+ <define name="db.imagedata.svg">
+ <element name="imagedata">
+ <ref name="db.imagedata.svg.attlist"/>
+ <ref name="db.imagedata.svg.info"/>
+ <oneOrMore>
+ <ref name="db._any.svg"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ============================================================ -->
+ <div>
+ <db:refname>svg:*</db:refname>
+ <db:refpurpose>Any element from the SVG namespace</db:refpurpose>
+ <define name="db._any.svg">
+ <element>
+ <nsName ns="http://www.w3.org/2000/svg"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="db._any.attribute"/>
+ <text/>
+ <ref name="db._any"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/tasks.rng b/slides/schema/relaxng/tasks.rng
new file mode 100644
index 0000000..5d5c40d
--- /dev/null
+++ b/slides/schema/relaxng/tasks.rng
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: tasks.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start combine="choice">
+ <choice>
+ <ref name="db.task"/>
+ <ref name="db.taskprerequisites"/>
+ <ref name="db.taskrelated"/>
+ <ref name="db.tasksummary"/>
+ </choice>
+ </start>
+ <define name="db.technical.blocks" combine="choice">
+ <ref name="db.task"/>
+ </define>
+ <define name="db.task.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>task</db:refname>
+ <db:refpurpose>A task to be completed</db:refpurpose>
+ <define name="db.task.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.task.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.task.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.task">
+ <element name="task">
+ <ref name="db.task.attlist"/>
+ <ref name="db.task.info"/>
+ <optional>
+ <ref name="db.tasksummary"/>
+ </optional>
+ <optional>
+ <ref name="db.taskprerequisites"/>
+ </optional>
+ <ref name="db.procedure"/>
+ <zeroOrMore>
+ <ref name="db.example"/>
+ </zeroOrMore>
+ <optional>
+ <ref name="db.taskrelated"/>
+ </optional>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>tasksummary</db:refname>
+ <db:refpurpose>A summary of a task</db:refpurpose>
+ <define name="db.tasksummary.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.tasksummary.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.tasksummary.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.tasksummary.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.tasksummary">
+ <element name="tasksummary">
+ <ref name="db.tasksummary.attlist"/>
+ <ref name="db.tasksummary.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>taskprerequisites</db:refname>
+ <db:refpurpose>The prerequisites for a task</db:refpurpose>
+ <define name="db.taskprerequisites.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.taskprerequisites.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.taskprerequisites.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.taskprerequisites.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.taskprerequisites">
+ <element name="taskprerequisites">
+ <ref name="db.taskprerequisites.attlist"/>
+ <ref name="db.taskprerequisites.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>taskrelated</db:refname>
+ <db:refpurpose>Information related to a task</db:refpurpose>
+ <define name="db.taskrelated.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.taskrelated.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.taskrelated.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.taskrelated.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.taskrelated">
+ <element name="taskrelated">
+ <ref name="db.taskrelated.attlist"/>
+ <ref name="db.taskrelated.info"/>
+ <oneOrMore>
+ <ref name="db.all.blocks"/>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/technical.rng b/slides/schema/relaxng/technical.rng
new file mode 100644
index 0000000..4925f59
--- /dev/null
+++ b/slides/schema/relaxng/technical.rng
@@ -0,0 +1,220 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <define name="db.technical.inlines" combine="choice">
+ <choice>
+ <ref name="db.systemitem"/>
+ <ref name="db.option"/>
+ <ref name="db.optional"/>
+ <ref name="db.property"/>
+ </choice>
+ </define>
+ <!-- ====================================================================== -->
+ <define name="db.systemitem.inlines">
+ <ref name="db._text"/>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>systemitem</db:refname>
+ <db:refpurpose>A system-related item or term</db:refpurpose>
+ <define name="db.systemitem.class.enumeration">
+ <choice>
+ <value>daemon</value>
+ <a:documentation>A daemon or other system process (syslogd)</a:documentation>
+ <value>domainname</value>
+ <a:documentation>A domain name (example.com)</a:documentation>
+ <value>etheraddress</value>
+ <a:documentation>An ethernet address (00:05:4E:49:FD:8E)</a:documentation>
+ <value>event</value>
+ <a:documentation>An event of some sort (SIGHUP)</a:documentation>
+ <value>eventhandler</value>
+ <a:documentation>An event handler of some sort (hangup)</a:documentation>
+ <value>filesystem</value>
+ <a:documentation>A filesystem (ext3)</a:documentation>
+ <value>fqdomainname</value>
+ <a:documentation>A fully qualified domain name (my.example.com)</a:documentation>
+ <value>groupname</value>
+ <a:documentation>A group name (wheel)</a:documentation>
+ <value>ipaddress</value>
+ <a:documentation>An IP address (127.0.0.1)</a:documentation>
+ <value>library</value>
+ <a:documentation>A library (libncurses)</a:documentation>
+ <value>macro</value>
+ <a:documentation>A macro</a:documentation>
+ <value>netmask</value>
+ <a:documentation>A netmask (255.255.255.192)</a:documentation>
+ <value>newsgroup</value>
+ <a:documentation>A newsgroup (comp.text.xml)</a:documentation>
+ <value>osname</value>
+ <a:documentation>An operating system name (Hurd)</a:documentation>
+ <value>process</value>
+ <a:documentation>A process (gnome-cups-icon)</a:documentation>
+ <value>protocol</value>
+ <a:documentation>A protocol (ftp)</a:documentation>
+ <value>resource</value>
+ <a:documentation>A resource</a:documentation>
+ <value>securitycontext</value>
+ <a:documentation>A security context (a role, permission, or security token, for example)</a:documentation>
+ <value>server</value>
+ <a:documentation>A server (mail.example.com)</a:documentation>
+ <value>service</value>
+ <a:documentation>A service (ppp)</a:documentation>
+ <value>systemname</value>
+ <a:documentation>A system name (hephaistos)</a:documentation>
+ <value>username</value>
+ <a:documentation>A user name (ndw)</a:documentation>
+ </choice>
+ </define>
+ <define name="db.systemitem.class-enum.attribute">
+ <optional>
+ <attribute name="class">
+ <db:refpurpose>Identifies the nature of the system item</db:refpurpose>
+ <ref name="db.systemitem.class.enumeration"/>
+ </attribute>
+ </optional>
+ </define>
+ <define name="db.systemitem.class-other.attribute">
+ <attribute name="otherclass">
+ <db:refpurpose>Identifies the nature of the non-standard system item</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <define name="db.systemitem.class-other.attributes">
+ <interleave>
+ <attribute name="class">
+ <db:refpurpose>Identifies the kind of systemitemgraphic identifier</db:refpurpose>
+ <value>other</value>
+ <a:documentation>Indicates that the system item is some 'other' kind.</a:documentation>
+ </attribute>
+ <ref name="db.systemitem.class-other.attribute"/>
+ </interleave>
+ </define>
+ <define name="db.systemitem.class.attribute">
+ <choice>
+ <ref name="db.systemitem.class-enum.attribute"/>
+ <ref name="db.systemitem.class-other.attributes"/>
+ </choice>
+ </define>
+ <define name="db.systemitem.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.systemitem.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.systemitem.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.systemitem.class.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.systemitem">
+ <element name="systemitem">
+ <ref name="db.systemitem.attlist"/>
+ <zeroOrMore>
+ <ref name="db.systemitem.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>option</db:refname>
+ <db:refpurpose>An option for a software command</db:refpurpose>
+ <define name="db.option.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.option.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.option.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.option">
+ <element name="option">
+ <ref name="db.option.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>optional</db:refname>
+ <db:refpurpose>Optional information</db:refpurpose>
+ <define name="db.optional.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.optional.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.optional.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.optional">
+ <element name="optional">
+ <ref name="db.optional.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>property</db:refname>
+ <db:refpurpose>A unit of data associated with some part of a computer system</db:refpurpose>
+ <define name="db.property.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.property.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.property.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.property">
+ <element name="property">
+ <ref name="db.property.attlist"/>
+ <ref name="db._text"/>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/toc.rng b/slides/schema/relaxng/toc.rng
new file mode 100644
index 0000000..4394b0f
--- /dev/null
+++ b/slides/schema/relaxng/toc.rng
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: toc.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start combine="choice">
+ <choice>
+ <ref name="db.toc"/>
+ <ref name="db.tocdiv"/>
+ </choice>
+ </start>
+ <define name="db.navigation.components" combine="choice">
+ <ref name="db.toc"/>
+ </define>
+ <define name="db.toc.components" combine="choice">
+ <ref name="db.toc"/>
+ </define>
+ <define name="db.toc.pagenum.attribute">
+ <attribute name="pagenum">
+ <db:refpurpose>Indicates the page on which this element occurs in some version of the printed document</db:refpurpose>
+ </attribute>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>toc</db:refname>
+ <db:refpurpose>A table of contents</db:refpurpose>
+ <define name="db.toc.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.toc.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.toc.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ </interleave>
+ </define>
+ <define name="db.toc.info">
+ <ref name="db._info.title.only"/>
+ </define>
+ <define name="db.toc">
+ <element name="toc">
+ <ref name="db.toc.attlist"/>
+ <ref name="db.toc.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <choice>
+ <ref name="db.tocdiv"/>
+ <ref name="db.tocentry"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>tocdiv</db:refname>
+ <db:refpurpose>A division in a table of contents</db:refpurpose>
+ <define name="db.tocdiv.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.tocdiv.pagenum.attribute">
+ <ref name="db.toc.pagenum.attribute"/>
+ </define>
+ <define name="db.tocdiv.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.tocdiv.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <optional>
+ <ref name="db.tocdiv.pagenum.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.linkend.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.tocdiv.info">
+ <ref name="db._info"/>
+ </define>
+ <define name="db.tocdiv">
+ <element name="tocdiv">
+ <ref name="db.tocdiv.attlist"/>
+ <ref name="db.tocdiv.info"/>
+ <zeroOrMore>
+ <ref name="db.all.blocks"/>
+ </zeroOrMore>
+ <oneOrMore>
+ <choice>
+ <ref name="db.tocdiv"/>
+ <ref name="db.tocentry"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>tocentry</db:refname>
+ <db:refpurpose>A component title in a table of contents</db:refpurpose>
+ <define name="db.tocentry.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.tocentry.pagenum.attribute">
+ <ref name="db.toc.pagenum.attribute"/>
+ </define>
+ <define name="db.tocentry.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.tocentry.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <optional>
+ <ref name="db.tocentry.pagenum.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.linkend.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.tocentry">
+ <element name="tocentry">
+ <ref name="db.tocentry.attlist"/>
+ <zeroOrMore>
+ <ref name="db.all.inlines"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/topic.rng b/slides/schema/relaxng/topic.rng
new file mode 100644
index 0000000..4e683c1
--- /dev/null
+++ b/slides/schema/relaxng/topic.rng
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: hier.rnc 8569 2010-01-15 00:23:46Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:dbx="http://sourceforge.net/projects/docbook/defguide/schema/extra-markup" xmlns="http://relaxng.org/ns/structure/1.0">
+ <start combine="choice">
+ <ref name="db.topic"/>
+ </start>
+ <define name="db.book.components" combine="choice">
+ <zeroOrMore>
+ <ref name="db.topic"/>
+ </zeroOrMore>
+ </define>
+ <define name="db.part.contentmodel" combine="choice">
+ <oneOrMore>
+ <ref name="db.topic"/>
+ </oneOrMore>
+ </define>
+ <define name="db.chapter.contentmodel" combine="choice">
+ <oneOrMore>
+ <ref name="db.topic"/>
+ </oneOrMore>
+ </define>
+ <define name="db.appendix.contentmodel" combine="choice">
+ <oneOrMore>
+ <ref name="db.topic"/>
+ </oneOrMore>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>topic</db:refname>
+ <db:refpurpose>A modular unit of documentation not part of any particular narrative flow</db:refpurpose>
+ <define name="db.topic.status.attribute">
+ <ref name="db.status.attribute"/>
+ </define>
+ <define name="db.topic.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.topic.type.attribute">
+ <attribute name="type">
+ <db:refpurpose>Identifies the topic type</db:refpurpose>
+ </attribute>
+ </define>
+ <define name="db.topic.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.topic.role.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.topic.type.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <ref name="db.common.linking.attributes"/>
+ <optional>
+ <ref name="db.label.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.topic.status.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.topic.info">
+ <ref name="db._info.title.req"/>
+ </define>
+ <define name="db.topic">
+ <element name="topic">
+ <ref name="db.topic.attlist"/>
+ <ref name="db.topic.info"/>
+ <zeroOrMore>
+ <ref name="db.navigation.components"/>
+ </zeroOrMore>
+ <ref name="db.toplevel.blocks.or.sections"/>
+ <zeroOrMore>
+ <ref name="db.navigation.components"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/relaxng/xlink.rng b/slides/schema/relaxng/xlink.rng
new file mode 100644
index 0000000..3b1240f
--- /dev/null
+++ b/slides/schema/relaxng/xlink.rng
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: xlink.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <define name="db.info.elements" combine="choice">
+ <ref name="db.extendedlink"/>
+ </define>
+ <define name="db.xlink.from.attribute">
+ <attribute name="xlink:from">
+ <db:refpurpose>Specifies the XLink traversal-from</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <define name="db.xlink.label.attribute">
+ <attribute name="xlink:label">
+ <db:refpurpose>Specifies the XLink label</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <define name="db.xlink.to.attribute">
+ <attribute name="xlink:to">
+ <db:refpurpose>Specifies the XLink traversal-to</db:refpurpose>
+ <data type="NMTOKEN"/>
+ </attribute>
+ </define>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>extendedlink</db:refname>
+ <db:refpurpose>An XLink extended link</db:refpurpose>
+ <define name="db.extendedlink.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.extendedlink.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.extendedlink.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <optional>
+ <attribute name="xlink:type" a:defaultValue="extended">
+ <db:refpurpose>Identifies the XLink link type </db:refpurpose>
+ <value>extended</value>
+ <a:documentation>An XLink extended link</a:documentation>
+ </attribute>
+ </optional>
+ <optional>
+ <ref name="db.xlink.role.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xlink.title.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.extendedlink">
+ <element name="extendedlink">
+ <ref name="db.extendedlink.attlist"/>
+ <oneOrMore>
+ <choice>
+ <ref name="db.locator"/>
+ <ref name="db.arc"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>locator</db:refname>
+ <db:refpurpose>An XLink locator in an <db:tag>extendedlink</db:tag>
+ </db:refpurpose>
+ <define name="db.locator.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.locator.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.locator.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <optional>
+ <attribute name="xlink:type" a:defaultValue="locator">
+ <db:refpurpose>Identifies the XLink link type </db:refpurpose>
+ <value>locator</value>
+ <a:documentation>An XLink locator link</a:documentation>
+ </attribute>
+ </optional>
+ <ref name="db.xlink.href.attribute"/>
+ <optional>
+ <ref name="db.xlink.role.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xlink.title.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xlink.label.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.locator">
+ <element name="locator">
+ <ref name="db.locator.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+ <!-- ====================================================================== -->
+ <div>
+ <db:refname>arc</db:refname>
+ <db:refpurpose>An XLink arc in an <db:tag>extendedlink</db:tag>
+ </db:refpurpose>
+ <define name="db.arc.role.attribute">
+ <attribute name="role"/>
+ </define>
+ <define name="db.arc.attlist">
+ <interleave>
+ <optional>
+ <ref name="db.arc.role.attribute"/>
+ </optional>
+ <ref name="db.common.attributes"/>
+ <optional>
+ <attribute name="xlink:type" a:defaultValue="arc">
+ <db:refpurpose>Identifies the XLink link type </db:refpurpose>
+ <value>arc</value>
+ <a:documentation>An XLink arc link</a:documentation>
+ </attribute>
+ </optional>
+ <optional>
+ <ref name="db.xlink.arcrole.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xlink.title.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xlink.show.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xlink.actuate.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xlink.from.attribute"/>
+ </optional>
+ <optional>
+ <ref name="db.xlink.to.attribute"/>
+ </optional>
+ </interleave>
+ </define>
+ <define name="db.arc">
+ <element name="arc">
+ <ref name="db.arc.attlist"/>
+ <empty/>
+ </element>
+ </define>
+ </div>
+</grammar>
diff --git a/slides/schema/xsd/admonitions.xsd b/slides/schema/xsd/admonitions.xsd
new file mode 100644
index 0000000..7bda362
--- /dev/null
+++ b/slides/schema/xsd/admonitions.xsd
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- ====================================================================== -->
+ <xs:element name="db.admonition.blocks" abstract="true"/>
+ <xs:complexType name="db.admonition.contentmodel">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ </xs:complexType>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.caution.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.caution.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="caution" substitutionGroup="db:db.admonition.blocks">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.admonition.contentmodel">
+ <xs:attributeGroup ref="db:db.caution.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.important.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.important.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="important" substitutionGroup="db:db.admonition.blocks">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.admonition.contentmodel">
+ <xs:attributeGroup ref="db:db.important.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.note.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.note.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="note" substitutionGroup="db:db.admonition.blocks">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.admonition.contentmodel">
+ <xs:attributeGroup ref="db:db.note.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.tip.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.tip.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="tip" substitutionGroup="db:db.admonition.blocks">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.admonition.contentmodel">
+ <xs:attributeGroup ref="db:db.tip.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.warning.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.warning.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="warning" substitutionGroup="db:db.admonition.blocks">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.admonition.contentmodel">
+ <xs:attributeGroup ref="db:db.warning.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/annotations.xsd b/slides/schema/xsd/annotations.xsd
new file mode 100644
index 0000000..173daeb
--- /dev/null
+++ b/slides/schema/xsd/annotations.xsd
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: annotations.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:attributeGroup name="db.annotations.attribute">
+ <xs:attribute name="annotations" use="required"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.annotation.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.annotation.annotates.attribute">
+ <xs:attribute name="annotates" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.annotation.attlist">
+ <xs:attribute name="role"/>
+ <xs:attribute name="annotates"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.annotation.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="annotation">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.annotation.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.annotation.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/bibliography.xsd b/slides/schema/xsd/bibliography.xsd
new file mode 100644
index 0000000..1a37bef
--- /dev/null
+++ b/slides/schema/xsd/bibliography.xsd
@@ -0,0 +1,289 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: bibliography.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.relation.attribute">
+ <xs:attribute name="relation" use="required"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.biblioentry.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.biblioentry.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="biblioentry">
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.bibliographic.elements"/>
+ <xs:attributeGroup ref="db:db.biblioentry.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.bibliomixed.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliomixed.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="bibliomixed">
+ <xs:complexType mixed="true">
+ <xs:choice>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:honorific"/>
+ <xs:element ref="db:firstname"/>
+ <xs:element ref="db:surname"/>
+ <xs:element ref="db:lineage"/>
+ <xs:element ref="db:othername"/>
+ <xs:group ref="db:db.bibliographic.elements"/>
+ </xs:choice>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:honorific"/>
+ <xs:element ref="db:givenname"/>
+ <xs:element ref="db:surname"/>
+ <xs:element ref="db:lineage"/>
+ <xs:element ref="db:othername"/>
+ <xs:group ref="db:db.bibliographic.elements"/>
+ </xs:choice>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.bibliomixed.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.biblioset.relation.attribute">
+ <xs:attributeGroup ref="db:db.relation.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.biblioset.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.biblioset.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="relation"/>
+ </xs:attributeGroup>
+ <xs:element name="biblioset">
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.bibliographic.elements"/>
+ <xs:attributeGroup ref="db:db.biblioset.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.bibliomset.relation.attribute">
+ <xs:attributeGroup ref="db:db.relation.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliomset.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliomset.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="relation"/>
+ </xs:attributeGroup>
+ <xs:element name="bibliomset">
+ <xs:complexType mixed="true">
+ <xs:choice>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:honorific"/>
+ <xs:element ref="db:firstname"/>
+ <xs:element ref="db:surname"/>
+ <xs:element ref="db:lineage"/>
+ <xs:element ref="db:othername"/>
+ <xs:group ref="db:db.bibliographic.elements"/>
+ </xs:choice>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:honorific"/>
+ <xs:element ref="db:givenname"/>
+ <xs:element ref="db:surname"/>
+ <xs:element ref="db:lineage"/>
+ <xs:element ref="db:othername"/>
+ <xs:group ref="db:db.bibliographic.elements"/>
+ </xs:choice>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.bibliomset.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.bibliomisc.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliomisc.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="bibliomisc">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.bibliomisc.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.bibliography.status.attrib">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliography.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliography.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.bibliography.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="bibliography">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.bibliography.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:choice>
+ <xs:element maxOccurs="unbounded" ref="db:bibliodiv"/>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:biblioentry"/>
+ <xs:element ref="db:bibliomixed"/>
+ </xs:choice>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.bibliography.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.bibliodiv.status.attrib">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliodiv.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliodiv.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.bibliodiv.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="bibliodiv">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.bibliodiv.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:biblioentry"/>
+ <xs:element ref="db:bibliomixed"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.bibliodiv.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.bibliolist.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliolist.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.bibliolist.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="bibliolist">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group minOccurs="0" ref="db:db.bibliolist.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:biblioentry"/>
+ <xs:element ref="db:bibliomixed"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.bibliolist.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.biblioref.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.biblioref.xrefstyle.attribute">
+ <xs:attributeGroup ref="db:db.xrefstyle.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.biblioref.endterm.attribute">
+ <xs:attributeGroup ref="db:db.endterm.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.biblioref.units.attribute">
+ <xs:attribute name="units" use="required" type="xs:token"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.biblioref.begin.attribute">
+ <xs:attribute name="begin" use="required" type="xs:token"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.biblioref.end.attribute">
+ <xs:attribute name="end" use="required" type="xs:token"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.biblioref.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.req.linking.attributes"/>
+ <xs:attribute name="xrefstyle"/>
+ <xs:attribute name="endterm" type="xs:IDREF"/>
+ <xs:attribute name="units" type="xs:token"/>
+ <xs:attribute name="begin" type="xs:token"/>
+ <xs:attribute name="end" type="xs:token"/>
+ </xs:attributeGroup>
+ <xs:element name="biblioref">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.biblioref.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/callouts.xsd b/slides/schema/xsd/callouts.xsd
new file mode 100644
index 0000000..2205a32
--- /dev/null
+++ b/slides/schema/xsd/callouts.xsd
@@ -0,0 +1,406 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: callouts.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:group name="db.computeroutput.inlines">
+ <xs:choice>
+ <xs:element ref="db:co"/>
+ <xs:element ref="db:db.markup.inlines"/>
+ <xs:choice minOccurs="0">
+ <xs:group ref="db:db.ubiq.inlines"/>
+ <xs:element ref="db:db.os.inlines"/>
+ <xs:element ref="db:db.technical.inlines"/>
+ </xs:choice>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.prompt.inlines">
+ <xs:choice>
+ <xs:element ref="db:co"/>
+ <xs:group ref="db:db._text"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.systemitem.inlines">
+ <xs:choice>
+ <xs:element ref="db:co"/>
+ <xs:group ref="db:db._text"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.userinput.inlines">
+ <xs:choice>
+ <xs:element ref="db:co"/>
+ <xs:element ref="db:db.markup.inlines"/>
+ <xs:group ref="db:db.gui.inlines"/>
+ <xs:group ref="db:db.keyboard.inlines"/>
+ <xs:choice minOccurs="0">
+ <xs:group ref="db:db.ubiq.inlines"/>
+ <xs:element ref="db:db.os.inlines"/>
+ <xs:element ref="db:db.technical.inlines"/>
+ </xs:choice>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.area.units.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="calspair">
+ <xs:annotation>
+ <xs:documentation>Coordinates expressed as a pair of CALS graphic coordinates.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="linecolumn">
+ <xs:annotation>
+ <xs:documentation>Coordinates expressed as a line and column.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="linecolumnpair">
+ <xs:annotation>
+ <xs:documentation>Coordinates expressed as a pair of lines and columns.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="linerange">
+ <xs:annotation>
+ <xs:documentation>Coordinates expressed as a line range.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.area.units-enum.attribute">
+ <xs:attribute name="units" type="db:db.area.units.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.area.units-other.attributes">
+ <xs:attribute name="units">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Coordinates expressed in some non-standard units.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otherunits" use="required" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.area.units.attribute">
+ <xs:attribute name="units">
+ <xs:simpleType>
+ <xs:union memberTypes="db:db.area.units.enumeration">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Coordinates expressed in some non-standard units.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otherunits" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.calloutlist.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.calloutlist.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.calloutlist.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="calloutlist">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.calloutlist.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:element maxOccurs="unbounded" ref="db:callout"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.calloutlist.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.callout.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.callout.arearefs.attribute">
+ <xs:attribute name="arearefs" use="required" type="xs:IDREFS"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.callout.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.callout.arearefs.attribute"/>
+ </xs:attributeGroup>
+ <xs:element name="callout">
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:attributeGroup ref="db:db.callout.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.programlistingco.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.programlistingco.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.programlistingco.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="programlistingco" substitutionGroup="db:db.verbatim.blocks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.programlistingco.info"/>
+ <xs:element ref="db:areaspec"/>
+ <xs:element ref="db:programlisting"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:calloutlist"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.programlistingco.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.areaspec.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.areaspec.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.area.units.attribute"/>
+ </xs:attributeGroup>
+ <xs:element name="areaspec">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded">
+ <xs:group ref="db:db.area"/>
+ <xs:element ref="db:areaset"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.areaspec.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.area.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.area.linkends.attribute">
+ <xs:attribute name="linkends" use="required" type="xs:IDREFS"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.area.label.attribute">
+ <xs:attribute name="label" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.area.coords.attribute">
+ <xs:attribute name="coords" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.area.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="db:db.common.idreq.attributes"/>
+ <xs:attributeGroup ref="db:db.area.units.attribute"/>
+ <xs:attribute name="linkends" type="xs:IDREFS"/>
+ <xs:attribute ref="xlink:href"/>
+ <xs:attributeGroup ref="xlink:type"/>
+ <xs:attribute ref="xlink:role"/>
+ <xs:attribute ref="xlink:arcrole"/>
+ <xs:attribute ref="xlink:title"/>
+ <xs:attribute ref="xlink:show"/>
+ <xs:attribute ref="xlink:actuate"/>
+ <xs:attribute name="label"/>
+ <xs:attributeGroup ref="db:db.area.coords.attribute"/>
+ </xs:attributeGroup>
+ <xs:group name="db.area">
+ <xs:sequence>
+ <xs:element name="area">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="db:alt"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.area.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <!-- The only difference is that xml:id is optional -->
+ <xs:attributeGroup name="db.area.inareaset.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.area.units.attribute"/>
+ <xs:attribute name="linkends" type="xs:IDREFS"/>
+ <xs:attribute ref="xlink:href"/>
+ <xs:attributeGroup ref="xlink:type"/>
+ <xs:attribute ref="xlink:role"/>
+ <xs:attribute ref="xlink:arcrole"/>
+ <xs:attribute ref="xlink:title"/>
+ <xs:attribute ref="xlink:show"/>
+ <xs:attribute ref="xlink:actuate"/>
+ <xs:attribute name="label"/>
+ <xs:attributeGroup ref="db:db.area.coords.attribute"/>
+ </xs:attributeGroup>
+ <xs:group name="db.area.inareaset">
+ <xs:sequence>
+ <xs:element name="area">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="db:alt"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.area.inareaset.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.areaset.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.areaset.linkends.attribute">
+ <xs:attributeGroup ref="db:db.linkends.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.areaset.label.attribute">
+ <xs:attributeGroup ref="db:db.label.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.areaset.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="db:db.common.idreq.attributes"/>
+ <xs:attributeGroup ref="db:db.area.units.attribute"/>
+ <xs:attribute name="linkends" type="xs:IDREFS"/>
+ <xs:attribute ref="xlink:href"/>
+ <xs:attributeGroup ref="xlink:type"/>
+ <xs:attribute ref="xlink:role"/>
+ <xs:attribute ref="xlink:arcrole"/>
+ <xs:attribute ref="xlink:title"/>
+ <xs:attribute ref="xlink:show"/>
+ <xs:attribute ref="xlink:actuate"/>
+ <xs:attribute name="label"/>
+ </xs:attributeGroup>
+ <xs:element name="areaset">
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.area.inareaset"/>
+ <xs:attributeGroup ref="db:db.areaset.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.screenco.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.screenco.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.screenco.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="screenco" substitutionGroup="db:db.verbatim.blocks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.screenco.info"/>
+ <xs:element ref="db:areaspec"/>
+ <xs:element ref="db:screen"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:calloutlist"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.screenco.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.imageobjectco.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.imageobjectco.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.imageobjectco.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="imageobjectco" substitutionGroup="db:db.mediaobject.content">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.imageobjectco.info"/>
+ <xs:element ref="db:areaspec"/>
+ <xs:element maxOccurs="unbounded" ref="db:imageobject"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:calloutlist"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.imageobjectco.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.co.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.co.linkends.attribute">
+ <xs:attributeGroup ref="db:db.linkends.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.co.label.attribute">
+ <xs:attributeGroup ref="db:db.label.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.co.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="db:db.common.idreq.attributes"/>
+ <xs:attribute name="linkends" type="xs:IDREFS"/>
+ <xs:attribute name="label"/>
+ </xs:attributeGroup>
+ <xs:element name="co">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.co.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.coref.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.coref.label.attribute">
+ <xs:attributeGroup ref="db:db.label.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.coref.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.linkend.attribute"/>
+ <xs:attribute name="label"/>
+ </xs:attributeGroup>
+ <xs:element name="coref">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.coref.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/calstbl.xsd b/slides/schema/xsd/calstbl.xsd
new file mode 100644
index 0000000..bf1b447
--- /dev/null
+++ b/slides/schema/xsd/calstbl.xsd
@@ -0,0 +1,1425 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: calstbl.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:attributeGroup name="db.char.attribute">
+ <xs:attribute name="char" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.charoff.attribute">
+ <xs:attribute name="charoff" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:decimal">
+ <xs:minExclusive value="0"/>
+ <xs:maxExclusive value="100"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.frame.attribute">
+ <xs:attribute name="frame" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="all">
+ <xs:annotation>
+ <xs:documentation>Frame all four sides of the table. In some environments with limited control over table border formatting, such as HTML, this may imply additional borders.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="bottom">
+ <xs:annotation>
+ <xs:documentation>Frame only the bottom of the table.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="none">
+ <xs:annotation>
+ <xs:documentation>Place no border on the table. In some environments with limited control over table border formatting, such as HTML, this may disable other borders as well.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="sides">
+ <xs:annotation>
+ <xs:documentation>Frame the left and right sides of the table.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="top">
+ <xs:annotation>
+ <xs:documentation>Frame the top of the table.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="topbot">
+ <xs:annotation>
+ <xs:documentation>Frame the top and bottom of the table.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.colsep.attribute">
+ <xs:attribute name="colsep" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No column separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a column separator rule on the right</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.rowsep.attribute">
+ <xs:attribute name="rowsep" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No row separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a row separator rule below</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.orient.attribute">
+ <xs:attribute name="orient" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="land">
+ <xs:annotation>
+ <xs:documentation>90 degrees counter-clockwise from the rest of the text flow.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="port">
+ <xs:annotation>
+ <xs:documentation>The same orientation as the rest of the text flow.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.tabstyle.attribute">
+ <xs:attribute name="tabstyle" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.rowheader.attribute">
+ <xs:attribute name="rowheader" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="firstcol">
+ <xs:annotation>
+ <xs:documentation>Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers).</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="norowheader">
+ <xs:annotation>
+ <xs:documentation>Indicates that entries in the first column have no special significance with respect to column headers.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.align.attribute">
+ <xs:attribute name="align" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="center">
+ <xs:annotation>
+ <xs:documentation>Centered.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="char">
+ <xs:annotation>
+ <xs:documentation>Aligned on a particular character.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="justify">
+ <xs:annotation>
+ <xs:documentation>Left and right justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="left">
+ <xs:annotation>
+ <xs:documentation>Left justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="right">
+ <xs:annotation>
+ <xs:documentation>Right justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.valign.attribute">
+ <xs:attribute name="valign" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="bottom">
+ <xs:annotation>
+ <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="middle">
+ <xs:annotation>
+ <xs:documentation>Aligned in the middle.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="top">
+ <xs:annotation>
+ <xs:documentation>Aligned at the top of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.specify-col-by-colname.attributes">
+ <xs:attribute name="colname" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.specify-col-by-namest.attributes">
+ <xs:attribute name="namest" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.specify-span-by-spanspec.attributes">
+ <xs:attribute name="spanname" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.specify-span-directly.attributes">
+ <xs:attribute name="namest" use="required"/>
+ <xs:attribute name="nameend" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.column-spec.attributes">
+ <xs:attribute name="colname"/>
+ <xs:attribute name="namest"/>
+ <xs:attribute name="spanname"/>
+ <xs:attribute name="nameend"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.colname.attribute">
+ <xs:attribute name="colname" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.spanname.attribute">
+ <xs:attribute name="spanname" use="required"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.tgroup.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.tgroup.tgroupstyle.attribute">
+ <xs:attribute name="tgroupstyle" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.tgroup.cols.attribute">
+ <xs:attribute name="cols" use="required" type="xs:positiveInteger"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.tgroup.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="char"/>
+ <xs:attribute name="charoff">
+ <xs:simpleType>
+ <xs:restriction base="xs:decimal">
+ <xs:minExclusive value="0"/>
+ <xs:maxExclusive value="100"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="tgroupstyle"/>
+ <xs:attributeGroup ref="db:db.tgroup.cols.attribute"/>
+ <xs:attribute name="colsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No column separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a column separator rule on the right</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="rowsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No row separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a row separator rule below</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="align">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="center">
+ <xs:annotation>
+ <xs:documentation>Centered.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="char">
+ <xs:annotation>
+ <xs:documentation>Aligned on a particular character.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="justify">
+ <xs:annotation>
+ <xs:documentation>Left and right justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="left">
+ <xs:annotation>
+ <xs:documentation>Left justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="right">
+ <xs:annotation>
+ <xs:documentation>Right justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:element name="tgroup">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:colspec"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:spanspec"/>
+ <xs:group minOccurs="0" ref="db:db.cals.thead"/>
+ <xs:group minOccurs="0" ref="db:db.cals.tfoot"/>
+ <xs:group ref="db:db.cals.tbody"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.tgroup.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.colspec.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.colspec.colnum.attribute">
+ <xs:attribute name="colnum" use="required" type="xs:positiveInteger"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.colspec.colwidth.attribute">
+ <xs:attribute name="colwidth" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.colspec.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="colnum" type="xs:positiveInteger"/>
+ <xs:attribute name="char"/>
+ <xs:attribute name="colsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No column separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a column separator rule on the right</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="colwidth"/>
+ <xs:attribute name="charoff">
+ <xs:simpleType>
+ <xs:restriction base="xs:decimal">
+ <xs:minExclusive value="0"/>
+ <xs:maxExclusive value="100"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="colname"/>
+ <xs:attribute name="rowsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No row separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a row separator rule below</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="align">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="center">
+ <xs:annotation>
+ <xs:documentation>Centered.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="char">
+ <xs:annotation>
+ <xs:documentation>Aligned on a particular character.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="justify">
+ <xs:annotation>
+ <xs:documentation>Left and right justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="left">
+ <xs:annotation>
+ <xs:documentation>Left justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="right">
+ <xs:annotation>
+ <xs:documentation>Right justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:element name="colspec">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.colspec.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.spanspec.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.spanspec.namest.attribute">
+ <xs:attribute name="namest" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.spanspec.nameend.attribute">
+ <xs:attribute name="nameend" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.spanspec.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.spanname.attribute"/>
+ <xs:attributeGroup ref="db:db.spanspec.namest.attribute"/>
+ <xs:attributeGroup ref="db:db.spanspec.nameend.attribute"/>
+ <xs:attribute name="char"/>
+ <xs:attribute name="colsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No column separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a column separator rule on the right</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="charoff">
+ <xs:simpleType>
+ <xs:restriction base="xs:decimal">
+ <xs:minExclusive value="0"/>
+ <xs:maxExclusive value="100"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="rowsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No row separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a row separator rule below</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="align">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="center">
+ <xs:annotation>
+ <xs:documentation>Centered.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="char">
+ <xs:annotation>
+ <xs:documentation>Aligned on a particular character.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="justify">
+ <xs:annotation>
+ <xs:documentation>Left and right justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="left">
+ <xs:annotation>
+ <xs:documentation>Left justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="right">
+ <xs:annotation>
+ <xs:documentation>Right justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:element name="spanspec">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.spanspec.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.cals.thead.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.cals.thead.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="valign">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="bottom">
+ <xs:annotation>
+ <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="middle">
+ <xs:annotation>
+ <xs:documentation>Aligned in the middle.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="top">
+ <xs:annotation>
+ <xs:documentation>Aligned at the top of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:group name="db.cals.thead">
+ <xs:sequence>
+ <xs:element name="thead">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:colspec"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.row"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.cals.thead.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.cals.tfoot.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.cals.tfoot.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="valign">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="bottom">
+ <xs:annotation>
+ <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="middle">
+ <xs:annotation>
+ <xs:documentation>Aligned in the middle.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="top">
+ <xs:annotation>
+ <xs:documentation>Aligned at the top of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:group name="db.cals.tfoot">
+ <xs:sequence>
+ <xs:element name="tfoot">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:colspec"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.row"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.cals.tfoot.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.cals.tbody.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.cals.tbody.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="valign">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="bottom">
+ <xs:annotation>
+ <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="middle">
+ <xs:annotation>
+ <xs:documentation>Aligned in the middle.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="top">
+ <xs:annotation>
+ <xs:documentation>Aligned at the top of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:group name="db.cals.tbody">
+ <xs:sequence>
+ <xs:element name="tbody">
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.row"/>
+ <xs:attributeGroup ref="db:db.cals.tbody.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.row.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.row.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="rowsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No row separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a row separator rule below</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="valign">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="bottom">
+ <xs:annotation>
+ <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="middle">
+ <xs:annotation>
+ <xs:documentation>Aligned in the middle.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="top">
+ <xs:annotation>
+ <xs:documentation>Aligned at the top of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:group name="db.row">
+ <xs:sequence>
+ <xs:element name="row">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:entry"/>
+ <xs:element ref="db:entrytbl"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.row.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.entry.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.entry.morerows.attribute">
+ <xs:attribute name="morerows" use="required" type="xs:integer"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.entry.rotate.attribute">
+ <xs:attribute name="rotate" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>Do not rotate the cell.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Rotate the cell 90 degrees counter-clockwise.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.entry.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="valign">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="bottom">
+ <xs:annotation>
+ <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="middle">
+ <xs:annotation>
+ <xs:documentation>Aligned in the middle.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="top">
+ <xs:annotation>
+ <xs:documentation>Aligned at the top of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="char"/>
+ <xs:attribute name="colsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No column separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a column separator rule on the right</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="charoff">
+ <xs:simpleType>
+ <xs:restriction base="xs:decimal">
+ <xs:minExclusive value="0"/>
+ <xs:maxExclusive value="100"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="morerows" type="xs:integer"/>
+ <xs:attributeGroup ref="db:db.column-spec.attributes"/>
+ <xs:attribute name="rowsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No row separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a row separator rule below</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="rotate">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>Do not rotate the cell.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Rotate the cell 90 degrees counter-clockwise.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="align">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="center">
+ <xs:annotation>
+ <xs:documentation>Centered.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="char">
+ <xs:annotation>
+ <xs:documentation>Aligned on a particular character.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="justify">
+ <xs:annotation>
+ <xs:documentation>Left and right justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="left">
+ <xs:annotation>
+ <xs:documentation>Left justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="right">
+ <xs:annotation>
+ <xs:documentation>Right justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:element name="entry">
+ <xs:complexType mixed="true">
+ <xs:choice>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.entry.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.entrytbl.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.entrytbl.tgroupstyle.attribute">
+ <xs:attribute name="tgroupstyle" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.entrytbl.cols.attribute">
+ <xs:attribute name="cols" use="required" type="xs:positiveInteger"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.entrytbl.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="char"/>
+ <xs:attribute name="charoff">
+ <xs:simpleType>
+ <xs:restriction base="xs:decimal">
+ <xs:minExclusive value="0"/>
+ <xs:maxExclusive value="100"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attributeGroup ref="db:db.column-spec.attributes"/>
+ <xs:attribute name="tgroupstyle"/>
+ <xs:attribute name="cols" type="xs:positiveInteger"/>
+ <xs:attribute name="colsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No column separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a column separator rule on the right</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="rowsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No row separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a row separator rule below</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="align">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="center">
+ <xs:annotation>
+ <xs:documentation>Centered.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="char">
+ <xs:annotation>
+ <xs:documentation>Aligned on a particular character.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="justify">
+ <xs:annotation>
+ <xs:documentation>Left and right justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="left">
+ <xs:annotation>
+ <xs:documentation>Left justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="right">
+ <xs:annotation>
+ <xs:documentation>Right justified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:element name="entrytbl">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:colspec"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:spanspec"/>
+ <xs:group minOccurs="0" ref="db:db.cals.entrytbl.thead"/>
+ <xs:group ref="db:db.cals.entrytbl.tbody"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.entrytbl.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.cals.entrytbl.thead.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.cals.entrytbl.thead.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="valign">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="bottom">
+ <xs:annotation>
+ <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="middle">
+ <xs:annotation>
+ <xs:documentation>Aligned in the middle.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="top">
+ <xs:annotation>
+ <xs:documentation>Aligned at the top of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:group name="db.cals.entrytbl.thead">
+ <xs:sequence>
+ <xs:element name="thead">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:colspec"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.entrytbl.row"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.cals.entrytbl.thead.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.cals.entrytbl.tbody.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.cals.entrytbl.tbody.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="valign">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="bottom">
+ <xs:annotation>
+ <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="middle">
+ <xs:annotation>
+ <xs:documentation>Aligned in the middle.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="top">
+ <xs:annotation>
+ <xs:documentation>Aligned at the top of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:group name="db.cals.entrytbl.tbody">
+ <xs:sequence>
+ <xs:element name="tbody">
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.entrytbl.row"/>
+ <xs:attributeGroup ref="db:db.cals.entrytbl.tbody.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.entrytbl.row.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.entrytbl.row.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="rowsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No row separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a row separator rule below</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="valign">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="bottom">
+ <xs:annotation>
+ <xs:documentation>Aligned on the bottom of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="middle">
+ <xs:annotation>
+ <xs:documentation>Aligned in the middle.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="top">
+ <xs:annotation>
+ <xs:documentation>Aligned at the top of the entry.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:group name="db.entrytbl.row">
+ <xs:sequence>
+ <xs:element name="row">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:entry"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.entrytbl.row.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.cals.table.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.cals.table.label.attribute">
+ <xs:attributeGroup ref="db:db.label.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.cals.table.attlist">
+ <xs:attribute name="role"/>
+ <xs:attribute name="label"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="tabstyle"/>
+ <xs:attribute name="floatstyle"/>
+ <xs:attribute name="orient">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="land">
+ <xs:annotation>
+ <xs:documentation>90 degrees counter-clockwise from the rest of the text flow.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="port">
+ <xs:annotation>
+ <xs:documentation>The same orientation as the rest of the text flow.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="colsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No column separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a column separator rule on the right</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="rowsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No row separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a row separator rule below</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="frame">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="all">
+ <xs:annotation>
+ <xs:documentation>Frame all four sides of the table. In some environments with limited control over table border formatting, such as HTML, this may imply additional borders.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="bottom">
+ <xs:annotation>
+ <xs:documentation>Frame only the bottom of the table.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="none">
+ <xs:annotation>
+ <xs:documentation>Place no border on the table. In some environments with limited control over table border formatting, such as HTML, this may disable other borders as well.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="sides">
+ <xs:annotation>
+ <xs:documentation>Frame the left and right sides of the table.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="top">
+ <xs:annotation>
+ <xs:documentation>Frame the top of the table.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="topbot">
+ <xs:annotation>
+ <xs:documentation>Frame the top and bottom of the table.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="pgwide" type="db:db.pgwide.enumeration"/>
+ <xs:attribute name="shortentry">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>Indicates that the full title should be used.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Indicates that the short short title (titleabbrev) should be used.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="tocentry">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>Indicates that the table should not occur in the List of Tables.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Indicates that the table should appear in the List of Tables.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="rowheader">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="firstcol">
+ <xs:annotation>
+ <xs:documentation>Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers).</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="norowheader">
+ <xs:annotation>
+ <xs:documentation>Indicates that entries in the first column have no special significance with respect to column headers.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:group name="db.cals.table.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.onlyreq"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db.cals.table">
+ <xs:sequence>
+ <xs:element name="table">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.cals.table.info"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:alt"/>
+ <xs:group ref="db:db.indexing.inlines"/>
+ <xs:element ref="db:textobject"/>
+ </xs:choice>
+ <xs:choice>
+ <xs:element maxOccurs="unbounded" ref="db:mediaobject"/>
+ <xs:element maxOccurs="unbounded" ref="db:tgroup"/>
+ </xs:choice>
+ <xs:group minOccurs="0" ref="db:db.caption"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.cals.table.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.cals.informaltable.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.cals.informaltable.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="tabstyle"/>
+ <xs:attribute name="floatstyle"/>
+ <xs:attribute name="orient">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="land">
+ <xs:annotation>
+ <xs:documentation>90 degrees counter-clockwise from the rest of the text flow.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="port">
+ <xs:annotation>
+ <xs:documentation>The same orientation as the rest of the text flow.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="colsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No column separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a column separator rule on the right</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="rowsep">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>No row separator rule.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>Provide a row separator rule below</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="frame">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="all">
+ <xs:annotation>
+ <xs:documentation>Frame all four sides of the table. In some environments with limited control over table border formatting, such as HTML, this may imply additional borders.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="bottom">
+ <xs:annotation>
+ <xs:documentation>Frame only the bottom of the table.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="none">
+ <xs:annotation>
+ <xs:documentation>Place no border on the table. In some environments with limited control over table border formatting, such as HTML, this may disable other borders as well.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="sides">
+ <xs:annotation>
+ <xs:documentation>Frame the left and right sides of the table.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="top">
+ <xs:annotation>
+ <xs:documentation>Frame the top of the table.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="topbot">
+ <xs:annotation>
+ <xs:documentation>Frame the top and bottom of the table.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="pgwide" type="db:db.pgwide.enumeration"/>
+ <xs:attribute name="rowheader">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="firstcol">
+ <xs:annotation>
+ <xs:documentation>Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers).</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="norowheader">
+ <xs:annotation>
+ <xs:documentation>Indicates that entries in the first column have no special significance with respect to column headers.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:group name="db.cals.informaltable.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db.cals.informaltable">
+ <xs:sequence>
+ <xs:element name="informaltable">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.cals.informaltable.info"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:alt"/>
+ <xs:group ref="db:db.indexing.inlines"/>
+ <xs:element ref="db:textobject"/>
+ </xs:choice>
+ <xs:choice>
+ <xs:element maxOccurs="unbounded" ref="db:mediaobject"/>
+ <xs:element maxOccurs="unbounded" ref="db:tgroup"/>
+ </xs:choice>
+ <xs:group minOccurs="0" ref="db:db.caption"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.cals.informaltable.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+</xs:schema>
diff --git a/slides/schema/xsd/core.xsd b/slides/schema/xsd/core.xsd
new file mode 100644
index 0000000..12e7d64
--- /dev/null
+++ b/slides/schema/xsd/core.xsd
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: docbook.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook-slides" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook" schemaLocation="db.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+</xs:schema>
diff --git a/slides/schema/xsd/db.xsd b/slides/schema/xsd/db.xsd
new file mode 100644
index 0000000..1166405
--- /dev/null
+++ b/slides/schema/xsd/db.xsd
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:include schemaLocation="pool.xsd"/>
+ <xs:include schemaLocation="hier.xsd"/>
+ <xs:include schemaLocation="annotations.xsd"/>
+ <xs:include schemaLocation="xlink1.xsd"/>
+ <xs:include schemaLocation="sect1.xsd"/>
+ <xs:include schemaLocation="refentry.xsd"/>
+ <xs:include schemaLocation="refsect1.xsd"/>
+ <xs:include schemaLocation="glossary.xsd"/>
+ <xs:include schemaLocation="bibliography.xsd"/>
+ <xs:include schemaLocation="index.xsd"/>
+ <xs:include schemaLocation="toc.xsd"/>
+ <xs:include schemaLocation="tasks.xsd"/>
+ <xs:include schemaLocation="callouts.xsd"/>
+ <xs:include schemaLocation="ebnf.xsd"/>
+ <xs:include schemaLocation="calstbl.xsd"/>
+ <xs:include schemaLocation="htmltbl.xsd"/>
+ <xs:include schemaLocation="msgset.xsd"/>
+ <xs:include schemaLocation="qandaset.xsd"/>
+ <xs:include schemaLocation="math.xsd"/>
+ <xs:include schemaLocation="mathml.xsd"/>
+ <xs:include schemaLocation="svg.xsd"/>
+ <xs:include schemaLocation="markup.xsd"/>
+ <xs:include schemaLocation="product.xsd"/>
+ <xs:include schemaLocation="gui.xsd"/>
+ <xs:include schemaLocation="keyboard.xsd"/>
+ <xs:include schemaLocation="os.xsd"/>
+ <xs:include schemaLocation="programming.xsd"/>
+ <xs:include schemaLocation="admonitions.xsd"/>
+ <xs:include schemaLocation="error.xsd"/>
+ <xs:include schemaLocation="technical.xsd"/>
+ <xs:include schemaLocation="topic.xsd"/>
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+</xs:schema>
diff --git a/slides/schema/xsd/docbook.xsd b/slides/schema/xsd/docbook.xsd
new file mode 100644
index 0000000..9fe8fad
--- /dev/null
+++ b/slides/schema/xsd/docbook.xsd
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook-slides" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:include schemaLocation="docbook1.xsd"/>
+ <xs:import namespace="http://docbook.org/ns/docbook" schemaLocation="db.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: docbook.rnc 7661 2008-02-06 13:52:59Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+ -->
+</xs:schema>
diff --git a/slides/schema/xsd/docbook1.xsd b/slides/schema/xsd/docbook1.xsd
new file mode 100644
index 0000000..50669f7
--- /dev/null
+++ b/slides/schema/xsd/docbook1.xsd
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: docbook.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook-slides" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:include schemaLocation="core.xsd"/>
+ <xs:import namespace="http://docbook.org/ns/docbook" schemaLocation="db.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+</xs:schema>
diff --git a/slides/schema/xsd/ebnf.xsd b/slides/schema/xsd/ebnf.xsd
new file mode 100644
index 0000000..08a5f14
--- /dev/null
+++ b/slides/schema/xsd/ebnf.xsd
@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: ebnf.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.productionset.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.productionset.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.productionset.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="productionset">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.productionset.info"/>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:production"/>
+ <xs:element ref="db:productionrecap"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.productionset.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.production.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.production.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="db:db.common.idreq.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="production">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="db:lhs"/>
+ <xs:element ref="db:rhs"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:constraint"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.production.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.lhs.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.lhs.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="lhs">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="db:db.lhs.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.rhs.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.rhs.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="rhs">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:nonterminal"/>
+ <xs:element ref="db:lineannotation"/>
+ <xs:element ref="db:sbr"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.rhs.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.nonterminal.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.nonterminal.def.attribute">
+ <xs:attribute name="def" use="required" type="xs:anyURI"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.nonterminal.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.nonterminal.def.attribute"/>
+ </xs:attributeGroup>
+ <xs:element name="nonterminal" substitutionGroup="db:db.technical.inlines">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="db:db.nonterminal.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.constraint.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.constraint.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.req.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="constraint">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.constraint.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.productionrecap.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.productionrecap.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.req.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="productionrecap">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.productionrecap.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.constraintdef.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.constraintdef.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.constraintdef.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="constraintdef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.constraintdef.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.constraintdef.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/error.xsd b/slides/schema/xsd/error.xsd
new file mode 100644
index 0000000..3b08196
--- /dev/null
+++ b/slides/schema/xsd/error.xsd
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:element name="db.error.inlines" abstract="true"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.errorcode.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.errorcode.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="errorcode" substitutionGroup="db:db.error.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.errorcode.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.errorname.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.errorname.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="errorname" substitutionGroup="db:db.error.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.errorname.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.errortext.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.errortext.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="errortext" substitutionGroup="db:db.error.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.errortext.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.errortype.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.errortype.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="errortype" substitutionGroup="db:db.error.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.errortype.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/glossary.xsd b/slides/schema/xsd/glossary.xsd
new file mode 100644
index 0000000..9a11e84
--- /dev/null
+++ b/slides/schema/xsd/glossary.xsd
@@ -0,0 +1,319 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: glossary.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:group name="db.glossary.inlines">
+ <xs:choice>
+ <xs:group ref="db:db.firstterm"/>
+ <xs:group ref="db:db.glossterm"/>
+ <xs:group ref="db:db._firstterm"/>
+ <xs:group ref="db:db._glossterm"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.baseform.attribute">
+ <xs:attribute name="baseform"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.glosslist.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.glosslist.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.glosslist.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="glosslist">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group minOccurs="0" ref="db:db.glosslist.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:element maxOccurs="unbounded" ref="db:glossentry"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.glosslist.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.glossentry.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.glossentry.sortas.attribute">
+ <xs:attribute name="sortas" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.glossentry.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="sortas"/>
+ </xs:attributeGroup>
+ <xs:element name="glossentry">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.glossterm"/>
+ <xs:element minOccurs="0" ref="db:acronym"/>
+ <xs:element minOccurs="0" ref="db:abbrev"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.indexterm"/>
+ <xs:choice>
+ <xs:element ref="db:glosssee"/>
+ <xs:element maxOccurs="unbounded" ref="db:glossdef"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.glossentry.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.glossdef.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.glossdef.subject.attribute">
+ <xs:attribute name="subject" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.glossdef.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="subject"/>
+ </xs:attributeGroup>
+ <xs:element name="glossdef">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:glossseealso"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.glossdef.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.glosssee.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.glosssee.otherterm.attribute">
+ <xs:attribute name="otherterm" use="required" type="xs:IDREF"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.glosssee.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="otherterm" type="xs:IDREF"/>
+ </xs:attributeGroup>
+ <xs:element name="glosssee">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.glosssee.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.glossseealso.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.glossseealso.otherterm.attribute">
+ <xs:attribute name="otherterm" use="required" type="xs:IDREF"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.glossseealso.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="otherterm" type="xs:IDREF"/>
+ </xs:attributeGroup>
+ <xs:element name="glossseealso">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.glossseealso.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.firstterm.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.firstterm.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.baseform.attribute"/>
+ </xs:attributeGroup>
+ <xs:group name="db.firstterm">
+ <xs:sequence>
+ <xs:element name="firstterm">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.firstterm.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db._firstterm.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db._firstterm.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.baseform.attribute"/>
+ </xs:attributeGroup>
+ <xs:group name="db._firstterm">
+ <xs:sequence>
+ <xs:element name="firstterm">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db._firstterm.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.glossterm.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.glossterm.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.baseform.attribute"/>
+ </xs:attributeGroup>
+ <xs:group name="db.glossterm">
+ <xs:sequence>
+ <xs:element name="glossterm">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.glossterm.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db._glossterm.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db._glossterm.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.baseform.attribute"/>
+ </xs:attributeGroup>
+ <xs:group name="db._glossterm">
+ <xs:sequence>
+ <xs:element name="glossterm">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db._glossterm.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.glossary.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.glossary.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.glossary.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.glossary.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="glossary">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.glossary.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:glossdiv"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:glossentry"/>
+ </xs:choice>
+ <xs:element minOccurs="0" ref="db:bibliography"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.glossary.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.glossdiv.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.glossdiv.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.glossdiv.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.glossdiv.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="glossdiv">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.glossdiv.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:element maxOccurs="unbounded" ref="db:glossentry"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.glossdiv.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.termdef.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.termdef.attlist">
+ <xs:attribute name="role"/>
+ <xs:attribute name="sortas"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.baseform.attribute"/>
+ </xs:attributeGroup>
+ <xs:element name="termdef" substitutionGroup="db:db.technical.inlines">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.termdef.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/gui.xsd b/slides/schema/xsd/gui.xsd
new file mode 100644
index 0000000..56fdb04
--- /dev/null
+++ b/slides/schema/xsd/gui.xsd
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:group name="db.keycombination.contentmodel">
+ <xs:choice>
+ <xs:element ref="db:mousebutton"/>
+ <xs:choice>
+ <xs:element ref="db:keycap"/>
+ <xs:element ref="db:keycombo"/>
+ <xs:element ref="db:keysym"/>
+ </xs:choice>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.gui.inlines">
+ <xs:choice>
+ <xs:element ref="db:guiicon"/>
+ <xs:element ref="db:guibutton"/>
+ <xs:element ref="db:guimenuitem"/>
+ <xs:element ref="db:guimenu"/>
+ <xs:element ref="db:guisubmenu"/>
+ <xs:element ref="db:guilabel"/>
+ <xs:element ref="db:menuchoice"/>
+ <xs:element ref="db:mousebutton"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.guibutton.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.guibutton.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="guibutton">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:accel"/>
+ <xs:element ref="db:superscript"/>
+ <xs:element ref="db:subscript"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.guibutton.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.guiicon.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.guiicon.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="guiicon">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:accel"/>
+ <xs:element ref="db:superscript"/>
+ <xs:element ref="db:subscript"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.guiicon.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.guilabel.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.guilabel.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="guilabel">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:accel"/>
+ <xs:element ref="db:superscript"/>
+ <xs:element ref="db:subscript"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.guilabel.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.guimenu.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.guimenu.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="guimenu">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:accel"/>
+ <xs:element ref="db:superscript"/>
+ <xs:element ref="db:subscript"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.guimenu.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.guimenuitem.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.guimenuitem.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="guimenuitem">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:accel"/>
+ <xs:element ref="db:superscript"/>
+ <xs:element ref="db:subscript"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.guimenuitem.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.guisubmenu.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.guisubmenu.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="guisubmenu">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:accel"/>
+ <xs:element ref="db:superscript"/>
+ <xs:element ref="db:subscript"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.guisubmenu.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.menuchoice.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.menuchoice.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="menuchoice">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="db:shortcut"/>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:guibutton"/>
+ <xs:element ref="db:guiicon"/>
+ <xs:element ref="db:guilabel"/>
+ <xs:element ref="db:guimenu"/>
+ <xs:element ref="db:guimenuitem"/>
+ <xs:element ref="db:guisubmenu"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.menuchoice.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.mousebutton.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.mousebutton.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="mousebutton">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.mousebutton.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/hier.xsd b/slides/schema/xsd/hier.xsd
new file mode 100644
index 0000000..59a9750
--- /dev/null
+++ b/slides/schema/xsd/hier.xsd
@@ -0,0 +1,606 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: hier.rnc 8994 2011-04-19 20:07:33Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:attributeGroup name="db.status.attribute">
+ <xs:attribute name="status" use="required"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:group name="db.toplevel.sections">
+ <xs:choice>
+ <xs:choice>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:section"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:choice>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:sect1"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:refentry"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.toplevel.blocks.or.sections">
+ <xs:choice>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.toplevel.sections"/>
+ </xs:sequence>
+ <xs:group ref="db:db.toplevel.sections"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.recursive.sections">
+ <xs:choice>
+ <xs:choice>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:section"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:choice>
+ <xs:element maxOccurs="unbounded" ref="db:refentry"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.recursive.blocks.or.sections">
+ <xs:choice>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.recursive.sections"/>
+ </xs:sequence>
+ <xs:group ref="db:db.recursive.sections"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:element name="db.divisions" abstract="true"/>
+ <xs:element name="db.components" abstract="true"/>
+ <xs:group name="db.navigation.components">
+ <xs:choice>
+ <xs:element ref="db:glossary"/>
+ <xs:element ref="db:bibliography"/>
+ <xs:element ref="db:index"/>
+ <xs:element ref="db:toc"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.component.contentmodel">
+ <xs:sequence>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
+ <xs:group ref="db:db.toplevel.blocks.or.sections"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:element name="db.setindex.components" abstract="true">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.setindex.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:indexdiv"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:indexentry"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.setindex.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:group name="db.toc.components">
+ <xs:sequence>
+ <xs:element ref="db:toc"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="db.set.components" abstract="true"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.set.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.set.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.set.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.set.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="set" substitutionGroup="db:db.set.components">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.set.info"/>
+ <xs:group minOccurs="0" ref="db:db.toc.components"/>
+ <xs:element maxOccurs="unbounded" ref="db:db.set.components"/>
+ <xs:element minOccurs="0" ref="db:db.setindex.components"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.set.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.book.components">
+ <xs:choice>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db.navigation.components"/>
+ <xs:element ref="db:db.components"/>
+ <xs:element ref="db:db.divisions"/>
+ </xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:topic"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.book.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.book.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.book.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.book.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="book" substitutionGroup="db:db.set.components">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.book.info"/>
+ <xs:group ref="db:db.book.components"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.book.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.dedication.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.dedication.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.dedication.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.dedication.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="dedication" substitutionGroup="db:db.components">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.dedication.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.dedication.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.acknowledgements.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.acknowledgements.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.acknowledgements.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.acknowledgements.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="acknowledgements" substitutionGroup="db:db.components">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.acknowledgements.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.acknowledgements.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.colophon.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.colophon.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.colophon.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.colophon.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="colophon" substitutionGroup="db:db.components">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.colophon.info"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:sequence>
+ <xs:sequence>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:element maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:sequence>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.colophon.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.appendix.contentmodel">
+ <xs:choice>
+ <xs:group ref="db:db.component.contentmodel"/>
+ <xs:element maxOccurs="unbounded" ref="db:topic"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.appendix.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.appendix.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.appendix.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.appendix.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="appendix" substitutionGroup="db:db.components">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.appendix.info"/>
+ <xs:group ref="db:db.appendix.contentmodel"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.appendix.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.chapter.contentmodel">
+ <xs:choice>
+ <xs:group ref="db:db.component.contentmodel"/>
+ <xs:element maxOccurs="unbounded" ref="db:topic"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.chapter.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.chapter.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.chapter.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.chapter.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="chapter" substitutionGroup="db:db.components">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.chapter.info"/>
+ <xs:group ref="db:db.chapter.contentmodel"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.chapter.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.part.components">
+ <xs:choice>
+ <xs:choice>
+ <xs:group ref="db:db.navigation.components"/>
+ <xs:element ref="db:db.components"/>
+ </xs:choice>
+ <xs:choice>
+ <xs:element ref="db:refentry"/>
+ <xs:element ref="db:reference"/>
+ </xs:choice>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.part.contentmodel">
+ <xs:choice>
+ <xs:group maxOccurs="unbounded" ref="db:db.part.components"/>
+ <xs:element maxOccurs="unbounded" ref="db:topic"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.part.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.part.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.part.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.part.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="part" substitutionGroup="db:db.divisions">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.part.info"/>
+ <xs:element minOccurs="0" ref="db:partintro"/>
+ <xs:group ref="db:db.part.contentmodel"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.part.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.preface.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.preface.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.preface.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.preface.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="preface" substitutionGroup="db:db.components">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.preface.info"/>
+ <xs:group ref="db:db.component.contentmodel"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.preface.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.partintro.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.partintro.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.partintro.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.partintro.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="partintro">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.partintro.info"/>
+ <xs:group ref="db:db.toplevel.blocks.or.sections"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.partintro.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.section.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.section.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.section.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.section.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="section">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.section.info"/>
+ <xs:group ref="db:db.recursive.blocks.or.sections"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.section.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.simplesect.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.simplesect.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.simplesect.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.simplesect.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="simplesect">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.simplesect.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.simplesect.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.article.components">
+ <xs:sequence>
+ <xs:group ref="db:db.toplevel.sections"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db.article.navcomponents">
+ <xs:choice>
+ <xs:group ref="db:db.navigation.components"/>
+ <xs:element ref="db:acknowledgements"/>
+ <xs:element ref="db:dedication"/>
+ <xs:element ref="db:appendix"/>
+ <xs:element ref="db:colophon"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.article.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.article.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="faq">
+ <xs:annotation>
+ <xs:documentation>A collection of frequently asked questions.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="journalarticle">
+ <xs:annotation>
+ <xs:documentation>An article in a journal or other periodical.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="productsheet">
+ <xs:annotation>
+ <xs:documentation>A description of a product.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="specification">
+ <xs:annotation>
+ <xs:documentation>A specification.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="techreport">
+ <xs:annotation>
+ <xs:documentation>A technical report.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="whitepaper">
+ <xs:annotation>
+ <xs:documentation>A white paper.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.article.class.attribute">
+ <xs:attribute name="class" use="required" type="db:db.article.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.article.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.article.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ <xs:attribute name="class" type="db:db.article.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:group name="db.article.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="article" substitutionGroup="db:db.components">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.article.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.article.navcomponents"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.article.components"/>
+ </xs:sequence>
+ <xs:group ref="db:db.article.components"/>
+ </xs:choice>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.article.navcomponents"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.article.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/htmltbl.xsd b/slides/schema/xsd/htmltbl.xsd
new file mode 100644
index 0000000..61c68a4
--- /dev/null
+++ b/slides/schema/xsd/htmltbl.xsd
@@ -0,0 +1,536 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: htmltbl.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:attributeGroup name="db.html.coreattrs">
+ <xs:attribute name="class"/>
+ <xs:attribute name="style"/>
+ <xs:attribute name="title"/>
+ </xs:attributeGroup>
+ <!-- dir isn't listed here because it's already a common attribute -->
+ <xs:attributeGroup name="db.html.i18n">
+ <xs:attribute name="lang"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.html.events">
+ <xs:attribute name="onclick"/>
+ <xs:attribute name="ondblclick"/>
+ <xs:attribute name="onmousedown"/>
+ <xs:attribute name="onmouseup"/>
+ <xs:attribute name="onmouseover"/>
+ <xs:attribute name="onmousemove"/>
+ <xs:attribute name="onmouseout"/>
+ <xs:attribute name="onkeypress"/>
+ <xs:attribute name="onkeydown"/>
+ <xs:attribute name="onkeyup"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.html.attrs">
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.html.coreattrs"/>
+ <xs:attributeGroup ref="db:db.html.i18n"/>
+ <xs:attributeGroup ref="db:db.html.events"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.html.cellhalign">
+ <xs:attribute name="align">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="left">
+ <xs:annotation>
+ <xs:documentation>Left-flush data/Left-justify text. This is the default value for table data.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="center">
+ <xs:annotation>
+ <xs:documentation>Center data/Center-justify text. This is the default value for table headers.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="right">
+ <xs:annotation>
+ <xs:documentation>Right-flush data/Right-justify text.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="justify">
+ <xs:annotation>
+ <xs:documentation>Double-justify text.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="char">
+ <xs:annotation>
+ <xs:documentation>Align text around a specific character. If a user agent doesn't support character alignment, behavior in the presence of this value is unspecified.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="char"/>
+ <xs:attribute name="charoff">
+ <xs:simpleType>
+ <xs:union memberTypes="xs:integer">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[0-9]+%"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.html.cellvalign">
+ <xs:attribute name="valign">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="top">
+ <xs:annotation>
+ <xs:documentation>Cell data is flush with the top of the cell.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="middle">
+ <xs:annotation>
+ <xs:documentation>Cell data is centered vertically within the cell. This is the default value.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="bottom">
+ <xs:annotation>
+ <xs:documentation>Cell data is flush with the bottom of the cell.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="baseline">
+ <xs:annotation>
+ <xs:documentation>All cells in the same row as a cell whose valign attribute has this value should have their textual data positioned so that the first text line occurs on a baseline common to all cells in the row. This constraint does not apply to subsequent text lines in these cells.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.html.table.attributes">
+ <xs:attribute name="summary"/>
+ <xs:attribute name="width">
+ <xs:simpleType>
+ <xs:union memberTypes="xs:integer">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[0-9]+%"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="border" type="xs:nonNegativeInteger"/>
+ <xs:attribute name="frame">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="void">
+ <xs:annotation>
+ <xs:documentation>No sides. This is the default value.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="above">
+ <xs:annotation>
+ <xs:documentation>The top side only.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="below">
+ <xs:annotation>
+ <xs:documentation>The bottom side only.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="hsides">
+ <xs:annotation>
+ <xs:documentation>The top and bottom sides only.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="lhs">
+ <xs:annotation>
+ <xs:documentation>The left-hand side only.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="rhs">
+ <xs:annotation>
+ <xs:documentation>The right-hand side only.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="vsides">
+ <xs:annotation>
+ <xs:documentation>The right and left sides only.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="box">
+ <xs:annotation>
+ <xs:documentation>All four sides.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="border">
+ <xs:annotation>
+ <xs:documentation>All four sides.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="rules">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="none">
+ <xs:annotation>
+ <xs:documentation>No rules. This is the default value.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="groups">
+ <xs:annotation>
+ <xs:documentation>Rules will appear between row groups (see thead, tfoot, and tbody) and column groups (see colgroup and col) only.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="rows">
+ <xs:annotation>
+ <xs:documentation>Rules will appear between rows only.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="cols">
+ <xs:annotation>
+ <xs:documentation>Rules will appear between columns only.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="all">
+ <xs:annotation>
+ <xs:documentation>Rules will appear between all rows and columns.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="cellspacing">
+ <xs:simpleType>
+ <xs:union memberTypes="xs:integer">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[0-9]+%"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="cellpadding">
+ <xs:simpleType>
+ <xs:union memberTypes="xs:integer">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[0-9]+%"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.html.tablecell.attributes">
+ <xs:attribute name="abbr"/>
+ <xs:attribute name="axis"/>
+ <xs:attribute name="headers"/>
+ <xs:attribute name="scope">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="row">
+ <xs:annotation>
+ <xs:documentation>The current cell provides header information for the rest of the row that contains it</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="col">
+ <xs:annotation>
+ <xs:documentation>The current cell provides header information for the rest of the column that contains it.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="rowgroup">
+ <xs:annotation>
+ <xs:documentation>The header cell provides header information for the rest of the row group that contains it.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="colgroup">
+ <xs:annotation>
+ <xs:documentation>The header cell provides header information for the rest of the column group that contains it.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="rowspan" type="xs:nonNegativeInteger"/>
+ <xs:attribute name="colspan" type="xs:nonNegativeInteger"/>
+ </xs:attributeGroup>
+ <xs:group name="db.html.table.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:complexType name="db.html.table.model">
+ <xs:sequence>
+ <xs:group minOccurs="0" ref="db:db.html.table.info"/>
+ <xs:group ref="db:db.html.caption"/>
+ <xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:col"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:colgroup"/>
+ </xs:choice>
+ <xs:group minOccurs="0" ref="db:db.html.thead"/>
+ <xs:group minOccurs="0" ref="db:db.html.tfoot"/>
+ <xs:choice>
+ <xs:group maxOccurs="unbounded" ref="db:db.html.tbody"/>
+ <xs:element maxOccurs="unbounded" ref="db:tr"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:group name="db.html.informaltable.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:complexType name="db.html.informaltable.model">
+ <xs:sequence>
+ <xs:group minOccurs="0" ref="db:db.html.informaltable.info"/>
+ <xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:col"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:colgroup"/>
+ </xs:choice>
+ <xs:group minOccurs="0" ref="db:db.html.thead"/>
+ <xs:group minOccurs="0" ref="db:db.html.tfoot"/>
+ <xs:choice>
+ <xs:group maxOccurs="unbounded" ref="db:db.html.tbody"/>
+ <xs:element maxOccurs="unbounded" ref="db:tr"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.html.table.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.html.table.label.attribute">
+ <xs:attributeGroup ref="db:db.label.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.html.table.attlist">
+ <xs:attributeGroup ref="db:db.html.attrs"/>
+ <xs:attributeGroup ref="db:db.html.table.attributes"/>
+ <xs:attribute name="role"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="orient">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="land">
+ <xs:annotation>
+ <xs:documentation>90 degrees counter-clockwise from the rest of the text flow.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="port">
+ <xs:annotation>
+ <xs:documentation>The same orientation as the rest of the text flow.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="pgwide" type="db:db.pgwide.enumeration"/>
+ <xs:attribute name="tabstyle"/>
+ <xs:attribute name="floatstyle"/>
+ </xs:attributeGroup>
+ <xs:group name="db.html.table">
+ <xs:sequence>
+ <xs:element name="table">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.html.table.model">
+ <xs:attributeGroup ref="db:db.html.table.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.html.informaltable.attlist">
+ <xs:attributeGroup ref="db:db.html.attrs"/>
+ <xs:attributeGroup ref="db:db.html.table.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.html.informaltable">
+ <xs:sequence>
+ <xs:element name="informaltable">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.html.informaltable.model">
+ <xs:attributeGroup ref="db:db.html.informaltable.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.html.caption.attlist">
+ <xs:attributeGroup ref="db:db.html.attrs"/>
+ </xs:attributeGroup>
+ <xs:group name="db.html.caption">
+ <xs:sequence>
+ <xs:element name="caption">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.html.caption.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.html.col.attlist">
+ <xs:attributeGroup ref="db:db.html.attrs"/>
+ <xs:attribute name="span" type="xs:nonNegativeInteger"/>
+ <xs:attribute name="width"/>
+ <xs:attributeGroup ref="db:db.html.cellhalign"/>
+ <xs:attributeGroup ref="db:db.html.cellvalign"/>
+ </xs:attributeGroup>
+ <xs:element name="col">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.html.col.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.html.colgroup.attlist">
+ <xs:attributeGroup ref="db:db.html.attrs"/>
+ <xs:attribute name="span" type="xs:nonNegativeInteger"/>
+ <xs:attribute name="width"/>
+ <xs:attributeGroup ref="db:db.html.cellhalign"/>
+ <xs:attributeGroup ref="db:db.html.cellvalign"/>
+ </xs:attributeGroup>
+ <xs:element name="colgroup">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:col"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.html.colgroup.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.html.thead.attlist">
+ <xs:attributeGroup ref="db:db.html.attrs"/>
+ <xs:attributeGroup ref="db:db.html.cellhalign"/>
+ <xs:attributeGroup ref="db:db.html.cellvalign"/>
+ </xs:attributeGroup>
+ <xs:group name="db.html.thead">
+ <xs:sequence>
+ <xs:element name="thead">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:tr"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.html.thead.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.html.tfoot.attlist">
+ <xs:attributeGroup ref="db:db.html.attrs"/>
+ <xs:attributeGroup ref="db:db.html.cellhalign"/>
+ <xs:attributeGroup ref="db:db.html.cellvalign"/>
+ </xs:attributeGroup>
+ <xs:group name="db.html.tfoot">
+ <xs:sequence>
+ <xs:element name="tfoot">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:tr"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.html.tfoot.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.html.tbody.attlist">
+ <xs:attributeGroup ref="db:db.html.attrs"/>
+ <xs:attributeGroup ref="db:db.html.cellhalign"/>
+ <xs:attributeGroup ref="db:db.html.cellvalign"/>
+ </xs:attributeGroup>
+ <xs:group name="db.html.tbody">
+ <xs:sequence>
+ <xs:element name="tbody">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:tr"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.html.tbody.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.html.tr.attlist">
+ <xs:attributeGroup ref="db:db.html.attrs"/>
+ <xs:attributeGroup ref="db:db.html.cellhalign"/>
+ <xs:attributeGroup ref="db:db.html.cellvalign"/>
+ </xs:attributeGroup>
+ <xs:element name="tr">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:th"/>
+ <xs:element ref="db:td"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.html.tr.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.html.th.attlist">
+ <xs:attributeGroup ref="db:db.html.attrs"/>
+ <xs:attributeGroup ref="db:db.html.tablecell.attributes"/>
+ <xs:attributeGroup ref="db:db.html.cellhalign"/>
+ <xs:attributeGroup ref="db:db.html.cellvalign"/>
+ </xs:attributeGroup>
+ <xs:element name="th">
+ <xs:complexType mixed="true">
+ <xs:choice>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.html.th.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.html.td.attlist">
+ <xs:attributeGroup ref="db:db.html.attrs"/>
+ <xs:attributeGroup ref="db:db.html.tablecell.attributes"/>
+ <xs:attributeGroup ref="db:db.html.cellhalign"/>
+ <xs:attributeGroup ref="db:db.html.cellvalign"/>
+ </xs:attributeGroup>
+ <xs:element name="td">
+ <xs:complexType mixed="true">
+ <xs:choice>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.html.td.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/index.xsd b/slides/schema/xsd/index.xsd
new file mode 100644
index 0000000..3635f95
--- /dev/null
+++ b/slides/schema/xsd/index.xsd
@@ -0,0 +1,537 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: index.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.significance.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="normal">
+ <xs:annotation>
+ <xs:documentation>Normal</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="preferred">
+ <xs:annotation>
+ <xs:documentation>Preferred</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.significance.attribute">
+ <xs:attribute name="significance" use="required" type="db:db.significance.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.zone.attribute">
+ <xs:attribute name="zone" use="required" type="xs:IDREFS"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.indexterm.pagenum.attribute">
+ <xs:attribute name="pagenum" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.scope.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="all">
+ <xs:annotation>
+ <xs:documentation>All indexes</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="global">
+ <xs:annotation>
+ <xs:documentation>The global index (as for a combined index of a set of books)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="local">
+ <xs:annotation>
+ <xs:documentation>The local index (the index for this document only)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.scope.attribute">
+ <xs:attribute name="scope" use="required" type="db:db.scope.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.sortas.attribute">
+ <xs:attribute name="sortas" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.index.type.attribute">
+ <xs:attribute name="type" use="required"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.itermset.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.itermset.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="itermset">
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.indexterm.singular"/>
+ <xs:attributeGroup ref="db:db.itermset.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:complexType name="db.indexterm.contentmodel">
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="db:primary"/>
+ <xs:choice minOccurs="0">
+ <xs:sequence>
+ <xs:element ref="db:secondary"/>
+ <xs:choice minOccurs="0">
+ <xs:sequence>
+ <xs:element ref="db:tertiary"/>
+ <xs:choice minOccurs="0">
+ <xs:element ref="db:see"/>
+ <xs:element maxOccurs="unbounded" ref="db:seealso"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:element ref="db:see"/>
+ <xs:element maxOccurs="unbounded" ref="db:seealso"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:element ref="db:see"/>
+ <xs:element maxOccurs="unbounded" ref="db:seealso"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.indexterm.singular.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.indexterm.singular.class.attribute">
+ <xs:attribute name="class" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="singular">
+ <xs:annotation>
+ <xs:documentation>A singular index term</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.indexterm.singular.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="significance" type="db:db.significance.enumeration"/>
+ <xs:attribute name="zone" type="xs:IDREFS"/>
+ <xs:attribute name="pagenum"/>
+ <xs:attribute name="scope" type="db:db.scope.enumeration"/>
+ <xs:attribute name="type"/>
+ <xs:attribute name="class">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="singular">
+ <xs:annotation>
+ <xs:documentation>A singular index term</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:group name="db.indexterm.singular">
+ <xs:sequence>
+ <xs:element name="indexterm">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.indexterm.contentmodel">
+ <xs:attributeGroup ref="db:db.indexterm.singular.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.indexterm.startofrange.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.indexterm.startofrange.class.attribute">
+ <xs:attribute name="class" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="startofrange">
+ <xs:annotation>
+ <xs:documentation>The start of a range</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.indexterm.startofrange.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="significance" type="db:db.significance.enumeration"/>
+ <xs:attribute name="zone" type="xs:IDREFS"/>
+ <xs:attribute name="pagenum"/>
+ <xs:attribute name="scope" type="db:db.scope.enumeration"/>
+ <xs:attribute name="type"/>
+ <xs:attributeGroup ref="db:db.indexterm.startofrange.class.attribute"/>
+ </xs:attributeGroup>
+ <xs:group name="db.indexterm.startofrange">
+ <xs:sequence>
+ <xs:element name="indexterm">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.indexterm.contentmodel">
+ <xs:attributeGroup ref="db:db.indexterm.startofrange.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.indexterm.endofrange.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.indexterm.endofrange.class.attribute">
+ <xs:attribute name="class" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="endofrange">
+ <xs:annotation>
+ <xs:documentation>The end of a range</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.indexterm.endofrange.startref.attribute">
+ <xs:attribute name="startref" use="required" type="xs:IDREF"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.indexterm.endofrange.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.indexterm.endofrange.class.attribute"/>
+ <xs:attributeGroup ref="db:db.indexterm.endofrange.startref.attribute"/>
+ </xs:attributeGroup>
+ <xs:group name="db.indexterm.endofrange">
+ <xs:sequence>
+ <xs:element name="indexterm">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.indexterm.endofrange.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:group name="db.indexterm">
+ <xs:choice>
+ <xs:group ref="db:db.indexterm.singular"/>
+ <xs:group ref="db:db.indexterm.startofrange"/>
+ <xs:group ref="db:db.indexterm.endofrange"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.primary.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.primary.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="sortas"/>
+ </xs:attributeGroup>
+ <xs:element name="primary">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.primary.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.secondary.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.secondary.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="sortas"/>
+ </xs:attributeGroup>
+ <xs:element name="secondary">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.secondary.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.tertiary.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.tertiary.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="sortas"/>
+ </xs:attributeGroup>
+ <xs:element name="tertiary">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.tertiary.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.see.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.see.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="see">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.see.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.seealso.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.seealso.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="seealso">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.seealso.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.index.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.index.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.index.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ <xs:attribute name="type"/>
+ </xs:attributeGroup>
+ <xs:group name="db.index.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info"/>
+ </xs:sequence>
+ </xs:group>
+ <!--
+ Yes, db.indexdiv* and db.indexentry*; that way an <index/> is valid.
+ Authors can use an empty index to indicate where a generated index should
+ appear.
+ -->
+ <xs:element name="index">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.index.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:indexdiv"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:indexentry"/>
+ <xs:element ref="db:segmentedlist"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.index.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.setindex.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.setindex.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.setindex.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ <xs:attribute name="type"/>
+ </xs:attributeGroup>
+ <xs:group name="db.setindex.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="setindex" substitutionGroup="db:db.setindex.components"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.indexdiv.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.indexdiv.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.indexdiv.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.indexdiv.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="indexdiv">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.indexdiv.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:choice>
+ <xs:element maxOccurs="unbounded" ref="db:indexentry"/>
+ <xs:element ref="db:segmentedlist"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.indexdiv.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.indexentry.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.indexentry.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="indexentry">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="db:primaryie"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:seeie"/>
+ <xs:element ref="db:seealsoie"/>
+ </xs:choice>
+ <xs:sequence minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:secondaryie"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:seeie"/>
+ <xs:element ref="db:seealsoie"/>
+ <xs:element ref="db:tertiaryie"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.indexentry.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.primaryie.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.primaryie.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attribute name="linkends" type="xs:IDREFS"/>
+ </xs:attributeGroup>
+ <xs:element name="primaryie">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.primaryie.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.secondaryie.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.secondaryie.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attribute name="linkends" type="xs:IDREFS"/>
+ </xs:attributeGroup>
+ <xs:element name="secondaryie">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.secondaryie.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.tertiaryie.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.tertiaryie.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attribute name="linkends" type="xs:IDREFS"/>
+ </xs:attributeGroup>
+ <xs:element name="tertiaryie">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.tertiaryie.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.seeie.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.seeie.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attribute name="linkend" type="xs:IDREF"/>
+ </xs:attributeGroup>
+ <xs:element name="seeie">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.seeie.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.seealsoie.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.seealsoie.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attribute name="linkends" type="xs:IDREFS"/>
+ </xs:attributeGroup>
+ <xs:element name="seealsoie">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.seealsoie.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/keyboard.xsd b/slides/schema/xsd/keyboard.xsd
new file mode 100644
index 0000000..26ca4d7
--- /dev/null
+++ b/slides/schema/xsd/keyboard.xsd
@@ -0,0 +1,350 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:group name="db.keyboard.inlines">
+ <xs:choice>
+ <xs:element ref="db:keycombo"/>
+ <xs:element ref="db:keycap"/>
+ <xs:element ref="db:keycode"/>
+ <xs:element ref="db:keysym"/>
+ <xs:element ref="db:shortcut"/>
+ <xs:element ref="db:accel"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.keycap.function.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="alt">
+ <xs:annotation>
+ <xs:documentation>The "Alt" key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="backspace">
+ <xs:annotation>
+ <xs:documentation>The "Backspace" key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="command">
+ <xs:annotation>
+ <xs:documentation>The "Command" key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="control">
+ <xs:annotation>
+ <xs:documentation>The "Control" key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="delete">
+ <xs:annotation>
+ <xs:documentation>The "Delete" key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="down">
+ <xs:annotation>
+ <xs:documentation>The down arrow</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="end">
+ <xs:annotation>
+ <xs:documentation>The "End" key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="enter">
+ <xs:annotation>
+ <xs:documentation>The "Enter" or "Return" key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="escape">
+ <xs:annotation>
+ <xs:documentation>The "Escape" key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="home">
+ <xs:annotation>
+ <xs:documentation>The "Home" key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="insert">
+ <xs:annotation>
+ <xs:documentation>The "Insert" key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="left">
+ <xs:annotation>
+ <xs:documentation>The left arrow</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="meta">
+ <xs:annotation>
+ <xs:documentation>The "Meta" key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="option">
+ <xs:annotation>
+ <xs:documentation>The "Option" key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="pagedown">
+ <xs:annotation>
+ <xs:documentation>The page down key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="pageup">
+ <xs:annotation>
+ <xs:documentation>The page up key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="right">
+ <xs:annotation>
+ <xs:documentation>The right arrow</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="shift">
+ <xs:annotation>
+ <xs:documentation>The "Shift" key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="space">
+ <xs:annotation>
+ <xs:documentation>The spacebar</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="tab">
+ <xs:annotation>
+ <xs:documentation>The "Tab" key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="up">
+ <xs:annotation>
+ <xs:documentation>The up arrow</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.keycap.function-enum.attribute">
+ <xs:attribute name="function" type="db:db.keycap.function.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.keycap.function-other.attributes">
+ <xs:attribute name="function">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Indicates a non-standard function key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otherfunction" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.keycap.function.attrib">
+ <xs:attribute name="function">
+ <xs:simpleType>
+ <xs:union memberTypes="db:db.keycap.function.enumeration">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Indicates a non-standard function key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otherfunction"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.keycap.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.keycap.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.keycap.function.attrib"/>
+ </xs:attributeGroup>
+ <xs:element name="keycap">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.keycap.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.keycode.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.keycode.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="keycode">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.keycode.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.keycombo.action.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="click">
+ <xs:annotation>
+ <xs:documentation>A (single) mouse click.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="double-click">
+ <xs:annotation>
+ <xs:documentation>A double mouse click.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="press">
+ <xs:annotation>
+ <xs:documentation>A mouse or key press.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="seq">
+ <xs:annotation>
+ <xs:documentation>Sequential clicks or presses.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="simul">
+ <xs:annotation>
+ <xs:documentation>Simultaneous clicks or presses.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.keycombo.action-enum.attribute">
+ <xs:attribute name="action" type="db:db.keycombo.action.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.keycombo.action-other.attributes">
+ <xs:attribute name="action">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Indicates a non-standard action</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otheraction" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.keycombo.action.attrib">
+ <xs:attribute name="action">
+ <xs:simpleType>
+ <xs:union memberTypes="db:db.keycombo.action.enumeration">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Indicates a non-standard action</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otheraction"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.keycombo.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.keycombo.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.keycombo.action.attrib"/>
+ </xs:attributeGroup>
+ <xs:element name="keycombo">
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.keycombination.contentmodel"/>
+ <xs:attributeGroup ref="db:db.keycombo.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.keysym.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.keysym.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="keysym">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.keysym.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.accel.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.accel.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="accel">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.accel.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.shortcut.action.attrib">
+ <xs:attributeGroup ref="db:db.keycombo.action.attrib"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.shortcut.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.shortcut.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.shortcut.action.attrib"/>
+ </xs:attributeGroup>
+ <xs:element name="shortcut">
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.keycombination.contentmodel"/>
+ <xs:attributeGroup ref="db:db.shortcut.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/markup.xsd b/slides/schema/xsd/markup.xsd
new file mode 100644
index 0000000..d550bd5
--- /dev/null
+++ b/slides/schema/xsd/markup.xsd
@@ -0,0 +1,284 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:element name="db.markup.inlines" abstract="true"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.markup.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.markup.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="markup" substitutionGroup="db:db.markup.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.markup.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.tag.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.tag.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="attribute">
+ <xs:annotation>
+ <xs:documentation>An attribute</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="attvalue">
+ <xs:annotation>
+ <xs:documentation>An attribute value</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="element">
+ <xs:annotation>
+ <xs:documentation>An element</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="emptytag">
+ <xs:annotation>
+ <xs:documentation>An empty element tag</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="endtag">
+ <xs:annotation>
+ <xs:documentation>An end tag</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="genentity">
+ <xs:annotation>
+ <xs:documentation>A general entity</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="localname">
+ <xs:annotation>
+ <xs:documentation>The local name part of a qualified name</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="namespace">
+ <xs:annotation>
+ <xs:documentation>A namespace</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="numcharref">
+ <xs:annotation>
+ <xs:documentation>A numeric character reference</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="paramentity">
+ <xs:annotation>
+ <xs:documentation>A parameter entity</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="pi">
+ <xs:annotation>
+ <xs:documentation>A processing instruction</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="prefix">
+ <xs:annotation>
+ <xs:documentation>The prefix part of a qualified name</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="comment">
+ <xs:annotation>
+ <xs:documentation>An SGML comment</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="starttag">
+ <xs:annotation>
+ <xs:documentation>A start tag</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="xmlpi">
+ <xs:annotation>
+ <xs:documentation>An XML processing instruction</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.tag.class.attribute">
+ <xs:attribute name="class" use="required" type="db:db.tag.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.tag.namespace.attribute">
+ <xs:attribute name="namespace" use="required" type="xs:anyURI"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.tag.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="class" type="db:db.tag.class.enumeration"/>
+ <xs:attribute name="namespace" type="xs:anyURI"/>
+ </xs:attributeGroup>
+ <xs:element name="tag" substitutionGroup="db:db.markup.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.tag.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.symbol.class.attribute">
+ <xs:attribute name="class" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="limit">
+ <xs:annotation>
+ <xs:documentation>The value is a limit of some kind</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.symbol.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.symbol.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="class">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="limit">
+ <xs:annotation>
+ <xs:documentation>The value is a limit of some kind</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:element name="symbol" substitutionGroup="db:db.markup.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.symbol.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.token.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.token.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="token" substitutionGroup="db:db.markup.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.token.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.literal.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.literal.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="literal" substitutionGroup="db:db.markup.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.literal.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="code.language.attribute">
+ <xs:attribute name="language" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.code.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.code.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="language"/>
+ </xs:attributeGroup>
+ <xs:element name="code" substitutionGroup="db:db.markup.inlines">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db.programming.inlines"/>
+ <xs:group ref="db:db._text"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.code.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.constant.class.attribute">
+ <xs:attribute name="class" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="limit">
+ <xs:annotation>
+ <xs:documentation>The value is a limit of some kind</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.constant.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.constant.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="class">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="limit">
+ <xs:annotation>
+ <xs:documentation>The value is a limit of some kind</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:element name="constant" substitutionGroup="db:db.markup.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.constant.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/math.xsd b/slides/schema/xsd/math.xsd
new file mode 100644
index 0000000..032568a
--- /dev/null
+++ b/slides/schema/xsd/math.xsd
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: math.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:element name="db.math.inlines" abstract="true">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="db:alt"/>
+ <xs:group ref="db:db.inlineequation.content"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.inlineequation.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:group name="db.initializer.inlines">
+ <xs:choice>
+ <xs:element ref="db:mathphrase"/>
+ <xs:element ref="db:db.markup.inlines"/>
+ <xs:group ref="db:db._text"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:group name="db.equation.content">
+ <xs:choice>
+ <xs:choice>
+ <xs:element maxOccurs="unbounded" ref="db:mediaobject"/>
+ <xs:element maxOccurs="unbounded" ref="db:mathphrase"/>
+ </xs:choice>
+ <xs:group maxOccurs="unbounded" ref="dbs:db._any.mml"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.inlineequation.content">
+ <xs:choice>
+ <xs:choice>
+ <xs:element maxOccurs="unbounded" ref="db:inlinemediaobject"/>
+ <xs:element maxOccurs="unbounded" ref="db:mathphrase"/>
+ </xs:choice>
+ <xs:group maxOccurs="unbounded" ref="dbs:db._any.mml"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.equation.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.equation.label.attribute">
+ <xs:attributeGroup ref="db:db.label.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.equation.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="pgwide" type="db:db.pgwide.enumeration"/>
+ <xs:attribute name="floatstyle"/>
+ </xs:attributeGroup>
+ <xs:group name="db.equation.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="equation">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.equation.info"/>
+ <xs:element minOccurs="0" ref="db:alt"/>
+ <xs:group ref="db:db.equation.content"/>
+ <xs:group minOccurs="0" ref="db:db.caption"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.equation.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.informalequation.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.informalequation.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.informalequation.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="informalequation">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.informalequation.info"/>
+ <xs:element minOccurs="0" ref="db:alt"/>
+ <xs:group ref="db:db.equation.content"/>
+ <xs:group minOccurs="0" ref="db:db.caption"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.informalequation.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.inlineequation.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.inlineequation.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="inlineequation" substitutionGroup="db:db.math.inlines"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.mathphrase.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.mathphrase.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="mathphrase">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:group ref="db:db.ubiq.inlines"/>
+ <xs:group ref="db:db._emphasis"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.mathphrase.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/mathml.xsd b/slides/schema/xsd/mathml.xsd
new file mode 100644
index 0000000..9814b90
--- /dev/null
+++ b/slides/schema/xsd/mathml.xsd
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: mathml.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- ============================================================ -->
+ <xs:attributeGroup name="db.imagedata.mathml.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.imagedata.mathml.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attribute name="format">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="mathml">
+ <xs:annotation>
+ <xs:documentation>Specifies MathML.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="align" type="db:db.imagedata.align.enumeration"/>
+ <xs:attribute name="valign" type="db:db.imagedata.valign.enumeration"/>
+ <xs:attribute name="width"/>
+ <xs:attribute name="contentwidth"/>
+ <xs:attribute name="scalefit" type="db:db.imagedata.scalefit.enumeration"/>
+ <xs:attribute name="scale" type="xs:positiveInteger"/>
+ <xs:attribute name="depth"/>
+ <xs:attribute name="contentdepth"/>
+ </xs:attributeGroup>
+ <xs:group name="db.imagedata.mathml.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db.imagedata.mathml">
+ <xs:sequence>
+ <xs:element name="imagedata">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.imagedata.mathml.info"/>
+ <xs:group maxOccurs="unbounded" ref="dbs:db._any.mml"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.imagedata.mathml.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ============================================================ -->
+</xs:schema>
diff --git a/slides/schema/xsd/msgset.xsd b/slides/schema/xsd/msgset.xsd
new file mode 100644
index 0000000..c7f8bb0
--- /dev/null
+++ b/slides/schema/xsd/msgset.xsd
@@ -0,0 +1,309 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: msgset.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.msgset.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.msgset.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.msgset.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="msgset">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.msgset.info"/>
+ <xs:choice>
+ <xs:element maxOccurs="unbounded" ref="db:msgentry"/>
+ <xs:element maxOccurs="unbounded" ref="db:simplemsgentry"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.msgset.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.msgentry.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.msgentry.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="msgentry">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:msg"/>
+ <xs:element minOccurs="0" ref="db:msginfo"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:msgexplan"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.msgentry.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.simplemsgentry.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.simplemsgentry.msgaud.attribute">
+ <xs:attribute name="msgaud" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.simplemsgentry.msgorig.attribute">
+ <xs:attribute name="msgorig" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.simplemsgentry.msglevel.attribute">
+ <xs:attribute name="msglevel" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.simplemsgentry.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="msgaud"/>
+ <xs:attribute name="msgorig"/>
+ <xs:attribute name="msglevel"/>
+ </xs:attributeGroup>
+ <xs:element name="simplemsgentry">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="db:msgtext"/>
+ <xs:element maxOccurs="unbounded" ref="db:msgexplan"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.simplemsgentry.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.msg.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.msg.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.msg.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="msg">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.msg.info"/>
+ <xs:element ref="db:msgmain"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:msgsub"/>
+ <xs:element ref="db:msgrel"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.msg.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.msgmain.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.msgmain.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.msgmain.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="msgmain">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.msgmain.info"/>
+ <xs:element ref="db:msgtext"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.msgmain.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.msgsub.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.msgsub.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.msgsub.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="msgsub">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.msgsub.info"/>
+ <xs:element ref="db:msgtext"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.msgsub.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.msgrel.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.msgrel.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.msgrel.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="msgrel">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.msgrel.info"/>
+ <xs:element ref="db:msgtext"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.msgrel.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.msgtext.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.msgtext.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="msgtext">
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:attributeGroup ref="db:db.msgtext.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.msginfo.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.msginfo.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="msginfo">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:msglevel"/>
+ <xs:element ref="db:msgorig"/>
+ <xs:element ref="db:msgaud"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.msginfo.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.msglevel.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.msglevel.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="msglevel">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.msglevel.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.msgorig.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.msgorig.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="msgorig">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.msgorig.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.msgaud.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.msgaud.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="msgaud">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.msgaud.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.msgexplan.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.msgexplan.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.msgexplan.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="msgexplan">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.msgexplan.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.msgexplan.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/os.xsd b/slides/schema/xsd/os.xsd
new file mode 100644
index 0000000..8bd46d0
--- /dev/null
+++ b/slides/schema/xsd/os.xsd
@@ -0,0 +1,369 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:element name="db.synopsis.blocks" abstract="true"/>
+ <xs:element name="db.os.inlines" abstract="true"/>
+ <!-- ====================================================================== -->
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.prompt.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.prompt.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="prompt" substitutionGroup="db:db.os.inlines">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.prompt.inlines"/>
+ <xs:attributeGroup ref="db:db.prompt.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.envar.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.envar.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="envar" substitutionGroup="db:db.os.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.envar.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.filename.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="devicefile">
+ <xs:annotation>
+ <xs:documentation>A device</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="directory">
+ <xs:annotation>
+ <xs:documentation>A directory</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="extension">
+ <xs:annotation>
+ <xs:documentation>A filename extension</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="headerfile">
+ <xs:annotation>
+ <xs:documentation>A header file (as for a programming language)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="libraryfile">
+ <xs:annotation>
+ <xs:documentation>A library file</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="partition">
+ <xs:annotation>
+ <xs:documentation>A partition (as of a hard disk)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="symlink">
+ <xs:annotation>
+ <xs:documentation>A symbolic link</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.filename.class.attribute">
+ <xs:attribute name="class" use="required" type="db:db.filename.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.filename.path.attribute">
+ <xs:attribute name="path" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.filename.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.filename.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="path"/>
+ <xs:attribute name="class" type="db:db.filename.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:element name="filename" substitutionGroup="db:db.os.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.filename.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.command.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.command.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="command" substitutionGroup="db:db.os.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.command.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.computeroutput.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.computeroutput.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="computeroutput" substitutionGroup="db:db.os.inlines">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.computeroutput.inlines"/>
+ <xs:attributeGroup ref="db:db.computeroutput.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.userinput.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.userinput.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="userinput" substitutionGroup="db:db.os.inlines">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.userinput.inlines"/>
+ <xs:attributeGroup ref="db:db.userinput.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.cmdsynopsis.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.cmdsynopsis.sepchar.attribute">
+ <xs:attribute name="sepchar" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.cmdsynopsis.cmdlength.attribute">
+ <xs:attribute name="cmdlength" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.cmdsynopsis.label.attribute">
+ <xs:attributeGroup ref="db:db.label.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.cmdsynopsis.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="sepchar"/>
+ <xs:attribute name="cmdlength"/>
+ <xs:attribute name="label"/>
+ </xs:attributeGroup>
+ <xs:group name="db.cmdsynopsis.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="cmdsynopsis" substitutionGroup="db:db.synopsis.blocks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.cmdsynopsis.info"/>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:command"/>
+ <xs:element ref="db:arg"/>
+ <xs:group ref="db:db.group"/>
+ <xs:element ref="db:sbr"/>
+ </xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:synopfragment"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.cmdsynopsis.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.rep.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="norepeat">
+ <xs:annotation>
+ <xs:documentation>Can not be repeated.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="repeat">
+ <xs:annotation>
+ <xs:documentation>Can be repeated.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.rep.attribute">
+ <xs:attribute name="rep" use="required" type="db:db.rep.enumeration"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.choice.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="opt">
+ <xs:annotation>
+ <xs:documentation>Formatted to indicate that it is optional.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="plain">
+ <xs:annotation>
+ <xs:documentation>Formatted without indication.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="req">
+ <xs:annotation>
+ <xs:documentation>Formatted to indicate that it is required.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.choice.opt.attribute">
+ <xs:attribute name="choice" use="required" type="db:db.choice.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.choice.req.attribute">
+ <xs:attribute name="choice" use="required" type="db:db.choice.enumeration"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.arg.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.arg.rep.attribute">
+ <xs:attributeGroup ref="db:db.rep.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.arg.choice.attribute">
+ <xs:attributeGroup ref="db:db.choice.opt.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.arg.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="rep" type="db:db.rep.enumeration"/>
+ <xs:attribute name="choice" type="db:db.choice.enumeration"/>
+ </xs:attributeGroup>
+ <xs:element name="arg">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:arg"/>
+ <xs:group ref="db:db.group"/>
+ <xs:element ref="db:option"/>
+ <xs:element ref="db:synopfragmentref"/>
+ <xs:element ref="db:sbr"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.arg.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.group.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.group.rep.attribute">
+ <xs:attributeGroup ref="db:db.rep.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.group.choice.attribute">
+ <xs:attributeGroup ref="db:db.choice.opt.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.group.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="rep" type="db:db.rep.enumeration"/>
+ <xs:attribute name="choice" type="db:db.choice.enumeration"/>
+ </xs:attributeGroup>
+ <xs:group name="db.group">
+ <xs:sequence>
+ <xs:element name="group">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:arg"/>
+ <xs:group ref="db:db.group"/>
+ <xs:element ref="db:option"/>
+ <xs:element ref="db:synopfragmentref"/>
+ <xs:element ref="db:replaceable"/>
+ <xs:element ref="db:sbr"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.group.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.sbr.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.sbr.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="sbr">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.sbr.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.synopfragment.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.synopfragment.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="synopfragment">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:arg"/>
+ <xs:group ref="db:db.group"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.synopfragment.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.synopfragmentref.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.synopfragmentref.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.linkend.attribute"/>
+ </xs:attributeGroup>
+ <xs:element name="synopfragmentref">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="db:db.synopfragmentref.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/pool.xsd b/slides/schema/xsd/pool.xsd
new file mode 100644
index 0000000..c0ecb6e
--- /dev/null
+++ b/slides/schema/xsd/pool.xsd
@@ -0,0 +1,4834 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- ====================================================================== -->
+ <!--
+ The start tokens are somewhat arbitrary. To resolve RFE #1899655, the
+ TC concluded that anything with an info element was a reasonable start
+ element. That's mostly what has been done, with a few extra elements
+ where the patterns seemed to warrant it. If you need more, just ask.
+ -->
+ <!-- ====================================================================== -->
+ <xs:group name="db._any">
+ <xs:sequence>
+ <xs:any processContents="skip"/>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.arch.attribute">
+ <xs:attribute name="arch" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.audience.attribute">
+ <xs:attribute name="audience" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.condition.attribute">
+ <xs:attribute name="condition" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.conformance.attribute">
+ <xs:attribute name="conformance" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.os.attribute">
+ <xs:attribute name="os" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.revision.attribute">
+ <xs:attribute name="revision" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.security.attribute">
+ <xs:attribute name="security" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.userlevel.attribute">
+ <xs:attribute name="userlevel" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.vendor.attribute">
+ <xs:attribute name="vendor" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.wordsize.attribute">
+ <xs:attribute name="wordsize" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.effectivity.attributes">
+ <xs:attribute name="arch"/>
+ <xs:attribute name="audience"/>
+ <xs:attribute name="condition"/>
+ <xs:attribute name="conformance"/>
+ <xs:attribute name="os"/>
+ <xs:attribute name="revision"/>
+ <xs:attribute name="security"/>
+ <xs:attribute name="userlevel"/>
+ <xs:attribute name="vendor"/>
+ <xs:attribute name="wordsize"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.endterm.attribute">
+ <xs:attribute name="endterm" use="required" type="xs:IDREF"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.linkend.attribute">
+ <xs:attribute name="linkend" use="required" type="xs:IDREF"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.linkends.attribute">
+ <xs:attribute name="linkends" use="required" type="xs:IDREFS"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.xlink.href.attribute">
+ <xs:attribute ref="xlink:href" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.xlink.type.attribute">
+ <xs:attributeGroup ref="xlink:type"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.xlink.role.attribute">
+ <xs:attribute ref="xlink:role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.xlink.arcrole.attribute">
+ <xs:attribute ref="xlink:arcrole" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.xlink.title.attribute">
+ <xs:attribute ref="xlink:title" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.xlink.show.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="new">
+ <xs:annotation>
+ <xs:documentation>An application traversing to the ending resource should load it in a new window, frame, pane, or other relevant presentation context.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="replace">
+ <xs:annotation>
+ <xs:documentation>An application traversing to the ending resource should load the resource in the same window, frame, pane, or other relevant presentation context in which the starting resource was loaded.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="embed">
+ <xs:annotation>
+ <xs:documentation>An application traversing to the ending resource should load its presentation in place of the presentation of the starting resource.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>The behavior of an application traversing to the ending resource is unconstrained by XLink. The application should look for other markup present in the link to determine the appropriate behavior.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="none">
+ <xs:annotation>
+ <xs:documentation>The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.xlink.show.attribute">
+ <xs:attribute ref="xlink:show" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.xlink.actuate.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="onLoad">
+ <xs:annotation>
+ <xs:documentation>An application should traverse to the ending resource immediately on loading the starting resource.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="onRequest">
+ <xs:annotation>
+ <xs:documentation>An application should traverse from the starting resource to the ending resource only on a post-loading event triggered for the purpose of traversal.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>The behavior of an application traversing to the ending resource is unconstrained by this specification. The application should look for other markup present in the link to determine the appropriate behavior.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="none">
+ <xs:annotation>
+ <xs:documentation>The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.xlink.actuate.attribute">
+ <xs:attribute ref="xlink:actuate" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.href.attributes">
+ <xs:attributeGroup ref="db:db.xlink.href.attribute"/>
+ <xs:attributeGroup ref="xlink:type"/>
+ <xs:attribute ref="xlink:role"/>
+ <xs:attribute ref="xlink:arcrole"/>
+ <xs:attribute ref="xlink:title"/>
+ <xs:attribute ref="xlink:show"/>
+ <xs:attribute ref="xlink:actuate"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.xml.id.attribute">
+ <xs:attribute ref="xml:id" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.version.attribute">
+ <xs:attribute name="version" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.xml.lang.attribute">
+ <xs:attribute ref="xml:lang" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.xml.base.attribute">
+ <xs:attribute ref="xml:base" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.remap.attribute">
+ <xs:attribute name="remap" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.xreflabel.attribute">
+ <xs:attribute name="xreflabel" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.xrefstyle.attribute">
+ <xs:attribute name="xrefstyle" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.revisionflag.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="changed">
+ <xs:annotation>
+ <xs:documentation>The element has been changed.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="added">
+ <xs:annotation>
+ <xs:documentation>The element is new (has been added to the document).</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="deleted">
+ <xs:annotation>
+ <xs:documentation>The element has been deleted.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="off">
+ <xs:annotation>
+ <xs:documentation>Explicitly turns off revision markup for this element.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.revisionflag.attribute">
+ <xs:attribute name="revisionflag" use="required" type="db:db.revisionflag.enumeration"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.dir.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="ltr">
+ <xs:annotation>
+ <xs:documentation>Left-to-right text</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="rtl">
+ <xs:annotation>
+ <xs:documentation>Right-to-left text</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="lro">
+ <xs:annotation>
+ <xs:documentation>Left-to-right override</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="rlo">
+ <xs:annotation>
+ <xs:documentation>Right-to-left override</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.dir.attribute">
+ <xs:attribute name="dir" use="required" type="db:db.dir.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.common.base.attributes">
+ <xs:attribute name="version"/>
+ <xs:attribute ref="xml:lang"/>
+ <xs:attribute ref="xml:base"/>
+ <xs:attribute name="remap"/>
+ <xs:attribute name="xreflabel"/>
+ <xs:attribute name="revisionflag" type="db:db.revisionflag.enumeration"/>
+ <xs:attribute name="dir" type="db:db.dir.enumeration"/>
+ <xs:attributeGroup ref="db:db.effectivity.attributes"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.common.idreq.attributes">
+ <xs:attributeGroup ref="db:db.xml.id.attribute"/>
+ <xs:attributeGroup ref="db:db.common.base.attributes"/>
+ <xs:attribute name="annotations"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.common.linking.attributes">
+ <xs:attribute name="linkend" type="xs:IDREF"/>
+ <xs:attribute ref="xlink:href"/>
+ <xs:attributeGroup ref="xlink:type"/>
+ <xs:attribute ref="xlink:role"/>
+ <xs:attribute ref="xlink:arcrole"/>
+ <xs:attribute ref="xlink:title"/>
+ <xs:attribute ref="xlink:show"/>
+ <xs:attribute ref="xlink:actuate"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.common.req.linking.attributes">
+ <xs:attribute name="linkend" type="xs:IDREF"/>
+ <xs:attribute ref="xlink:href"/>
+ <xs:attributeGroup ref="xlink:type"/>
+ <xs:attribute ref="xlink:role"/>
+ <xs:attribute ref="xlink:arcrole"/>
+ <xs:attribute ref="xlink:title"/>
+ <xs:attribute ref="xlink:show"/>
+ <xs:attribute ref="xlink:actuate"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.common.data.attributes">
+ <xs:attribute name="format"/>
+ <xs:attribute name="fileref" type="xs:anyURI"/>
+ <xs:attribute name="entityref" type="xs:ENTITY"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.verbatim.continuation.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="continues">
+ <xs:annotation>
+ <xs:documentation>Line numbering continues from the immediately preceding element with the same name.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="restarts">
+ <xs:annotation>
+ <xs:documentation>Line numbering restarts (begins at 1, usually).</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.verbatim.continuation.attribute">
+ <xs:attribute name="continuation" use="required" type="db:db.verbatim.continuation.enumeration"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.verbatim.linenumbering.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="numbered">
+ <xs:annotation>
+ <xs:documentation>Lines are numbered.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="unnumbered">
+ <xs:annotation>
+ <xs:documentation>Lines are not numbered.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.verbatim.linenumbering.attribute">
+ <xs:attribute name="linenumbering" use="required" type="db:db.verbatim.linenumbering.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.verbatim.startinglinenumber.attribute">
+ <xs:attribute name="startinglinenumber" use="required" type="xs:integer"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.verbatim.language.attribute">
+ <xs:attribute name="language" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.verbatim.xml.space.attribute">
+ <xs:attributeGroup ref="xml:space"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.verbatim.attributes">
+ <xs:attribute name="continuation" type="db:db.verbatim.continuation.enumeration"/>
+ <xs:attribute name="linenumbering" type="db:db.verbatim.linenumbering.enumeration"/>
+ <xs:attribute name="startinglinenumber" type="xs:integer"/>
+ <xs:attribute name="language"/>
+ <xs:attributeGroup ref="xml:space"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.label.attribute">
+ <xs:attribute name="label" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.width.characters.attribute">
+ <xs:attribute name="width" use="required" type="xs:nonNegativeInteger"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.spacing.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="compact">
+ <xs:annotation>
+ <xs:documentation>The spacing should be "compact".</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="normal">
+ <xs:annotation>
+ <xs:documentation>The spacing should be "normal".</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.spacing.attribute">
+ <xs:attribute name="spacing" use="required" type="db:db.spacing.enumeration"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.pgwide.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>The element should be rendered in the current text flow (with the flow column width).</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>The element should be rendered across the full text page.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.pgwide.attribute">
+ <xs:attribute name="pgwide" use="required" type="db:db.pgwide.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.language.attribute">
+ <xs:attribute name="language" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.performance.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="optional">
+ <xs:annotation>
+ <xs:documentation>The content describes an optional step or steps.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="required">
+ <xs:annotation>
+ <xs:documentation>The content describes a required step or steps.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.performance.attribute">
+ <xs:attribute name="performance" use="required" type="db:db.performance.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.floatstyle.attribute">
+ <xs:attribute name="floatstyle" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.width.attribute">
+ <xs:attribute name="width" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.depth.attribute">
+ <xs:attribute name="depth" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.contentwidth.attribute">
+ <xs:attribute name="contentwidth" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.contentdepth.attribute">
+ <xs:attribute name="contentdepth" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.scalefit.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>False (do not scale-to-fit; anamorphic scaling may occur)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>True (scale-to-fit; anamorphic scaling is forbidden)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.scale.attribute">
+ <xs:attribute name="scale" use="required" type="xs:positiveInteger"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.halign.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="center">
+ <xs:annotation>
+ <xs:documentation>Centered horizontally</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="char">
+ <xs:annotation>
+ <xs:documentation>Aligned horizontally on the specified character</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="justify">
+ <xs:annotation>
+ <xs:documentation>Fully justified (left and right margins or edges)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="left">
+ <xs:annotation>
+ <xs:documentation>Left aligned</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="right">
+ <xs:annotation>
+ <xs:documentation>Right aligned</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="db.valign.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="bottom">
+ <xs:annotation>
+ <xs:documentation>Aligned on the bottom of the region</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="middle">
+ <xs:annotation>
+ <xs:documentation>Centered vertically</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="top">
+ <xs:annotation>
+ <xs:documentation>Aligned on the top of the region</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.biblio.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="doi">
+ <xs:annotation>
+ <xs:documentation>A digital object identifier.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="isbn">
+ <xs:annotation>
+ <xs:documentation>An international standard book number.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="isrn">
+ <xs:annotation>
+ <xs:documentation>An international standard technical report number (ISO 10444).</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="issn">
+ <xs:annotation>
+ <xs:documentation>An international standard serial number.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="libraryofcongress">
+ <xs:annotation>
+ <xs:documentation>A Library of Congress reference number.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="pubsnumber">
+ <xs:annotation>
+ <xs:documentation>A publication number (an internal number or possibly organizational standard).</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="uri">
+ <xs:annotation>
+ <xs:documentation>A Uniform Resource Identifier</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.biblio.class-enum.attribute">
+ <xs:attribute name="class" type="db:db.biblio.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.biblio.class-other.attribute">
+ <xs:attribute name="otherclass" use="required" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.biblio.class-other.attributes">
+ <xs:attribute name="class" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Indicates that the identifier is some 'other' kind.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attributeGroup ref="db:db.biblio.class-other.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.biblio.class.attribute">
+ <xs:attribute name="class">
+ <xs:simpleType>
+ <xs:union memberTypes="db:db.biblio.class.enumeration">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Indicates that the identifier is some 'other' kind.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otherclass" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:group name="db.ubiq.inlines">
+ <xs:choice>
+ <xs:choice>
+ <xs:element ref="db:inlinemediaobject"/>
+ <xs:element ref="db:remark"/>
+ <xs:group ref="db:db.link.inlines"/>
+ <xs:element ref="db:alt"/>
+ <xs:element ref="db:trademark"/>
+ <xs:element ref="db:abbrev"/>
+ <xs:element ref="db:acronym"/>
+ <xs:element ref="db:date"/>
+ <xs:group ref="db:db._emphasis"/>
+ <xs:element ref="db:footnote"/>
+ <xs:element ref="db:footnoteref"/>
+ <xs:group ref="db:db._foreignphrase"/>
+ <xs:group ref="db:db._phrase"/>
+ <xs:group ref="db:db._quote"/>
+ <xs:element ref="db:subscript"/>
+ <xs:element ref="db:superscript"/>
+ <xs:element ref="db:wordasword"/>
+ </xs:choice>
+ <xs:element ref="db:annotation"/>
+ <xs:choice>
+ <xs:group ref="db:db._firstterm"/>
+ <xs:group ref="db:db._glossterm"/>
+ </xs:choice>
+ <xs:group ref="db:db.indexterm"/>
+ <xs:element ref="db:coref"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db._text">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db.ubiq.inlines"/>
+ <xs:group ref="db:db._phrase"/>
+ <xs:element ref="db:replaceable"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db._title">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:title"/>
+ <xs:element ref="db:titleabbrev"/>
+ <xs:element ref="db:subtitle"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db._title.req">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:title"/>
+ <xs:element ref="db:titleabbrev"/>
+ <xs:element ref="db:subtitle"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db._title.only">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:title"/>
+ <xs:element ref="db:titleabbrev"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db._title.onlyreq">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:title"/>
+ <xs:element ref="db:titleabbrev"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db._info">
+ <xs:choice>
+ <xs:sequence>
+ <xs:group ref="db:db._title"/>
+ <xs:group minOccurs="0" ref="db:db.titleforbidden.info"/>
+ </xs:sequence>
+ <xs:group minOccurs="0" ref="db:db.info"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db._info.title.req">
+ <xs:choice>
+ <xs:sequence>
+ <xs:group ref="db:db._title.req"/>
+ <xs:group minOccurs="0" ref="db:db.titleforbidden.info"/>
+ </xs:sequence>
+ <xs:group ref="db:db.titlereq.info"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db._info.title.only">
+ <xs:choice>
+ <xs:sequence>
+ <xs:group ref="db:db._title.only"/>
+ <xs:group minOccurs="0" ref="db:db.titleforbidden.info"/>
+ </xs:sequence>
+ <xs:group ref="db:db.titleonly.info"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db._info.title.onlyreq">
+ <xs:choice>
+ <xs:sequence>
+ <xs:group ref="db:db._title.onlyreq"/>
+ <xs:group minOccurs="0" ref="db:db.titleforbidden.info"/>
+ </xs:sequence>
+ <xs:group ref="db:db.titleonlyreq.info"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db._info.title.forbidden">
+ <xs:sequence>
+ <xs:group minOccurs="0" ref="db:db.titleforbidden.info"/>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:group name="db.all.inlines">
+ <xs:sequence>
+ <xs:choice minOccurs="0">
+ <xs:group ref="db:db.ubiq.inlines"/>
+ <xs:group ref="db:db.general.inlines"/>
+ <xs:group ref="db:db.domain.inlines"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db.general.inlines">
+ <xs:choice>
+ <xs:group ref="db:db.publishing.inlines"/>
+ <xs:element ref="db:db.product.inlines"/>
+ <xs:element ref="db:db.bibliography.inlines"/>
+ <xs:element ref="db:db.graphic.inlines"/>
+ <xs:group ref="db:db.indexing.inlines"/>
+ <xs:group ref="db:db.link.inlines"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.domain.inlines">
+ <xs:choice>
+ <xs:element ref="db:db.technical.inlines"/>
+ <xs:element ref="db:db.math.inlines"/>
+ <xs:element ref="db:db.markup.inlines"/>
+ <xs:group ref="db:db.gui.inlines"/>
+ <xs:group ref="db:db.keyboard.inlines"/>
+ <xs:element ref="db:db.os.inlines"/>
+ <xs:group ref="db:db.programming.inlines"/>
+ <xs:element ref="db:db.error.inlines"/>
+ </xs:choice>
+ </xs:group>
+ <xs:element name="db.technical.inlines" abstract="true"/>
+ <xs:element name="db.product.inlines" abstract="true"/>
+ <xs:element name="db.bibliography.inlines" abstract="true"/>
+ <xs:group name="db.publishing.inlines">
+ <xs:choice>
+ <xs:choice>
+ <xs:element ref="db:abbrev"/>
+ <xs:element ref="db:acronym"/>
+ <xs:element ref="db:date"/>
+ <xs:group ref="db:db.emphasis"/>
+ <xs:element ref="db:footnote"/>
+ <xs:element ref="db:footnoteref"/>
+ <xs:group ref="db:db.foreignphrase"/>
+ <xs:group ref="db:db.phrase"/>
+ <xs:group ref="db:db.quote"/>
+ <xs:element ref="db:subscript"/>
+ <xs:element ref="db:superscript"/>
+ <xs:element ref="db:wordasword"/>
+ </xs:choice>
+ <xs:group ref="db:db.glossary.inlines"/>
+ <xs:element ref="db:coref"/>
+ </xs:choice>
+ </xs:group>
+ <xs:element name="db.graphic.inlines" abstract="true">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.inlinemediaobject.info"/>
+ <xs:element minOccurs="0" ref="db:alt"/>
+ <xs:element maxOccurs="unbounded" ref="db:db.mediaobject.content"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.inlinemediaobject.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:group name="db.indexing.inlines">
+ <xs:sequence>
+ <xs:group ref="db:db.indexterm"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db.link.inlines">
+ <xs:choice>
+ <xs:choice>
+ <xs:element ref="db:xref"/>
+ <xs:element ref="db:link"/>
+ <xs:element ref="db:olink"/>
+ <xs:element ref="db:anchor"/>
+ </xs:choice>
+ <xs:element ref="db:biblioref"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:group name="db.nopara.blocks">
+ <xs:choice>
+ <xs:choice>
+ <xs:group ref="db:db.list.blocks"/>
+ <xs:group ref="db:db.formal.blocks"/>
+ <xs:group ref="db:db.informal.blocks"/>
+ <xs:element ref="db:db.publishing.blocks"/>
+ <xs:element ref="db:db.graphic.blocks"/>
+ <xs:group ref="db:db.technical.blocks"/>
+ <xs:element ref="db:db.verbatim.blocks"/>
+ <xs:element ref="db:bridgehead"/>
+ <xs:element ref="db:remark"/>
+ <xs:element ref="db:revhistory"/>
+ </xs:choice>
+ <xs:group ref="db:db.indexterm"/>
+ <xs:element ref="db:db.synopsis.blocks"/>
+ <xs:element ref="db:db.admonition.blocks"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.para.blocks">
+ <xs:choice>
+ <xs:element ref="db:anchor"/>
+ <xs:element ref="db:para"/>
+ <xs:element ref="db:formalpara"/>
+ <xs:element ref="db:simpara"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.all.blocks">
+ <xs:choice>
+ <xs:choice>
+ <xs:group ref="db:db.nopara.blocks"/>
+ <xs:group ref="db:db.para.blocks"/>
+ </xs:choice>
+ <xs:element ref="db:annotation"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.formal.blocks">
+ <xs:choice>
+ <xs:choice>
+ <xs:element ref="db:example"/>
+ <xs:element ref="db:figure"/>
+ <xs:group ref="db:db.table"/>
+ </xs:choice>
+ <xs:element ref="db:equation"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.informal.blocks">
+ <xs:choice>
+ <xs:choice>
+ <xs:element ref="db:informalexample"/>
+ <xs:element ref="db:informalfigure"/>
+ <xs:group ref="db:db.informaltable"/>
+ </xs:choice>
+ <xs:element ref="db:informalequation"/>
+ </xs:choice>
+ </xs:group>
+ <xs:element name="db.publishing.blocks" abstract="true"/>
+ <xs:element name="db.graphic.blocks" abstract="true"/>
+ <xs:group name="db.technical.blocks">
+ <xs:choice>
+ <xs:element ref="db:procedure"/>
+ <xs:element ref="db:task"/>
+ <xs:choice>
+ <xs:element ref="db:productionset"/>
+ <xs:element ref="db:constraintdef"/>
+ </xs:choice>
+ <xs:element ref="db:msgset"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.list.blocks">
+ <xs:choice>
+ <xs:choice>
+ <xs:element ref="db:itemizedlist"/>
+ <xs:element ref="db:orderedlist"/>
+ <xs:element ref="db:procedure"/>
+ <xs:element ref="db:simplelist"/>
+ <xs:element ref="db:variablelist"/>
+ <xs:element ref="db:segmentedlist"/>
+ </xs:choice>
+ <xs:element ref="db:glosslist"/>
+ <xs:element ref="db:bibliolist"/>
+ <xs:element ref="db:calloutlist"/>
+ <xs:element ref="db:qandaset"/>
+ </xs:choice>
+ </xs:group>
+ <xs:element name="db.verbatim.blocks" abstract="true"/>
+ <!-- ====================================================================== -->
+ <xs:group name="db.info.extension">
+ <xs:sequence>
+ <xs:group ref="db:db._any"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db.info.elements">
+ <xs:choice>
+ <xs:choice>
+ <xs:element ref="db:abstract"/>
+ <xs:element ref="db:address"/>
+ <xs:element ref="db:artpagenums"/>
+ <xs:element ref="db:author"/>
+ <xs:element ref="db:authorgroup"/>
+ <xs:element ref="db:authorinitials"/>
+ <xs:element ref="db:bibliocoverage"/>
+ <xs:element ref="db:biblioid"/>
+ <xs:element ref="db:bibliosource"/>
+ <xs:element ref="db:collab"/>
+ <xs:element ref="db:confgroup"/>
+ <xs:element ref="db:contractsponsor"/>
+ <xs:element ref="db:contractnum"/>
+ <xs:element ref="db:copyright"/>
+ <xs:element ref="db:cover"/>
+ <xs:element ref="db:date"/>
+ <xs:element ref="db:edition"/>
+ <xs:element ref="db:editor"/>
+ <xs:element ref="db:issuenum"/>
+ <xs:element ref="db:keywordset"/>
+ <xs:element ref="db:legalnotice"/>
+ <xs:element ref="db:mediaobject"/>
+ <xs:element ref="db:org"/>
+ <xs:element ref="db:orgname"/>
+ <xs:element ref="db:othercredit"/>
+ <xs:element ref="db:pagenums"/>
+ <xs:element ref="db:printhistory"/>
+ <xs:element ref="db:pubdate"/>
+ <xs:element ref="db:publisher"/>
+ <xs:element ref="db:publishername"/>
+ <xs:element ref="db:releaseinfo"/>
+ <xs:element ref="db:revhistory"/>
+ <xs:element ref="db:seriesvolnums"/>
+ <xs:element ref="db:subjectset"/>
+ <xs:element ref="db:volumenum"/>
+ <xs:group ref="db:db.info.extension"/>
+ </xs:choice>
+ <xs:element ref="db:annotation"/>
+ <xs:element ref="db:extendedlink"/>
+ <xs:choice>
+ <xs:element ref="db:bibliomisc"/>
+ <xs:element ref="db:bibliomset"/>
+ <xs:element ref="db:bibliorelation"/>
+ <xs:element ref="db:biblioset"/>
+ </xs:choice>
+ <xs:element ref="db:itermset"/>
+ <xs:choice>
+ <xs:element ref="db:productname"/>
+ <xs:element ref="db:productnumber"/>
+ </xs:choice>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.bibliographic.elements">
+ <xs:choice>
+ <xs:group ref="db:db.info.elements"/>
+ <xs:group ref="db:db.publishing.inlines"/>
+ <xs:element ref="db:citerefentry"/>
+ <xs:element ref="db:citetitle"/>
+ <xs:element ref="db:citebiblioid"/>
+ <xs:element ref="db:person"/>
+ <xs:element ref="db:personblurb"/>
+ <xs:element ref="db:personname"/>
+ <xs:element ref="db:subtitle"/>
+ <xs:element ref="db:title"/>
+ <xs:element ref="db:titleabbrev"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.title.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.title.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="title">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.title.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.titleabbrev.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.titleabbrev.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="titleabbrev">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.titleabbrev.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.subtitle.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.subtitle.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="subtitle">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.subtitle.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.info.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.info.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.info">
+ <xs:sequence>
+ <xs:element name="info">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._title"/>
+ <xs:group ref="db:db.info.elements"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.info.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.titlereq.info.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.titlereq.info.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.titlereq.info">
+ <xs:sequence>
+ <xs:element name="info">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._title.req"/>
+ <xs:group ref="db:db.info.elements"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.titlereq.info.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.titleonly.info.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.titleonly.info.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.titleonly.info">
+ <xs:sequence>
+ <xs:element name="info">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._title.only"/>
+ <xs:group ref="db:db.info.elements"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.titleonly.info.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.titleonlyreq.info.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.titleonlyreq.info.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.titleonlyreq.info">
+ <xs:sequence>
+ <xs:element name="info">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._title.onlyreq"/>
+ <xs:group ref="db:db.info.elements"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.titleonlyreq.info.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.titleforbidden.info.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.titleforbidden.info.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.titleforbidden.info">
+ <xs:sequence>
+ <xs:element name="info">
+ <xs:complexType>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.info.elements"/>
+ <xs:attributeGroup ref="db:db.titleforbidden.info.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.subjectset.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.subjectset.scheme.attribute">
+ <xs:attribute name="scheme" use="required" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.subjectset.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="scheme" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:element name="subjectset">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:subject"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.subjectset.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.subject.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.subject.weight.attribute">
+ <xs:attribute name="weight" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.subject.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="weight"/>
+ </xs:attributeGroup>
+ <xs:element name="subject">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:subjectterm"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.subject.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.subjectterm.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.subjectterm.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="subjectterm">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="db:db.subjectterm.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.keywordset.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.keywordset.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="keywordset">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:keyword"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.keywordset.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.keyword.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.keyword.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="keyword">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="db:db.keyword.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.table.choice">
+ <xs:choice>
+ <xs:group ref="db:db.cals.table"/>
+ <xs:group ref="db:db.html.table"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.informaltable.choice">
+ <xs:choice>
+ <xs:group ref="db:db.cals.informaltable"/>
+ <xs:group ref="db:db.html.informaltable"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.table">
+ <xs:sequence>
+ <xs:group ref="db:db.table.choice"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db.informaltable">
+ <xs:sequence>
+ <xs:group ref="db:db.informaltable.choice"/>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.procedure.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.procedure.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.procedure.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="procedure">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.procedure.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:element maxOccurs="unbounded" ref="db:step"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.procedure.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.step.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.step.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="performance" type="db:db.performance.enumeration"/>
+ </xs:attributeGroup>
+ <xs:group name="db.step.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <!--
+ This content model is blocks*, step|stepalternatives, blocks* but
+ expressed this way it avoids UPA issues in XSD and DTD versions
+ -->
+ <xs:element name="step">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.step.info"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:sequence minOccurs="0">
+ <xs:choice>
+ <xs:element ref="db:substeps"/>
+ <xs:element ref="db:stepalternatives"/>
+ </xs:choice>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ </xs:sequence>
+ <xs:sequence>
+ <xs:choice>
+ <xs:element ref="db:substeps"/>
+ <xs:element ref="db:stepalternatives"/>
+ </xs:choice>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.step.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.stepalternatives.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.stepalternatives.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="performance" type="db:db.performance.enumeration"/>
+ </xs:attributeGroup>
+ <xs:group name="db.stepalternatives.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="stepalternatives">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.stepalternatives.info"/>
+ <xs:element maxOccurs="unbounded" ref="db:step"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.stepalternatives.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.substeps.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.substeps.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="performance" type="db:db.performance.enumeration"/>
+ </xs:attributeGroup>
+ <xs:element name="substeps">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:step"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.substeps.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.sidebar.floatstyle.attribute">
+ <xs:attributeGroup ref="db:db.floatstyle.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.sidebar.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.sidebar.attlist">
+ <xs:attribute name="role"/>
+ <xs:attribute name="floatstyle"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.sidebar.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="sidebar" substitutionGroup="db:db.publishing.blocks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.sidebar.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.sidebar.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.abstract.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.abstract.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.abstract.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="abstract">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.abstract.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.para.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.abstract.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.personblurb.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.personblurb.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.personblurb.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="personblurb">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.personblurb.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.para.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.personblurb.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.blockquote.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.blockquote.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.blockquote.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="blockquote" substitutionGroup="db:db.publishing.blocks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.blockquote.info"/>
+ <xs:element minOccurs="0" ref="db:attribution"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.blockquote.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.attribution.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.attribution.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="attribution">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:person"/>
+ <xs:element ref="db:personname"/>
+ <xs:element ref="db:citetitle"/>
+ <xs:element ref="db:citation"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.attribution.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.bridgehead.renderas.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="sect1">
+ <xs:annotation>
+ <xs:documentation>Render as a first-level section</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="sect2">
+ <xs:annotation>
+ <xs:documentation>Render as a second-level section</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="sect3">
+ <xs:annotation>
+ <xs:documentation>Render as a third-level section</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="sect4">
+ <xs:annotation>
+ <xs:documentation>Render as a fourth-level section</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="sect5">
+ <xs:annotation>
+ <xs:documentation>Render as a fifth-level section</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.bridgehead.renderas-enum.attribute">
+ <xs:attribute name="renderas" type="db:db.bridgehead.renderas.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bridgehead.renderas-other.attribute">
+ <xs:attribute name="otherrenderas" use="required" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bridgehead.renderas-other.attributes">
+ <xs:attribute name="renderas" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Identifies a non-standard rendering</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attributeGroup ref="db:db.bridgehead.renderas-other.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bridgehead.renderas.attribute">
+ <xs:attribute name="renderas">
+ <xs:simpleType>
+ <xs:union memberTypes="db:db.bridgehead.renderas.enumeration">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Identifies a non-standard rendering</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otherrenderas" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bridgehead.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bridgehead.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.bridgehead.renderas.attribute"/>
+ </xs:attributeGroup>
+ <xs:element name="bridgehead">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.bridgehead.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.remark.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.remark.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="remark">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.remark.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.epigraph.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.epigraph.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.epigraph.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="epigraph" substitutionGroup="db:db.publishing.blocks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.epigraph.info"/>
+ <xs:element minOccurs="0" ref="db:attribution"/>
+ <xs:choice maxOccurs="unbounded">
+ <xs:group ref="db:db.para.blocks"/>
+ <xs:element ref="db:literallayout"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.epigraph.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.footnote.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.footnote.label.attribute">
+ <xs:attribute name="label" use="required" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.footnote.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:element name="footnote">
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:attributeGroup ref="db:db.footnote.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.formalpara.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.formalpara.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.formalpara.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.onlyreq"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="formalpara">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.formalpara.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.indexing.inlines"/>
+ <xs:element ref="db:para"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.formalpara.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.para.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.para.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.para.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="para">
+ <xs:complexType mixed="true">
+ <xs:sequence>
+ <xs:group ref="db:db.para.info"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db.all.inlines"/>
+ <xs:group ref="db:db.nopara.blocks"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.para.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.simpara.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.simpara.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.simpara.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="simpara">
+ <xs:complexType mixed="true">
+ <xs:sequence>
+ <xs:group ref="db:db.simpara.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.simpara.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.itemizedlist.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.itemizedlist.mark.attribute">
+ <xs:attribute name="mark" use="required" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.itemizedlist.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="spacing" type="db:db.spacing.enumeration"/>
+ <xs:attribute name="mark" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:group name="db.itemizedlist.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="itemizedlist">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.itemizedlist.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:element maxOccurs="unbounded" ref="db:listitem"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.itemizedlist.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.orderedlist.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.orderedlist.continuation.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="continues">
+ <xs:annotation>
+ <xs:documentation>Specifies that numbering should begin where the preceding list left off</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="restarts">
+ <xs:annotation>
+ <xs:documentation>Specifies that numbering should begin again at 1</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.orderedlist.continuation.attribute">
+ <xs:attribute name="continuation" use="required" type="db:db.orderedlist.continuation.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.orderedlist.startingnumber.attribute">
+ <xs:attribute name="startingnumber" use="required" type="xs:integer"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.orderedlist.inheritnum.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="ignore">
+ <xs:annotation>
+ <xs:documentation>Specifies that numbering should ignore list nesting</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="inherit">
+ <xs:annotation>
+ <xs:documentation>Specifies that numbering should inherit from outer-level lists</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.orderedlist.inheritnum.attribute">
+ <xs:attribute name="inheritnum" use="required" type="db:db.orderedlist.inheritnum.enumeration"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.orderedlist.numeration.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="arabic">
+ <xs:annotation>
+ <xs:documentation>Specifies Arabic numeration (1, 2, 3, …)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="upperalpha">
+ <xs:annotation>
+ <xs:documentation>Specifies upper-case alphabetic numeration (A, B, C, …)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="loweralpha">
+ <xs:annotation>
+ <xs:documentation>Specifies lower-case alphabetic numeration (a, b, c, …)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="upperroman">
+ <xs:annotation>
+ <xs:documentation>Specifies upper-case Roman numeration (I, II, III, …)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="lowerroman">
+ <xs:annotation>
+ <xs:documentation>Specifies lower-case Roman numeration (i, ii, iii …)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.orderedlist.numeration.attribute">
+ <xs:attribute name="numeration" use="required" type="db:db.orderedlist.numeration.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.orderedlist.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="spacing" type="db:db.spacing.enumeration"/>
+ <xs:attribute name="continuation" type="db:db.orderedlist.continuation.enumeration"/>
+ <xs:attribute name="startingnumber" type="xs:integer"/>
+ <xs:attribute name="inheritnum" type="db:db.orderedlist.inheritnum.enumeration"/>
+ <xs:attribute name="numeration" type="db:db.orderedlist.numeration.enumeration"/>
+ </xs:attributeGroup>
+ <xs:group name="db.orderedlist.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="orderedlist">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.orderedlist.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:element maxOccurs="unbounded" ref="db:listitem"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.orderedlist.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.listitem.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.listitem.override.attribute">
+ <xs:attribute name="override" use="required" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.listitem.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="override" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:element name="listitem">
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:attributeGroup ref="db:db.listitem.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.segmentedlist.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.segmentedlist.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.segmentedlist.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="segmentedlist">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.segmentedlist.info"/>
+ <xs:element maxOccurs="unbounded" ref="db:segtitle"/>
+ <xs:element maxOccurs="unbounded" ref="db:seglistitem"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.segmentedlist.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.segtitle.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.segtitle.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="segtitle">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.segtitle.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.seglistitem.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.seglistitem.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="seglistitem">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:seg"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.seglistitem.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.seg.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.seg.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="seg">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.seg.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.simplelist.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.simplelist.type.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="horiz">
+ <xs:annotation>
+ <xs:documentation>A tabular presentation in row-major order.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="vert">
+ <xs:annotation>
+ <xs:documentation>A tabular presentation in column-major order.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="inline">
+ <xs:annotation>
+ <xs:documentation>An inline presentation, usually a comma-delimited list.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.simplelist.type.attribute">
+ <xs:attribute name="type" use="required" type="db:db.simplelist.type.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.simplelist.columns.attribute">
+ <xs:attribute name="columns" use="required" type="xs:integer"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.simplelist.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="type" type="db:db.simplelist.type.enumeration"/>
+ <xs:attribute name="columns" type="xs:integer"/>
+ </xs:attributeGroup>
+ <xs:element name="simplelist">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:member"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.simplelist.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.member.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.member.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="member">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.member.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.variablelist.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.variablelist.termlength.attribute">
+ <xs:attribute name="termlength" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.variablelist.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="spacing" type="db:db.spacing.enumeration"/>
+ <xs:attribute name="termlength"/>
+ </xs:attributeGroup>
+ <xs:group name="db.variablelist.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="variablelist">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.variablelist.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:element maxOccurs="unbounded" ref="db:varlistentry"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.variablelist.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.varlistentry.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.varlistentry.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="varlistentry">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:term"/>
+ <xs:element ref="db:listitem"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.varlistentry.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.term.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.term.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="term">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.term.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.example.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.example.label.attribute">
+ <xs:attributeGroup ref="db:db.label.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.example.width.attribute">
+ <xs:attributeGroup ref="db:db.width.characters.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.example.pgwide.attribute">
+ <xs:attributeGroup ref="db:db.pgwide.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.example.floatstyle.attribute">
+ <xs:attributeGroup ref="db:db.floatstyle.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.example.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="floatstyle"/>
+ <xs:attribute name="width" type="xs:nonNegativeInteger"/>
+ <xs:attribute name="pgwide" type="db:db.pgwide.enumeration"/>
+ </xs:attributeGroup>
+ <xs:group name="db.example.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.onlyreq"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="example">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.example.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.caption"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.example.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.informalexample.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.informalexample.width.attribute">
+ <xs:attributeGroup ref="db:db.width.characters.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.informalexample.floatstyle.attribute">
+ <xs:attributeGroup ref="db:db.floatstyle.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.informalexample.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="floatstyle"/>
+ <xs:attribute name="width" type="xs:nonNegativeInteger"/>
+ </xs:attributeGroup>
+ <xs:group name="db.informalexample.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="informalexample">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.informalexample.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.caption"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.informalexample.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.verbatim.inlines">
+ <xs:choice>
+ <xs:choice>
+ <xs:group ref="db:db.all.inlines"/>
+ <xs:element ref="db:lineannotation"/>
+ </xs:choice>
+ <xs:element ref="db:co"/>
+ </xs:choice>
+ </xs:group>
+ <xs:complexType name="db.verbatim.contentmodel" mixed="true">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ <xs:choice>
+ <xs:element ref="db:textobject"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.verbatim.inlines"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.literallayout.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.literallayout.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="monospaced">
+ <xs:annotation>
+ <xs:documentation>The literal layout should be formatted with a monospaced font</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="normal">
+ <xs:annotation>
+ <xs:documentation>The literal layout should be formatted with the current font</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.literallayout.class.attribute">
+ <xs:attribute name="class" use="required" type="db:db.literallayout.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.literallayout.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.verbatim.attributes"/>
+ <xs:attribute name="class" type="db:db.literallayout.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:element name="literallayout" substitutionGroup="db:db.verbatim.blocks">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.verbatim.contentmodel">
+ <xs:attributeGroup ref="db:db.literallayout.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.screen.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.screen.width.attribute">
+ <xs:attributeGroup ref="db:db.width.characters.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.screen.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.verbatim.attributes"/>
+ <xs:attribute name="width" type="xs:nonNegativeInteger"/>
+ </xs:attributeGroup>
+ <xs:element name="screen" substitutionGroup="db:db.verbatim.blocks">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.verbatim.contentmodel">
+ <xs:attributeGroup ref="db:db.screen.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.screenshot.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.screenshot.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.screenshot.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="screenshot" substitutionGroup="db:db.graphic.blocks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.screenshot.info"/>
+ <xs:element ref="db:mediaobject"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.screenshot.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.figure.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.figure.label.attribute">
+ <xs:attributeGroup ref="db:db.label.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.figure.pgwide.attribute">
+ <xs:attributeGroup ref="db:db.pgwide.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.figure.floatstyle.attribute">
+ <xs:attributeGroup ref="db:db.floatstyle.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.figure.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="pgwide" type="db:db.pgwide.enumeration"/>
+ <xs:attribute name="floatstyle"/>
+ </xs:attributeGroup>
+ <xs:group name="db.figure.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.onlyreq"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="figure">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.figure.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.caption"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.figure.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.informalfigure.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.informalfigure.label.attribute">
+ <xs:attributeGroup ref="db:db.label.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.informalfigure.pgwide.attribute">
+ <xs:attributeGroup ref="db:db.pgwide.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.informalfigure.floatstyle.attribute">
+ <xs:attributeGroup ref="db:db.floatstyle.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.informalfigure.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="pgwide" type="db:db.pgwide.enumeration"/>
+ <xs:attribute name="floatstyle"/>
+ </xs:attributeGroup>
+ <xs:group name="db.informalfigure.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="informalfigure">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.informalfigure.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.caption"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.informalfigure.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:element name="db.mediaobject.content" abstract="true"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.mediaobject.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.mediaobject.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.mediaobject.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="mediaobject" substitutionGroup="db:db.graphic.blocks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.mediaobject.info"/>
+ <xs:element minOccurs="0" ref="db:alt"/>
+ <xs:element maxOccurs="unbounded" ref="db:db.mediaobject.content"/>
+ <xs:group minOccurs="0" ref="db:db.caption"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.mediaobject.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.inlinemediaobject.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.inlinemediaobject.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.inlinemediaobject.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="inlinemediaobject" substitutionGroup="db:db.graphic.inlines"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.videoobject.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.videoobject.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.videoobject.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="videoobject" substitutionGroup="db:db.mediaobject.content">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.videoobject.info"/>
+ <xs:element ref="db:videodata"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.videoobject.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.audioobject.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.audioobject.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.audioobject.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="audioobject" substitutionGroup="db:db.mediaobject.content">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.audioobject.info"/>
+ <xs:element ref="db:audiodata"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.audioobject.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.imageobject.content">
+ <xs:choice>
+ <xs:group ref="db:db.imagedata"/>
+ <xs:group ref="db:db.imagedata.mathml"/>
+ <xs:group ref="db:db.imagedata.svg"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.imageobject.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.imageobject.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.imageobject.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="imageobject" substitutionGroup="db:db.mediaobject.content">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.imageobject.info"/>
+ <xs:group ref="db:db.imageobject.content"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.imageobject.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.textobject.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.textobject.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.textobject.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="textobject" substitutionGroup="db:db.mediaobject.content">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.textobject.info"/>
+ <xs:choice>
+ <xs:group ref="db:db.phrase"/>
+ <xs:element ref="db:textdata"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.textobject.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.videodata.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.videodata.align.enumeration">
+ <xs:restriction base="db:db.halign.enumeration"/>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.videodata.align.attribute">
+ <xs:attribute name="align" use="required" type="db:db.videodata.align.enumeration"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.videodata.valign.enumeration">
+ <xs:restriction base="db:db.valign.enumeration"/>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.videodata.valign.attribute">
+ <xs:attribute name="valign" use="required" type="db:db.videodata.valign.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.videodata.width.attribute">
+ <xs:attributeGroup ref="db:db.width.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.videodata.depth.attribute">
+ <xs:attributeGroup ref="db:db.depth.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.videodata.contentwidth.attribute">
+ <xs:attributeGroup ref="db:db.contentwidth.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.videodata.contentdepth.attribute">
+ <xs:attributeGroup ref="db:db.contentdepth.attribute"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.videodata.scalefit.enumeration">
+ <xs:restriction base="db:db.scalefit.enumeration"/>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.videodata.scalefit.attribute">
+ <xs:attribute name="scalefit" use="required" type="db:db.videodata.scalefit.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.videodata.scale.attribute">
+ <xs:attributeGroup ref="db:db.scale.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.videodata.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.data.attributes"/>
+ <xs:attribute name="align" type="db:db.videodata.align.enumeration"/>
+ <xs:attribute name="valign" type="db:db.videodata.valign.enumeration"/>
+ <xs:attribute name="width"/>
+ <xs:attribute name="contentwidth"/>
+ <xs:attribute name="scalefit" type="db:db.videodata.scalefit.enumeration"/>
+ <xs:attribute name="scale" type="xs:positiveInteger"/>
+ <xs:attribute name="depth"/>
+ <xs:attribute name="contentdepth"/>
+ </xs:attributeGroup>
+ <xs:complexType name="db.videodata.info">
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:complexType>
+ <xs:element name="videodata">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.videodata.info">
+ <xs:attributeGroup ref="db:db.videodata.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.audiodata.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.audiodata.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.data.attributes"/>
+ </xs:attributeGroup>
+ <xs:complexType name="db.audiodata.info">
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:complexType>
+ <xs:element name="audiodata">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.audiodata.info">
+ <xs:attributeGroup ref="db:db.audiodata.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.imagedata.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.imagedata.align.enumeration">
+ <xs:restriction base="db:db.halign.enumeration"/>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.imagedata.align.attribute">
+ <xs:attribute name="align" use="required" type="db:db.imagedata.align.enumeration"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.imagedata.valign.enumeration">
+ <xs:restriction base="db:db.valign.enumeration"/>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.imagedata.valign.attribute">
+ <xs:attribute name="valign" use="required" type="db:db.imagedata.valign.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.imagedata.width.attribute">
+ <xs:attributeGroup ref="db:db.width.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.imagedata.depth.attribute">
+ <xs:attributeGroup ref="db:db.depth.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.imagedata.contentwidth.attribute">
+ <xs:attributeGroup ref="db:db.contentwidth.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.imagedata.contentdepth.attribute">
+ <xs:attributeGroup ref="db:db.contentdepth.attribute"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.imagedata.scalefit.enumeration">
+ <xs:restriction base="db:db.scalefit.enumeration"/>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.imagedata.scalefit.attribute">
+ <xs:attribute name="scalefit" use="required" type="db:db.imagedata.scalefit.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.imagedata.scale.attribute">
+ <xs:attributeGroup ref="db:db.scale.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.imagedata.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.data.attributes"/>
+ <xs:attribute name="align" type="db:db.imagedata.align.enumeration"/>
+ <xs:attribute name="valign" type="db:db.imagedata.valign.enumeration"/>
+ <xs:attribute name="width"/>
+ <xs:attribute name="contentwidth"/>
+ <xs:attribute name="scalefit" type="db:db.imagedata.scalefit.enumeration"/>
+ <xs:attribute name="scale" type="xs:positiveInteger"/>
+ <xs:attribute name="depth"/>
+ <xs:attribute name="contentdepth"/>
+ </xs:attributeGroup>
+ <xs:complexType name="db.imagedata.info">
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:complexType>
+ <xs:group name="db.imagedata">
+ <xs:sequence>
+ <xs:element name="imagedata">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.imagedata.info">
+ <xs:attributeGroup ref="db:db.imagedata.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.textdata.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.textdata.encoding.attribute">
+ <xs:attribute name="encoding" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.textdata.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.data.attributes"/>
+ <xs:attribute name="encoding"/>
+ </xs:attributeGroup>
+ <xs:complexType name="db.textdata.info">
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:complexType>
+ <xs:element name="textdata">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.textdata.info">
+ <xs:attributeGroup ref="db:db.textdata.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.caption.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.caption.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.caption.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db.caption">
+ <xs:sequence>
+ <xs:element name="caption">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.caption.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.caption.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.address.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.address.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.verbatim.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="address" substitutionGroup="db:db.publishing.blocks">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:personname"/>
+ <xs:element ref="db:orgname"/>
+ <xs:element ref="db:pob"/>
+ <xs:element ref="db:street"/>
+ <xs:element ref="db:city"/>
+ <xs:element ref="db:state"/>
+ <xs:element ref="db:postcode"/>
+ <xs:element ref="db:country"/>
+ <xs:element ref="db:phone"/>
+ <xs:element ref="db:fax"/>
+ <xs:element ref="db:email"/>
+ <xs:element ref="db:uri"/>
+ <xs:element ref="db:otheraddr"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.address.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.street.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.street.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="street">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.street.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.pob.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.pob.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="pob">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.pob.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.postcode.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.postcode.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="postcode">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.postcode.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.city.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.city.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="city">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.city.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.state.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.state.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="state">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.state.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.country.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.country.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="country">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.country.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.phone.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.phone.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="phone">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.phone.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.fax.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.fax.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="fax">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.fax.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.otheraddr.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.otheraddr.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="otheraddr">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.otheraddr.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.affiliation.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.affiliation.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="affiliation">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="db:shortaffil"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:jobtitle"/>
+ <xs:choice>
+ <xs:element minOccurs="0" ref="db:org"/>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="db:orgname"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:orgdiv"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:address"/>
+ </xs:sequence>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.affiliation.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.shortaffil.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.shortaffil.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="shortaffil">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.shortaffil.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.jobtitle.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.jobtitle.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="jobtitle" substitutionGroup="db:db.bibliography.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.jobtitle.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.orgname.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="consortium">
+ <xs:annotation>
+ <xs:documentation>A consortium</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="corporation">
+ <xs:annotation>
+ <xs:documentation>A corporation</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="informal">
+ <xs:annotation>
+ <xs:documentation>An informal organization</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="nonprofit">
+ <xs:annotation>
+ <xs:documentation>A non-profit organization</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.orgname.class-enum.attribute">
+ <xs:attribute name="class" use="required" type="db:db.orgname.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.orgname.class-other.attributes">
+ <xs:attribute name="class" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Indicates a non-standard organization class</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otherclass" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.orgname.class.attribute">
+ <xs:attribute name="class" use="required">
+ <xs:simpleType>
+ <xs:union memberTypes="db:db.orgname.class.enumeration">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Indicates a non-standard organization class</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otherclass"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.orgname.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.orgname.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="class">
+ <xs:simpleType>
+ <xs:union memberTypes="db:db.orgname.class.enumeration">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Indicates a non-standard organization class</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otherclass"/>
+ </xs:attributeGroup>
+ <xs:element name="orgname" substitutionGroup="db:db.bibliography.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.orgname.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.orgdiv.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.orgdiv.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="orgdiv">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.orgdiv.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.artpagenums.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.artpagenums.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="artpagenums">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.artpagenums.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.personname.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.personname.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="personname" substitutionGroup="db:db.bibliography.inlines">
+ <xs:complexType mixed="true">
+ <xs:choice>
+ <xs:group ref="db:db._text"/>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:honorific"/>
+ <xs:element ref="db:firstname"/>
+ <xs:element ref="db:surname"/>
+ <xs:element ref="db:lineage"/>
+ <xs:element ref="db:othername"/>
+ </xs:choice>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:honorific"/>
+ <xs:element ref="db:givenname"/>
+ <xs:element ref="db:surname"/>
+ <xs:element ref="db:lineage"/>
+ <xs:element ref="db:othername"/>
+ </xs:choice>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.personname.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.person.author.contentmodel">
+ <xs:sequence>
+ <xs:element ref="db:personname"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:personblurb"/>
+ <xs:element ref="db:affiliation"/>
+ <xs:element ref="db:email"/>
+ <xs:element ref="db:uri"/>
+ <xs:element ref="db:address"/>
+ <xs:element ref="db:contrib"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db.org.author.contentmodel">
+ <xs:sequence>
+ <xs:element ref="db:orgname"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:orgdiv"/>
+ <xs:element ref="db:affiliation"/>
+ <xs:element ref="db:email"/>
+ <xs:element ref="db:uri"/>
+ <xs:element ref="db:address"/>
+ <xs:element ref="db:contrib"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+ <xs:complexType name="db.credit.contentmodel">
+ <xs:choice>
+ <xs:group ref="db:db.person.author.contentmodel"/>
+ <xs:group ref="db:db.org.author.contentmodel"/>
+ </xs:choice>
+ </xs:complexType>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.author.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.author.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="author" substitutionGroup="db:db.bibliography.inlines">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.credit.contentmodel">
+ <xs:attributeGroup ref="db:db.author.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.authorgroup.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.authorgroup.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="authorgroup">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:author"/>
+ <xs:element ref="db:editor"/>
+ <xs:element ref="db:othercredit"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.authorgroup.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.collab.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.collab.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="collab">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:person"/>
+ <xs:element ref="db:personname"/>
+ <xs:element ref="db:org"/>
+ <xs:element ref="db:orgname"/>
+ </xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:affiliation"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.collab.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.authorinitials.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.authorinitials.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="authorinitials">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.authorinitials.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.person.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.person.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="person" substitutionGroup="db:db.bibliography.inlines">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="db:personname"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:address"/>
+ <xs:element ref="db:affiliation"/>
+ <xs:element ref="db:email"/>
+ <xs:element ref="db:uri"/>
+ <xs:element ref="db:personblurb"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.person.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.org.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.org.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="org" substitutionGroup="db:db.bibliography.inlines">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="db:orgname"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:address"/>
+ <xs:element ref="db:affiliation"/>
+ <xs:element ref="db:email"/>
+ <xs:element ref="db:uri"/>
+ <xs:element ref="db:orgdiv"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.org.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.confgroup.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.confgroup.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="confgroup">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:confdates"/>
+ <xs:element ref="db:conftitle"/>
+ <xs:element ref="db:confnum"/>
+ <xs:element ref="db:confsponsor"/>
+ <xs:element ref="db:address"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.confgroup.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.confdates.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.confdates.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="confdates">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.confdates.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.conftitle.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.conftitle.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="conftitle">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.conftitle.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.confnum.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.confnum.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="confnum">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.confnum.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.confsponsor.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.confsponsor.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="confsponsor">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.confsponsor.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.contractnum.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.contractnum.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="contractnum">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.contractnum.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.contractsponsor.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.contractsponsor.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="contractsponsor">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.contractsponsor.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.copyright.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.copyright.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="copyright">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:year"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:holder"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.copyright.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.year.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.year.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="year">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.year.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.holder.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.holder.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="holder">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.holder.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.cover.contentmodel">
+ <xs:choice>
+ <xs:choice>
+ <xs:group ref="db:db.para.blocks"/>
+ <xs:group ref="db:db.list.blocks"/>
+ <xs:group ref="db:db.informal.blocks"/>
+ <xs:element ref="db:db.publishing.blocks"/>
+ <xs:element ref="db:db.graphic.blocks"/>
+ <xs:group ref="db:db.technical.blocks"/>
+ <xs:element ref="db:db.verbatim.blocks"/>
+ <xs:element ref="db:bridgehead"/>
+ <xs:element ref="db:remark"/>
+ <xs:element ref="db:revhistory"/>
+ </xs:choice>
+ <xs:element ref="db:db.synopsis.blocks"/>
+ </xs:choice>
+ </xs:group>
+ <xs:attributeGroup name="db.cover.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.cover.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="cover">
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.cover.contentmodel"/>
+ <xs:attributeGroup ref="db:db.cover.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.date.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.date.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="date">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="db:db.date.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.edition.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.edition.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="edition">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.edition.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.editor.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.editor.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="editor" substitutionGroup="db:db.bibliography.inlines">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.credit.contentmodel">
+ <xs:attributeGroup ref="db:db.editor.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.biblioid.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.biblioid.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.biblio.class.attribute"/>
+ </xs:attributeGroup>
+ <xs:element name="biblioid">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.biblioid.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.citebiblioid.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.citebiblioid.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.biblio.class.attribute"/>
+ </xs:attributeGroup>
+ <xs:element name="citebiblioid" substitutionGroup="db:db.bibliography.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.citebiblioid.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.bibliosource.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliosource.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.biblio.class.attribute"/>
+ </xs:attributeGroup>
+ <xs:element name="bibliosource">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.bibliosource.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.bibliorelation.type.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="hasformat">
+ <xs:annotation>
+ <xs:documentation>The described resource pre-existed the referenced resource, which is essentially the same intellectual content presented in another format</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="haspart">
+ <xs:annotation>
+ <xs:documentation>The described resource includes the referenced resource either physically or logically</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="hasversion">
+ <xs:annotation>
+ <xs:documentation>The described resource has a version, edition, or adaptation, namely, the referenced resource</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="isformatof">
+ <xs:annotation>
+ <xs:documentation>The described resource is the same intellectual content of the referenced resource, but presented in another format</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="ispartof">
+ <xs:annotation>
+ <xs:documentation>The described resource is a physical or logical part of the referenced resource</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="isreferencedby">
+ <xs:annotation>
+ <xs:documentation>The described resource is referenced, cited, or otherwise pointed to by the referenced resource</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="isreplacedby">
+ <xs:annotation>
+ <xs:documentation>The described resource is supplanted, displaced, or superceded by the referenced resource</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="isrequiredby">
+ <xs:annotation>
+ <xs:documentation>The described resource is required by the referenced resource, either physically or logically</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="isversionof">
+ <xs:annotation>
+ <xs:documentation>The described resource is a version, edition, or adaptation of the referenced resource; changes in version imply substantive changes in content rather than differences in format</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="references">
+ <xs:annotation>
+ <xs:documentation>The described resource references, cites, or otherwise points to the referenced resource</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="replaces">
+ <xs:annotation>
+ <xs:documentation>The described resource supplants, displaces, or supersedes the referenced resource</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="requires">
+ <xs:annotation>
+ <xs:documentation>The described resource requires the referenced resource to support its function, delivery, or coherence of content</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.bibliorelation.type-enum.attribute">
+ <xs:attribute name="type" type="db:db.bibliorelation.type.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliorelation.type-other.attributes">
+ <xs:attribute name="type">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="othertype">
+ <xs:annotation>
+ <xs:documentation>The described resource has a non-standard relationship with the referenced resource</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="othertype" use="required" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliorelation.type.attribute">
+ <xs:attribute name="type">
+ <xs:simpleType>
+ <xs:union memberTypes="db:db.bibliorelation.type.enumeration">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="othertype">
+ <xs:annotation>
+ <xs:documentation>The described resource has a non-standard relationship with the referenced resource</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="othertype" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliorelation.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliorelation.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.biblio.class.attribute"/>
+ <xs:attributeGroup ref="db:db.bibliorelation.type.attribute"/>
+ </xs:attributeGroup>
+ <xs:element name="bibliorelation">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.bibliorelation.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.bibliocoverage.spacial.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="dcmipoint">
+ <xs:annotation>
+ <xs:documentation>The DCMI Point identifies a point in space using its geographic coordinates</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="iso3166">
+ <xs:annotation>
+ <xs:documentation>ISO 3166 Codes for the representation of names of countries</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="dcmibox">
+ <xs:annotation>
+ <xs:documentation>The DCMI Box identifies a region of space using its geographic limits</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="tgn">
+ <xs:annotation>
+ <xs:documentation>The Getty Thesaurus of Geographic Names</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.bibliocoverage.spatial-enum.attribute">
+ <xs:attribute name="spatial" type="db:db.bibliocoverage.spacial.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliocoverage.spatial-other.attributes">
+ <xs:attribute name="spatial">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="otherspatial">
+ <xs:annotation>
+ <xs:documentation>Identifies a non-standard type of coverage</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otherspatial" use="required" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliocoverage.spatial.attribute">
+ <xs:attribute name="spatial">
+ <xs:simpleType>
+ <xs:union memberTypes="db:db.bibliocoverage.spacial.enumeration">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="otherspatial">
+ <xs:annotation>
+ <xs:documentation>Identifies a non-standard type of coverage</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otherspatial" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.bibliocoverage.temporal.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="dcmiperiod">
+ <xs:annotation>
+ <xs:documentation>A specification of the limits of a time interval</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="w3c-dtf">
+ <xs:annotation>
+ <xs:documentation>W3C Encoding rules for dates and times—a profile based on ISO 8601</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.bibliocoverage.temporal-enum.attribute">
+ <xs:attribute name="temporal" type="db:db.bibliocoverage.temporal.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliocoverage.temporal-other.attributes">
+ <xs:attribute name="temporal">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="othertemporal">
+ <xs:annotation>
+ <xs:documentation>Specifies a non-standard type of coverage</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="othertemporal" use="required" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliocoverage.temporal.attribute">
+ <xs:attribute name="temporal">
+ <xs:simpleType>
+ <xs:union memberTypes="db:db.bibliocoverage.temporal.enumeration">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="othertemporal">
+ <xs:annotation>
+ <xs:documentation>Specifies a non-standard type of coverage</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="othertemporal" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliocoverage.coverage.attrib">
+ <xs:attributeGroup ref="db:db.bibliocoverage.spatial.attribute"/>
+ <xs:attributeGroup ref="db:db.bibliocoverage.temporal.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliocoverage.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.bibliocoverage.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.bibliocoverage.coverage.attrib"/>
+ </xs:attributeGroup>
+ <xs:element name="bibliocoverage">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.bibliocoverage.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.legalnotice.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.legalnotice.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.legalnotice.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="legalnotice">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.legalnotice.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.legalnotice.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.othercredit.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="copyeditor">
+ <xs:annotation>
+ <xs:documentation>A copy editor</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="graphicdesigner">
+ <xs:annotation>
+ <xs:documentation>A graphic designer</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Some other contributor</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="productioneditor">
+ <xs:annotation>
+ <xs:documentation>A production editor</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="technicaleditor">
+ <xs:annotation>
+ <xs:documentation>A technical editor</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="translator">
+ <xs:annotation>
+ <xs:documentation>A translator</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="indexer">
+ <xs:annotation>
+ <xs:documentation>An indexer</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="proofreader">
+ <xs:annotation>
+ <xs:documentation>A proof-reader</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="coverdesigner">
+ <xs:annotation>
+ <xs:documentation>A cover designer</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="interiordesigner">
+ <xs:annotation>
+ <xs:documentation>An interior designer</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="illustrator">
+ <xs:annotation>
+ <xs:documentation>An illustrator</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="reviewer">
+ <xs:annotation>
+ <xs:documentation>A reviewer</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="typesetter">
+ <xs:annotation>
+ <xs:documentation>A typesetter</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="conversion">
+ <xs:annotation>
+ <xs:documentation>A converter (a persons responsible for conversion, not an application)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.othercredit.class-enum.attribute">
+ <xs:attribute name="class" type="db:db.othercredit.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.othercredit.class-other.attribute">
+ <xs:attribute name="otherclass" use="required" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.othercredit.class-other.attributes">
+ <xs:attribute name="class" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Identifies a non-standard contribution</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attributeGroup ref="db:db.othercredit.class-other.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.othercredit.class.attribute">
+ <xs:attribute name="class">
+ <xs:simpleType>
+ <xs:union memberTypes="db:db.othercredit.class.enumeration">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Identifies a non-standard contribution</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otherclass" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.othercredit.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.othercredit.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.othercredit.class.attribute"/>
+ </xs:attributeGroup>
+ <xs:element name="othercredit">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.credit.contentmodel">
+ <xs:attributeGroup ref="db:db.othercredit.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.pagenums.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.pagenums.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="pagenums">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.pagenums.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.contrib.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.contrib.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="contrib">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.contrib.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.honorific.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.honorific.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="honorific">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.honorific.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.firstname.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.firstname.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="firstname">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.firstname.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.givenname.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.givenname.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="givenname">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.givenname.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.surname.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.surname.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="surname">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.surname.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.lineage.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.lineage.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="lineage">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.lineage.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.othername.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.othername.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="othername">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.othername.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.printhistory.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.printhistory.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="printhistory">
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.para.blocks"/>
+ <xs:attributeGroup ref="db:db.printhistory.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.pubdate.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.pubdate.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="pubdate">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="db:db.pubdate.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.publisher.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.publisher.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="publisher">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="db:publishername"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:address"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.publisher.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.publishername.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.publishername.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="publishername">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.publishername.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.releaseinfo.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.releaseinfo.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="releaseinfo">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.releaseinfo.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.revhistory.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.revhistory.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.revhistory.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="revhistory">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.revhistory.info"/>
+ <xs:element maxOccurs="unbounded" ref="db:revision"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.revhistory.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.revision.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.revision.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="revision">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="db:revnumber"/>
+ <xs:element ref="db:date"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:authorinitials"/>
+ <xs:element ref="db:author"/>
+ </xs:choice>
+ <xs:choice minOccurs="0">
+ <xs:element ref="db:revremark"/>
+ <xs:element ref="db:revdescription"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.revision.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.revnumber.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.revnumber.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="revnumber">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.revnumber.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.revremark.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.revremark.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="revremark">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.revremark.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.revdescription.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.revdescription.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="revdescription">
+ <xs:complexType>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:attributeGroup ref="db:db.revdescription.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.seriesvolnums.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.seriesvolnums.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="seriesvolnums">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.seriesvolnums.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.volumenum.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.volumenum.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="volumenum">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.volumenum.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.issuenum.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.issuenum.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="issuenum">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.issuenum.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.package.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.package.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="package" substitutionGroup="db:db.technical.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.package.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.email.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.email.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="email" substitutionGroup="db:db.markup.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.email.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.lineannotation.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.lineannotation.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="lineannotation">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.lineannotation.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.parameter.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="command">
+ <xs:annotation>
+ <xs:documentation>A command</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="function">
+ <xs:annotation>
+ <xs:documentation>A function</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="option">
+ <xs:annotation>
+ <xs:documentation>An option</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.parameter.class.attribute">
+ <xs:attribute name="class" use="required" type="db:db.parameter.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.parameter.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.parameter.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="class" type="db:db.parameter.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:element name="parameter" substitutionGroup="db:db.technical.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.parameter.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.replaceable.inlines">
+ <xs:choice>
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:co"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.replaceable.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="command">
+ <xs:annotation>
+ <xs:documentation>A command</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="function">
+ <xs:annotation>
+ <xs:documentation>A function</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="option">
+ <xs:annotation>
+ <xs:documentation>An option</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="parameter">
+ <xs:annotation>
+ <xs:documentation>A parameter</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.replaceable.class.attribute">
+ <xs:attribute name="class" use="required" type="db:db.replaceable.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.replaceable.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.replaceable.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="class" type="db:db.replaceable.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:element name="replaceable" substitutionGroup="db:db.technical.inlines">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.replaceable.inlines"/>
+ <xs:attributeGroup ref="db:db.replaceable.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.uri.type.attribute">
+ <xs:attribute name="type"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.uri.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.uri.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.uri.type.attribute"/>
+ </xs:attributeGroup>
+ <xs:element name="uri" substitutionGroup="db:db.markup.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.uri.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.abbrev.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.abbrev.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="abbrev">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:superscript"/>
+ <xs:element ref="db:subscript"/>
+ <xs:element ref="db:trademark"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.abbrev.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.acronym.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.acronym.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="acronym">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:superscript"/>
+ <xs:element ref="db:subscript"/>
+ <xs:element ref="db:trademark"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.acronym.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.citation.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.citation.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="citation" substitutionGroup="db:db.bibliography.inlines">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.citation.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.citerefentry.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.citerefentry.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="citerefentry" substitutionGroup="db:db.bibliography.inlines">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="db:refentrytitle"/>
+ <xs:element minOccurs="0" ref="db:manvolnum"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.citerefentry.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.refentrytitle.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refentrytitle.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="refentrytitle">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.refentrytitle.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.manvolnum.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.manvolnum.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="manvolnum">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.manvolnum.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.citetitle.pubwork.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="article">
+ <xs:annotation>
+ <xs:documentation>An article</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="bbs">
+ <xs:annotation>
+ <xs:documentation>A bulletin board system</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="book">
+ <xs:annotation>
+ <xs:documentation>A book</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="cdrom">
+ <xs:annotation>
+ <xs:documentation>A CD-ROM</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="chapter">
+ <xs:annotation>
+ <xs:documentation>A chapter (as of a book)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="dvd">
+ <xs:annotation>
+ <xs:documentation>A DVD</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="emailmessage">
+ <xs:annotation>
+ <xs:documentation>An email message</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="gopher">
+ <xs:annotation>
+ <xs:documentation>A gopher page</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="journal">
+ <xs:annotation>
+ <xs:documentation>A journal</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="manuscript">
+ <xs:annotation>
+ <xs:documentation>A manuscript</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="newsposting">
+ <xs:annotation>
+ <xs:documentation>A posting to a newsgroup</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="part">
+ <xs:annotation>
+ <xs:documentation>A part (as of a book)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="refentry">
+ <xs:annotation>
+ <xs:documentation>A reference entry</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="section">
+ <xs:annotation>
+ <xs:documentation>A section (as of a book or article)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="series">
+ <xs:annotation>
+ <xs:documentation>A series</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="set">
+ <xs:annotation>
+ <xs:documentation>A set (as of books)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="webpage">
+ <xs:annotation>
+ <xs:documentation>A web page</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="wiki">
+ <xs:annotation>
+ <xs:documentation>A wiki page</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.citetitle.pubwork.attribute">
+ <xs:attribute name="pubwork" use="required" type="db:db.citetitle.pubwork.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.citetitle.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.citetitle.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="pubwork" type="db:db.citetitle.pubwork.enumeration"/>
+ </xs:attributeGroup>
+ <xs:element name="citetitle" substitutionGroup="db:db.bibliography.inlines">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.citetitle.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.emphasis.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.emphasis.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.emphasis">
+ <xs:sequence>
+ <xs:element name="emphasis">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.emphasis.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:group name="db._emphasis">
+ <xs:sequence>
+ <xs:element name="emphasis">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.emphasis.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.foreignphrase.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.foreignphrase.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.foreignphrase">
+ <xs:sequence>
+ <xs:element name="foreignphrase">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.general.inlines"/>
+ <xs:attributeGroup ref="db:db.foreignphrase.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db._foreignphrase.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db._foreignphrase.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db._foreignphrase">
+ <xs:sequence>
+ <xs:element name="foreignphrase">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db._foreignphrase.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.phrase.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.phrase.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.phrase">
+ <xs:sequence>
+ <xs:element name="phrase">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.phrase.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:group name="db._phrase">
+ <xs:sequence>
+ <xs:element name="phrase">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.phrase.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.quote.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.quote.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.quote">
+ <xs:sequence>
+ <xs:element name="quote">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.quote.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db._quote.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db._quote.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db._quote">
+ <xs:sequence>
+ <xs:element name="quote">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db._quote.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.subscript.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.subscript.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="subscript">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.subscript.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.superscript.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.superscript.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="superscript">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.superscript.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.trademark.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="copyright">
+ <xs:annotation>
+ <xs:documentation>A copyright</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="registered">
+ <xs:annotation>
+ <xs:documentation>A registered copyright</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="service">
+ <xs:annotation>
+ <xs:documentation>A service</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="trade">
+ <xs:annotation>
+ <xs:documentation>A trademark</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.trademark.class.attribute">
+ <xs:attribute name="class" use="required" type="db:db.trademark.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.trademark.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.trademark.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="class" type="db:db.trademark.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:element name="trademark" substitutionGroup="db:db.product.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.trademark.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.wordasword.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.wordasword.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="wordasword">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.wordasword.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.footnoteref.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.footnoteref.label.attribute">
+ <xs:attributeGroup ref="db:db.label.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.footnoteref.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.linkend.attribute"/>
+ <xs:attribute name="label"/>
+ </xs:attributeGroup>
+ <xs:element name="footnoteref">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.footnoteref.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.xref.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.xref.xrefstyle.attribute">
+ <xs:attributeGroup ref="db:db.xrefstyle.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.xref.endterm.attribute">
+ <xs:attributeGroup ref="db:db.endterm.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.xref.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.req.linking.attributes"/>
+ <xs:attribute name="xrefstyle"/>
+ <xs:attribute name="endterm" type="xs:IDREF"/>
+ </xs:attributeGroup>
+ <xs:element name="xref">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.xref.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.link.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.link.xrefstyle.attribute">
+ <xs:attributeGroup ref="db:db.xrefstyle.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.link.endterm.attribute">
+ <xs:attributeGroup ref="db:db.endterm.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.link.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.req.linking.attributes"/>
+ <xs:attribute name="xrefstyle"/>
+ <xs:attribute name="endterm" type="xs:IDREF"/>
+ </xs:attributeGroup>
+ <xs:element name="link">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.link.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.olink.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.olink.xrefstyle.attribute">
+ <xs:attributeGroup ref="db:db.xrefstyle.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.olink.localinfo.attribute">
+ <xs:attribute name="localinfo" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.olink.targetdoc.attribute">
+ <xs:attribute name="targetdoc" use="required" type="xs:anyURI"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.olink.targetptr.attribute">
+ <xs:attribute name="targetptr" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.olink.type.attribute">
+ <xs:attribute name="type" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.olink.attlist">
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attribute name="targetdoc" type="xs:anyURI"/>
+ <xs:attribute name="role"/>
+ <xs:attribute name="xrefstyle"/>
+ <xs:attribute name="localinfo"/>
+ <xs:attribute name="targetptr"/>
+ <xs:attribute name="type"/>
+ </xs:attributeGroup>
+ <xs:element name="olink">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.olink.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.anchor.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.anchor.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="db:db.common.idreq.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="anchor">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.anchor.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.alt.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.alt.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="alt">
+ <xs:complexType mixed="true">
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:inlinemediaobject"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.alt.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/product.xsd b/slides/schema/xsd/product.xsd
new file mode 100644
index 0000000..097f3e7
--- /dev/null
+++ b/slides/schema/xsd/product.xsd
@@ -0,0 +1,255 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.productname.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.productname.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="copyright">
+ <xs:annotation>
+ <xs:documentation>A name with a copyright</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="registered">
+ <xs:annotation>
+ <xs:documentation>A name with a registered copyright</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="service">
+ <xs:annotation>
+ <xs:documentation>A name of a service</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="trade">
+ <xs:annotation>
+ <xs:documentation>A name which is trademarked</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.productname.class.attribute">
+ <xs:attribute name="class" use="required" type="db:db.productname.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.productname.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="class" type="db:db.productname.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:element name="productname" substitutionGroup="db:db.product.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.productname.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.productnumber.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.productnumber.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="productnumber" substitutionGroup="db:db.product.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.productnumber.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.database.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="altkey">
+ <xs:annotation>
+ <xs:documentation>An alternate or secondary key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="constraint">
+ <xs:annotation>
+ <xs:documentation>A constraint</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="datatype">
+ <xs:annotation>
+ <xs:documentation>A data type</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="field">
+ <xs:annotation>
+ <xs:documentation>A field</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="foreignkey">
+ <xs:annotation>
+ <xs:documentation>A foreign key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="group">
+ <xs:annotation>
+ <xs:documentation>A group</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="index">
+ <xs:annotation>
+ <xs:documentation>An index</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="key1">
+ <xs:annotation>
+ <xs:documentation>The first or primary key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="key2">
+ <xs:annotation>
+ <xs:documentation>An alternate or secondary key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="name">
+ <xs:annotation>
+ <xs:documentation>A name</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="primarykey">
+ <xs:annotation>
+ <xs:documentation>The primary key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="procedure">
+ <xs:annotation>
+ <xs:documentation>A (stored) procedure</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="record">
+ <xs:annotation>
+ <xs:documentation>A record</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="rule">
+ <xs:annotation>
+ <xs:documentation>A rule</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="secondarykey">
+ <xs:annotation>
+ <xs:documentation>The secondary key</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="table">
+ <xs:annotation>
+ <xs:documentation>A table</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="user">
+ <xs:annotation>
+ <xs:documentation>A user</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="view">
+ <xs:annotation>
+ <xs:documentation>A view</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.database.class.attribute">
+ <xs:attribute name="class" use="required" type="db:db.database.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.database.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.database.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="class" type="db:db.database.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:element name="database" substitutionGroup="db:db.product.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.database.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.application.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="hardware">
+ <xs:annotation>
+ <xs:documentation>A hardware application</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="software">
+ <xs:annotation>
+ <xs:documentation>A software application</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.application.class.attribute">
+ <xs:attribute name="class" use="required" type="db:db.application.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.application.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.application.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="class" type="db:db.application.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:element name="application" substitutionGroup="db:db.product.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.application.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.hardware.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.hardware.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="hardware" substitutionGroup="db:db.product.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.hardware.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/programming.xsd b/slides/schema/xsd/programming.xsd
new file mode 100644
index 0000000..225920c
--- /dev/null
+++ b/slides/schema/xsd/programming.xsd
@@ -0,0 +1,749 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:group name="db.programming.inlines">
+ <xs:choice>
+ <xs:element ref="db:function"/>
+ <xs:element ref="db:parameter"/>
+ <xs:element ref="db:varname"/>
+ <xs:element ref="db:returnvalue"/>
+ <xs:element ref="db:type"/>
+ <xs:element ref="db:classname"/>
+ <xs:element ref="db:exceptionname"/>
+ <xs:element ref="db:interfacename"/>
+ <xs:element ref="db:methodname"/>
+ <xs:element ref="db:modifier"/>
+ <xs:element ref="db:initializer"/>
+ <xs:element ref="db:db.oo.inlines"/>
+ </xs:choice>
+ </xs:group>
+ <xs:element name="db.oo.inlines" abstract="true"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.synopsis.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.synopsis.label.attribute">
+ <xs:attributeGroup ref="db:db.label.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.synopsis.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.verbatim.attributes"/>
+ <xs:attribute name="label"/>
+ </xs:attributeGroup>
+ <xs:element name="synopsis" substitutionGroup="db:db.verbatim.blocks">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.verbatim.contentmodel">
+ <xs:attributeGroup ref="db:db.synopsis.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.funcsynopsis.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.funcsynopsis.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="language"/>
+ </xs:attributeGroup>
+ <xs:group name="db.funcsynopsis.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="funcsynopsis" substitutionGroup="db:db.synopsis.blocks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.funcsynopsis.info"/>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:funcsynopsisinfo"/>
+ <xs:element ref="db:funcprototype"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.funcsynopsis.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.funcsynopsisinfo.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.funcsynopsisinfo.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.verbatim.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="funcsynopsisinfo">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.verbatim.contentmodel">
+ <xs:attributeGroup ref="db:db.funcsynopsisinfo.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.funcprototype.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.funcprototype.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="funcprototype">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
+ <xs:element ref="db:funcdef"/>
+ <xs:choice>
+ <xs:element ref="db:void"/>
+ <xs:element ref="db:varargs"/>
+ <xs:sequence>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:paramdef"/>
+ <xs:group ref="db:db.group.paramdef"/>
+ </xs:choice>
+ <xs:element minOccurs="0" ref="db:varargs"/>
+ </xs:sequence>
+ </xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.funcprototype.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.funcdef.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.funcdef.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="funcdef">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:type"/>
+ <xs:element ref="db:function"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.funcdef.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.function.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.function.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="function">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.function.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.void.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.void.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="void">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.void.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.varargs.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.varargs.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="varargs">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.varargs.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.group.paramdef.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.group.paramdef.choice.attribute">
+ <xs:attributeGroup ref="db:db.choice.opt.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.group.paramdef.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="choice" type="db:db.choice.enumeration"/>
+ </xs:attributeGroup>
+ <xs:group name="db.group.paramdef">
+ <xs:sequence>
+ <xs:element name="group">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:paramdef"/>
+ <xs:group ref="db:db.group.paramdef"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.group.paramdef.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.paramdef.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.paramdef.choice.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="opt">
+ <xs:annotation>
+ <xs:documentation>Formatted to indicate that it is optional.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="req">
+ <xs:annotation>
+ <xs:documentation>Formatted to indicate that it is required.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.paramdef.choice.attribute">
+ <xs:attribute name="choice" use="required" type="db:db.paramdef.choice.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.paramdef.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="choice" type="db:db.paramdef.choice.enumeration"/>
+ </xs:attributeGroup>
+ <xs:element name="paramdef">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db._text"/>
+ <xs:element ref="db:initializer"/>
+ <xs:element ref="db:type"/>
+ <xs:element ref="db:parameter"/>
+ <xs:element ref="db:funcparams"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.paramdef.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.funcparams.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.funcparams.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="funcparams">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.funcparams.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.classsynopsis.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.classsynopsis.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="class">
+ <xs:annotation>
+ <xs:documentation>This is the synopsis of a class</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="interface">
+ <xs:annotation>
+ <xs:documentation>This is the synopsis of an interface</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.classsynopsis.class.attribute">
+ <xs:attribute name="class" use="required" type="db:db.classsynopsis.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.classsynopsis.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="language"/>
+ <xs:attribute name="class" type="db:db.classsynopsis.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:element name="classsynopsis" substitutionGroup="db:db.synopsis.blocks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:db.oo.inlines"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:classsynopsisinfo"/>
+ <xs:element ref="db:methodsynopsis"/>
+ <xs:element ref="db:constructorsynopsis"/>
+ <xs:element ref="db:destructorsynopsis"/>
+ <xs:element ref="db:fieldsynopsis"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.classsynopsis.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.classsynopsisinfo.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.classsynopsisinfo.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.verbatim.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="classsynopsisinfo">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.verbatim.contentmodel">
+ <xs:attributeGroup ref="db:db.classsynopsisinfo.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.ooclass.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.ooclass.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="ooclass" substitutionGroup="db:db.oo.inlines">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:package"/>
+ <xs:element ref="db:modifier"/>
+ </xs:choice>
+ <xs:element ref="db:classname"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.ooclass.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.oointerface.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.oointerface.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="oointerface" substitutionGroup="db:db.oo.inlines">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:package"/>
+ <xs:element ref="db:modifier"/>
+ </xs:choice>
+ <xs:element ref="db:interfacename"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.oointerface.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.ooexception.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.ooexception.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="ooexception" substitutionGroup="db:db.oo.inlines">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:package"/>
+ <xs:element ref="db:modifier"/>
+ </xs:choice>
+ <xs:element ref="db:exceptionname"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.ooexception.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.modifier.xml.space.attribute">
+ <xs:attributeGroup ref="xml:space1"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.modifier.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.modifier.attlist">
+ <xs:attributeGroup ref="xml:space1"/>
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="modifier">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.modifier.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.interfacename.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.interfacename.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="interfacename">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.interfacename.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.exceptionname.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.exceptionname.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="exceptionname">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.exceptionname.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.fieldsynopsis.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.fieldsynopsis.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="language"/>
+ </xs:attributeGroup>
+ <xs:element name="fieldsynopsis" substitutionGroup="db:db.synopsis.blocks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
+ <xs:element minOccurs="0" ref="db:type"/>
+ <xs:element ref="db:varname"/>
+ <xs:element minOccurs="0" ref="db:initializer"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.fieldsynopsis.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.initializer.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.initializer.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="initializer">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.initializer.inlines"/>
+ <xs:attributeGroup ref="db:db.initializer.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.constructorsynopsis.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.constructorsynopsis.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="language"/>
+ </xs:attributeGroup>
+ <xs:element name="constructorsynopsis" substitutionGroup="db:db.synopsis.blocks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
+ <xs:element minOccurs="0" ref="db:methodname"/>
+ <xs:choice>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:methodparam"/>
+ <xs:group ref="db:db.group.methodparam"/>
+ </xs:choice>
+ <xs:element minOccurs="0" ref="db:void"/>
+ </xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:exceptionname"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.constructorsynopsis.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.destructorsynopsis.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.destructorsynopsis.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="language"/>
+ </xs:attributeGroup>
+ <xs:element name="destructorsynopsis" substitutionGroup="db:db.synopsis.blocks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
+ <xs:element minOccurs="0" ref="db:methodname"/>
+ <xs:choice>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:methodparam"/>
+ <xs:group ref="db:db.group.methodparam"/>
+ </xs:choice>
+ <xs:element minOccurs="0" ref="db:void"/>
+ </xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:exceptionname"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.destructorsynopsis.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.methodsynopsis.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.methodsynopsis.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="language"/>
+ </xs:attributeGroup>
+ <xs:element name="methodsynopsis" substitutionGroup="db:db.synopsis.blocks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
+ <xs:choice minOccurs="0">
+ <xs:element ref="db:type"/>
+ <xs:element ref="db:void"/>
+ </xs:choice>
+ <xs:element ref="db:methodname"/>
+ <xs:choice>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:methodparam"/>
+ <xs:group ref="db:db.group.methodparam"/>
+ </xs:choice>
+ <xs:element ref="db:void"/>
+ </xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:exceptionname"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.methodsynopsis.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.methodname.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.methodname.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="methodname">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.methodname.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.methodparam.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.methodparam.rep.attribute">
+ <xs:attributeGroup ref="db:db.rep.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.methodparam.choice.attribute">
+ <xs:attributeGroup ref="db:db.choice.req.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.methodparam.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="rep" type="db:db.rep.enumeration"/>
+ <xs:attribute name="choice" type="db:db.choice.enumeration"/>
+ </xs:attributeGroup>
+ <xs:element name="methodparam">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
+ <xs:element minOccurs="0" ref="db:type"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
+ <xs:element ref="db:parameter"/>
+ <xs:element minOccurs="0" ref="db:initializer"/>
+ </xs:sequence>
+ <xs:element ref="db:funcparams"/>
+ </xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:modifier"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.methodparam.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.group.methodparam.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.group.methodparam.choice.attribute">
+ <xs:attributeGroup ref="db:db.choice.opt.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.group.methodparam.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="choice" type="db:db.choice.enumeration"/>
+ </xs:attributeGroup>
+ <xs:group name="db.group.methodparam">
+ <xs:sequence>
+ <xs:element name="group">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:methodparam"/>
+ <xs:group ref="db:db.group.methodparam"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.group.methodparam.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.varname.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.varname.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="varname">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.varname.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.returnvalue.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.returnvalue.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="returnvalue">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.returnvalue.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.type.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.type.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="type">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.type.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.classname.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.classname.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="classname">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.classname.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.programlisting.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.programlisting.width.attribute">
+ <xs:attributeGroup ref="db:db.width.characters.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.programlisting.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.verbatim.attributes"/>
+ <xs:attribute name="width" type="xs:nonNegativeInteger"/>
+ </xs:attributeGroup>
+ <xs:element name="programlisting" substitutionGroup="db:db.verbatim.blocks">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="db:db.verbatim.contentmodel">
+ <xs:attributeGroup ref="db:db.programlisting.attlist"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/qandaset.xsd b/slides/schema/xsd/qandaset.xsd
new file mode 100644
index 0000000..6bb9ee2
--- /dev/null
+++ b/slides/schema/xsd/qandaset.xsd
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: qandaset.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.qandaset.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:simpleType name="db.qandaset.defaultlabel.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="none">
+ <xs:annotation>
+ <xs:documentation>No labels</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="number">
+ <xs:annotation>
+ <xs:documentation>Numeric labels</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="qanda">
+ <xs:annotation>
+ <xs:documentation>"Q:" and "A:" labels</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.qandaset.defaultlabel.attribute">
+ <xs:attribute name="defaultlabel" use="required" type="db:db.qandaset.defaultlabel.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.qandaset.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="defaultlabel" type="db:db.qandaset.defaultlabel.enumeration"/>
+ </xs:attributeGroup>
+ <xs:group name="db.qandaset.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="qandaset">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.qandaset.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:choice>
+ <xs:element maxOccurs="unbounded" ref="db:qandadiv"/>
+ <xs:element maxOccurs="unbounded" ref="db:qandaentry"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.qandaset.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.qandadiv.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.qandadiv.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.qandadiv.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="qandadiv">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.qandadiv.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:choice>
+ <xs:element maxOccurs="unbounded" ref="db:qandadiv"/>
+ <xs:element maxOccurs="unbounded" ref="db:qandaentry"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.qandadiv.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.qandaentry.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.qandaentry.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.qandaentry.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="qandaentry">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.qandaentry.info"/>
+ <xs:element ref="db:question"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:answer"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.qandaentry.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.question.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.question.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="question">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="db:label"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.question.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.answer.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.answer.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="answer">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="db:label"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.answer.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.label.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.label.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="label">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.label.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/refentry.xsd b/slides/schema/xsd/refentry.xsd
new file mode 100644
index 0000000..4c0aa83
--- /dev/null
+++ b/slides/schema/xsd/refentry.xsd
@@ -0,0 +1,361 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: refentry.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:group name="db.toplevel.refsection">
+ <xs:choice>
+ <xs:element maxOccurs="unbounded" ref="db:refsection"/>
+ <xs:element maxOccurs="unbounded" ref="db:refsect1"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="db.secondlevel.refsection">
+ <xs:choice>
+ <xs:element maxOccurs="unbounded" ref="db:refsection"/>
+ <xs:element maxOccurs="unbounded" ref="db:refsect2"/>
+ </xs:choice>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:element name="db.reference.components" abstract="true">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.indexterm"/>
+ <xs:group ref="db:db.refentry.info"/>
+ <xs:element minOccurs="0" ref="db:refmeta"/>
+ <xs:element maxOccurs="unbounded" ref="db:refnamediv"/>
+ <xs:element minOccurs="0" ref="db:refsynopsisdiv"/>
+ <xs:group ref="db:db.toplevel.refsection"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.refentry.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.reference.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.reference.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.reference.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="status"/>
+ <xs:attribute name="label"/>
+ </xs:attributeGroup>
+ <xs:group name="db.reference.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="reference" substitutionGroup="db:db.divisions">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.reference.info"/>
+ <xs:element minOccurs="0" ref="db:partintro"/>
+ <xs:element maxOccurs="unbounded" ref="db:db.reference.components"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.reference.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.refentry.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refentry.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refentry.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="status"/>
+ <xs:attribute name="label"/>
+ </xs:attributeGroup>
+ <xs:group name="db.refentry.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="refentry" substitutionGroup="db:db.reference.components"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.refmeta.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refmeta.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="refmeta">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.indexterm"/>
+ <xs:element ref="db:refentrytitle"/>
+ <xs:element minOccurs="0" ref="db:manvolnum"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:refmiscinfo"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.indexterm"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.refmeta.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.refmiscinfo.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="source">
+ <xs:annotation>
+ <xs:documentation>The name of the software product or component to which this topic applies</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="version">
+ <xs:annotation>
+ <xs:documentation>The version of the software product or component to which this topic applies</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="manual">
+ <xs:annotation>
+ <xs:documentation>The section title of the reference page (e.g., User Commands)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="sectdesc">
+ <xs:annotation>
+ <xs:documentation>The section title of the reference page (believed synonymous with "manual" but in wide use)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="software">
+ <xs:annotation>
+ <xs:documentation>The name of the software product or component to which this topic applies (e.g., SunOS x.y; believed synonymous with "source" but in wide use)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.refmiscinfo.class-enum.attribute">
+ <xs:attribute name="class" type="db:db.refmiscinfo.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refmiscinfo.class-other.attribute">
+ <xs:attribute name="otherclass" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refmiscinfo.class-other.attributes">
+ <xs:attribute name="class" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Indicates that the information is some 'other' kind.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attributeGroup ref="db:db.refmiscinfo.class-other.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refmiscinfo.class.attribute">
+ <xs:attribute name="class">
+ <xs:simpleType>
+ <xs:union memberTypes="db:db.refmiscinfo.class.enumeration">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Indicates that the information is some 'other' kind.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otherclass"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.refmiscinfo.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refmiscinfo.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.refmiscinfo.class.attribute"/>
+ </xs:attributeGroup>
+ <xs:element name="refmiscinfo">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.refmiscinfo.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.refnamediv.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refnamediv.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="refnamediv">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="db:refdescriptor"/>
+ <xs:element maxOccurs="unbounded" ref="db:refname"/>
+ <xs:element ref="db:refpurpose"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:refclass"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.refnamediv.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.refdescriptor.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refdescriptor.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="refdescriptor">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.refdescriptor.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.refname.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refname.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="refname">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.refname.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.refpurpose.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refpurpose.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="refpurpose">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.refpurpose.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.refclass.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refclass.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="refclass">
+ <xs:complexType mixed="true">
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:application"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.refclass.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.refsynopsisdiv.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refsynopsisdiv.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.refsynopsisdiv.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="refsynopsisdiv">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.refsynopsisdiv.info"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.secondlevel.refsection"/>
+ </xs:sequence>
+ <xs:group ref="db:db.secondlevel.refsection"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.refsynopsisdiv.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.refsection.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refsection.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refsection.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="status"/>
+ <xs:attribute name="label"/>
+ </xs:attributeGroup>
+ <xs:group name="db.refsection.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="refsection">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.refsection.info"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:refsection"/>
+ </xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:refsection"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.refsection.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/refsect1.xsd b/slides/schema/xsd/refsect1.xsd
new file mode 100644
index 0000000..f0d984c
--- /dev/null
+++ b/slides/schema/xsd/refsect1.xsd
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: refsect1.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- ====================================================================== -->
+ <xs:group name="db.refsect1.sections">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:refsect2"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:attributeGroup name="db.refsect1.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refsect1.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refsect1.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.refsect1.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="refsect1">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.refsect1.info"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.refsect1.sections"/>
+ </xs:sequence>
+ <xs:group ref="db:db.refsect1.sections"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.refsect1.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.refsect2.sections">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:refsect3"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:attributeGroup name="db.refsect2.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refsect2.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refsect2.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.refsect2.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="refsect2">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.refsect2.info"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.refsect2.sections"/>
+ </xs:sequence>
+ <xs:group ref="db:db.refsect2.sections"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.refsect2.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.refsect3.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refsect3.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.refsect3.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.refsect3.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="refsect3">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.refsect3.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.refsect3.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/sect1.xsd b/slides/schema/xsd/sect1.xsd
new file mode 100644
index 0000000..2fbff4d
--- /dev/null
+++ b/slides/schema/xsd/sect1.xsd
@@ -0,0 +1,252 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: sect1.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- ====================================================================== -->
+ <xs:group name="db.sect1.sections">
+ <xs:choice>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:sect2"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:choice>
+ </xs:group>
+ <xs:attributeGroup name="db.sect1.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.sect1.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.sect1.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.sect1.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="sect1">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.sect1.info"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.sect1.sections"/>
+ </xs:sequence>
+ <xs:group ref="db:db.sect1.sections"/>
+ </xs:choice>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.sect1.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.sect2.sections">
+ <xs:choice>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:sect3"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:choice>
+ </xs:group>
+ <xs:attributeGroup name="db.sect2.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.sect2.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.sect2.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.sect2.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="sect2">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.sect2.info"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.sect2.sections"/>
+ </xs:sequence>
+ <xs:group ref="db:db.sect2.sections"/>
+ </xs:choice>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.sect2.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.sect3.sections">
+ <xs:choice>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:sect4"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:choice>
+ </xs:group>
+ <xs:attributeGroup name="db.sect3.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.sect3.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.sect3.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.sect3.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="sect3">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.sect3.info"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.sect3.sections"/>
+ </xs:sequence>
+ <xs:group ref="db:db.sect3.sections"/>
+ </xs:choice>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.sect3.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.sect4.sections">
+ <xs:choice>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:sect5"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:choice>
+ </xs:group>
+ <xs:attributeGroup name="db.sect4.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.sect4.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.sect4.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.sect4.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="sect4">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.sect4.info"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.sect4.sections"/>
+ </xs:sequence>
+ <xs:group ref="db:db.sect4.sections"/>
+ </xs:choice>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.sect4.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:group name="db.sect5.sections">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="db:simplesect"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:attributeGroup name="db.sect5.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.sect5.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.sect5.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.sect5.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="sect5">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.sect5.info"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:group minOccurs="0" ref="db:db.sect5.sections"/>
+ </xs:sequence>
+ <xs:group ref="db:db.sect5.sections"/>
+ </xs:choice>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.sect5.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/slides.xsd b/slides/schema/xsd/slides.xsd
new file mode 100644
index 0000000..01f819e
--- /dev/null
+++ b/slides/schema/xsd/slides.xsd
@@ -0,0 +1,362 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook-slides" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:include schemaLocation="docbook.xsd"/>
+ <xs:import namespace="http://docbook.org/ns/docbook" schemaLocation="db.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- See http://docbook.org/ns/docbook-slides -->
+ <!--
+ This file is part of DocBook Slides V5.0
+
+ Copyright 2012 Gabor Kovesdan
+
+ Release: $Id$
+
+ Permission to use, copy, modify and distribute the DocBook Slides
+ schema and its accompanying documentation for any purpose and without
+ fee is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook Slides schema in any way, label your schema
+ as a variant of DocBook Slides. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+ -->
+ <!-- Avoid ID clashes -->
+ <xs:attributeGroup name="db._any.attribute">
+ <xs:anyAttribute processContents="skip"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.common.attributes">
+ <xs:attribute ref="xml:id"/>
+ <xs:attributeGroup ref="db:db.common.base.attributes"/>
+ <xs:attribute name="annotations"/>
+ <xs:attributeGroup ref="dbs:dbs.style.attributes"/>
+ </xs:attributeGroup>
+ <!-- Any element and attribute from the SVG namespace -->
+ <xs:group name="db._any.svg">
+ <xs:sequence>
+ <xs:any namespace="http://www.w3.org/2000/svg" processContents="skip"/>
+ </xs:sequence>
+ </xs:group>
+ <!-- Any element and attribute from the MathML namespace -->
+ <xs:group name="db._any.mml">
+ <xs:sequence>
+ <xs:any namespace="http://www.w3.org/1998/Math/MathML" processContents="skip"/>
+ </xs:sequence>
+ </xs:group>
+ <!-- Any attribute from any namespace -->
+ <xs:attributeGroup name="dbs._any.attribute">
+ <xs:anyAttribute processContents="skip"/>
+ </xs:attributeGroup>
+ <xs:group name="dbs.all.content">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="db:db.all.blocks"/>
+ <xs:element ref="dbs:speakernotes"/>
+ <xs:element ref="dbs:handoutnotes"/>
+ <xs:group ref="dbs:db._any.svg"/>
+ <xs:group ref="dbs:db._any.mml"/>
+ <xs:element ref="dbs:block"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="block">
+ <xs:annotation>
+ <xs:documentation>Indicates a formatting block that can have its own styling applied</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="dbs:dbs.all.content"/>
+ <xs:attributeGroup ref="dbs:dbs.block.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="dbs.block.role.attribute">
+ <xs:attribute name="role" use="required">
+ <xs:annotation>
+ <xs:documentation>Role attribute for the block element</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="dbs.block.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="dbs.block.attlist">
+ <xs:attribute name="role">
+ <xs:annotation>
+ <xs:documentation>Role attribute for the block element</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:element name="slides">
+ <xs:annotation>
+ <xs:documentation>Root element of a slides document</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ <xs:element minOccurs="0" ref="dbs:speakernotes"/>
+ <xs:element minOccurs="0" ref="dbs:handoutnotes"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="dbs:foil"/>
+ <xs:element ref="dbs:foilgroup"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="dbs:dbs.slides.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="dbs.slides.role.attribute">
+ <xs:attribute name="role" use="required">
+ <xs:annotation>
+ <xs:documentation>Role attribute for the slides element</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="dbs.slides.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="dbs.slides.attlist">
+ <xs:attribute name="role">
+ <xs:annotation>
+ <xs:documentation>Role attribute for the slides element</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:element name="foilgroup">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="dbs:dbs.all.content"/>
+ <xs:element maxOccurs="unbounded" ref="dbs:foil"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="dbs:dbs.foilgroup.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="dbs.foilgroup.role.attribute">
+ <xs:attribute name="role" use="required">
+ <xs:annotation>
+ <xs:documentation>Role attribute for the foilgroup element</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="dbs.foilgroup.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="dbs.foilgroup.attlist">
+ <xs:attribute name="role">
+ <xs:annotation>
+ <xs:documentation>Role attribute for the foilgroup element</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:element name="foil">
+ <xs:annotation>
+ <xs:documentation>Indicates a foil that may have some info and content</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="dbs:dbs.all.content"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="dbs:dbs.foil.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="dbs.foil.role.attribute">
+ <xs:attribute name="role" use="required">
+ <xs:annotation>
+ <xs:documentation>Role attribute for the foil element</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="dbs.foil.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="dbs.foil.attlist">
+ <xs:attribute name="role">
+ <xs:annotation>
+ <xs:documentation>Role attribute for the foil element</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:element name="speakernotes">
+ <xs:annotation>
+ <xs:documentation>Indicates notes for the speaker</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:attributeGroup ref="dbs:dbs.speakernotes.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="dbs.speakernotes.role.attribute">
+ <xs:attribute name="role" use="required">
+ <xs:annotation>
+ <xs:documentation>Role attribute for the speakernotes element</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="dbs.speakernotes.attlist">
+ <xs:attribute name="role">
+ <xs:annotation>
+ <xs:documentation>Role attribute for the speakernotes element</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="handoutnotes">
+ <xs:annotation>
+ <xs:documentation>Indicates notes that are meant for printed copies</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:attributeGroup ref="dbs:dbs.handoutnotes.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="dbs.handoutnotes.role.attribute">
+ <xs:annotation>
+ <xs:documentation>Role attribute for the handoutnotes element</xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="role" use="required">
+ <xs:annotation>
+ <xs:documentation>Role attribute for the handoutnotes element</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="dbs.handoutnotes.attlist">
+ <xs:attribute name="role">
+ <xs:annotation>
+ <xs:documentation>Role attribute for the handoutnotes element</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="dbs.style.attributes">
+ <xs:attribute name="incremental" form="qualified">
+ <xs:annotation>
+ <xs:documentation>Attribute indicating an incremental part</xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>disabled</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>enabled</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="collapsible" form="qualified">
+ <xs:annotation>
+ <xs:documentation>Attribute indicating a collapsible part</xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>disabled</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>enabled</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="expanded">
+ <xs:annotation>
+ <xs:documentation>enabled and expanded by default</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="style" form="qualified">
+ <xs:annotation>
+ <xs:documentation>Attribute indicating a formatting style class</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="dbs.incremental.attribute">
+ <xs:attribute name="incremental" use="required" form="qualified">
+ <xs:annotation>
+ <xs:documentation>Attribute indicating an incremental part</xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>disabled</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>enabled</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="dbs.collapsible.attribute">
+ <xs:attribute name="collapsible" use="required" form="qualified">
+ <xs:annotation>
+ <xs:documentation>Attribute indicating a collapsible part</xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="0">
+ <xs:annotation>
+ <xs:documentation>disabled</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="1">
+ <xs:annotation>
+ <xs:documentation>enabled</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="expanded">
+ <xs:annotation>
+ <xs:documentation>enabled and expanded by default</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="dbs.style.attribute">
+ <xs:attribute name="style" use="required" form="qualified">
+ <xs:annotation>
+ <xs:documentation>Attribute indicating a formatting style class</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+</xs:schema>
diff --git a/slides/schema/xsd/svg.xsd b/slides/schema/xsd/svg.xsd
new file mode 100644
index 0000000..d6dfbf6
--- /dev/null
+++ b/slides/schema/xsd/svg.xsd
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: svg.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- ============================================================ -->
+ <xs:attributeGroup name="db.imagedata.svg.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.imagedata.svg.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attribute name="format">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="svg">
+ <xs:annotation>
+ <xs:documentation>Specifies SVG.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="align" type="db:db.imagedata.align.enumeration"/>
+ <xs:attribute name="valign" type="db:db.imagedata.valign.enumeration"/>
+ <xs:attribute name="width"/>
+ <xs:attribute name="contentwidth"/>
+ <xs:attribute name="scalefit" type="db:db.imagedata.scalefit.enumeration"/>
+ <xs:attribute name="scale" type="xs:positiveInteger"/>
+ <xs:attribute name="depth"/>
+ <xs:attribute name="contentdepth"/>
+ </xs:attributeGroup>
+ <xs:group name="db.imagedata.svg.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.forbidden"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="db.imagedata.svg">
+ <xs:sequence>
+ <xs:element name="imagedata">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.imagedata.svg.info"/>
+ <xs:group maxOccurs="unbounded" ref="dbs:db._any.svg"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.imagedata.svg.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <!-- ============================================================ -->
+</xs:schema>
diff --git a/slides/schema/xsd/tasks.xsd b/slides/schema/xsd/tasks.xsd
new file mode 100644
index 0000000..beb1996
--- /dev/null
+++ b/slides/schema/xsd/tasks.xsd
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: tasks.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:group name="db.task.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.task.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.task.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="task">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.task.info"/>
+ <xs:element minOccurs="0" ref="db:tasksummary"/>
+ <xs:element minOccurs="0" ref="db:taskprerequisites"/>
+ <xs:element ref="db:procedure"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:example"/>
+ <xs:element minOccurs="0" ref="db:taskrelated"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.task.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.tasksummary.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.tasksummary.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.tasksummary.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="tasksummary">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.tasksummary.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.tasksummary.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.taskprerequisites.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.taskprerequisites.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.taskprerequisites.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="taskprerequisites">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.taskprerequisites.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.taskprerequisites.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.taskrelated.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.taskrelated.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.taskrelated.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="taskrelated">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.taskrelated.info"/>
+ <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.taskrelated.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/technical.xsd b/slides/schema/xsd/technical.xsd
new file mode 100644
index 0000000..51cf930
--- /dev/null
+++ b/slides/schema/xsd/technical.xsd
@@ -0,0 +1,250 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- ====================================================================== -->
+ <!-- ====================================================================== -->
+ <xs:simpleType name="db.systemitem.class.enumeration">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="daemon">
+ <xs:annotation>
+ <xs:documentation>A daemon or other system process (syslogd)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="domainname">
+ <xs:annotation>
+ <xs:documentation>A domain name (example.com)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="etheraddress">
+ <xs:annotation>
+ <xs:documentation>An ethernet address (00:05:4E:49:FD:8E)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="event">
+ <xs:annotation>
+ <xs:documentation>An event of some sort (SIGHUP)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="eventhandler">
+ <xs:annotation>
+ <xs:documentation>An event handler of some sort (hangup)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="filesystem">
+ <xs:annotation>
+ <xs:documentation>A filesystem (ext3)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="fqdomainname">
+ <xs:annotation>
+ <xs:documentation>A fully qualified domain name (my.example.com)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="groupname">
+ <xs:annotation>
+ <xs:documentation>A group name (wheel)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="ipaddress">
+ <xs:annotation>
+ <xs:documentation>An IP address (127.0.0.1)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="library">
+ <xs:annotation>
+ <xs:documentation>A library (libncurses)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="macro">
+ <xs:annotation>
+ <xs:documentation>A macro</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="netmask">
+ <xs:annotation>
+ <xs:documentation>A netmask (255.255.255.192)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="newsgroup">
+ <xs:annotation>
+ <xs:documentation>A newsgroup (comp.text.xml)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="osname">
+ <xs:annotation>
+ <xs:documentation>An operating system name (Hurd)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="process">
+ <xs:annotation>
+ <xs:documentation>A process (gnome-cups-icon)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="protocol">
+ <xs:annotation>
+ <xs:documentation>A protocol (ftp)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="resource">
+ <xs:annotation>
+ <xs:documentation>A resource</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="securitycontext">
+ <xs:annotation>
+ <xs:documentation>A security context (a role, permission, or security token, for example)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="server">
+ <xs:annotation>
+ <xs:documentation>A server (mail.example.com)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="service">
+ <xs:annotation>
+ <xs:documentation>A service (ppp)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="systemname">
+ <xs:annotation>
+ <xs:documentation>A system name (hephaistos)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="username">
+ <xs:annotation>
+ <xs:documentation>A user name (ndw)</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attributeGroup name="db.systemitem.class-enum.attribute">
+ <xs:attribute name="class" type="db:db.systemitem.class.enumeration"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.systemitem.class-other.attribute">
+ <xs:attribute name="otherclass" use="required" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.systemitem.class-other.attributes">
+ <xs:attribute name="class" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Indicates that the system item is some 'other' kind.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attributeGroup ref="db:db.systemitem.class-other.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.systemitem.class.attribute">
+ <xs:attribute name="class">
+ <xs:simpleType>
+ <xs:union memberTypes="db:db.systemitem.class.enumeration">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="other">
+ <xs:annotation>
+ <xs:documentation>Indicates that the system item is some 'other' kind.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="otherclass" type="xs:NMTOKEN"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.systemitem.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.systemitem.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attributeGroup ref="db:db.systemitem.class.attribute"/>
+ </xs:attributeGroup>
+ <xs:element name="systemitem" substitutionGroup="db:db.technical.inlines">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.systemitem.inlines"/>
+ <xs:attributeGroup ref="db:db.systemitem.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.option.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.option.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="option" substitutionGroup="db:db.technical.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.option.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.optional.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.optional.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="optional" substitutionGroup="db:db.technical.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.optional.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.property.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.property.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:element name="property" substitutionGroup="db:db.technical.inlines">
+ <xs:complexType mixed="true">
+ <xs:group ref="db:db._text"/>
+ <xs:attributeGroup ref="db:db.property.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/toc.xsd b/slides/schema/xsd/toc.xsd
new file mode 100644
index 0000000..630a3fa
--- /dev/null
+++ b/slides/schema/xsd/toc.xsd
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: toc.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:attributeGroup name="db.toc.pagenum.attribute">
+ <xs:attribute name="pagenum" use="required"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.toc.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.toc.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ </xs:attributeGroup>
+ <xs:group name="db.toc.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.only"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="toc">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.toc.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="db:tocdiv"/>
+ <xs:element ref="db:tocentry"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.toc.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.tocdiv.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.tocdiv.pagenum.attribute">
+ <xs:attributeGroup ref="db:db.toc.pagenum.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.tocdiv.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attribute name="pagenum"/>
+ <xs:attribute name="linkend" type="xs:IDREF"/>
+ </xs:attributeGroup>
+ <xs:group name="db.tocdiv.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="tocdiv">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.tocdiv.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:tocdiv"/>
+ <xs:element ref="db:tocentry"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.tocdiv.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.tocentry.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.tocentry.pagenum.attribute">
+ <xs:attributeGroup ref="db:db.toc.pagenum.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.tocentry.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attribute name="pagenum"/>
+ <xs:attribute name="linkend" type="xs:IDREF"/>
+ </xs:attributeGroup>
+ <xs:element name="tocentry">
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
+ <xs:attributeGroup ref="db:db.tocentry.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/topic.xsd b/slides/schema/xsd/topic.xsd
new file mode 100644
index 0000000..f20c894
--- /dev/null
+++ b/slides/schema/xsd/topic.xsd
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: hier.rnc 8569 2010-01-15 00:23:46Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.topic.status.attribute">
+ <xs:attributeGroup ref="db:db.status.attribute"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.topic.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.topic.type.attribute">
+ <xs:attribute name="type" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.topic.attlist">
+ <xs:attribute name="role"/>
+ <xs:attribute name="type"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="db:db.common.linking.attributes"/>
+ <xs:attribute name="label"/>
+ <xs:attribute name="status"/>
+ </xs:attributeGroup>
+ <xs:group name="db.topic.info">
+ <xs:sequence>
+ <xs:group ref="db:db._info.title.req"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="topic">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="db:db.topic.info"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
+ <xs:group ref="db:db.toplevel.blocks.or.sections"/>
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="db:db.topic.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/xlink.xsd b/slides/schema/xsd/xlink.xsd
new file mode 100644
index 0000000..28558d3
--- /dev/null
+++ b/slides/schema/xsd/xlink.xsd
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.w3.org/1999/xlink" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook" schemaLocation="db.xsd"/>
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:attribute name="href" type="xs:anyURI"/>
+ <xs:attributeGroup name="type">
+ <xs:attribute name="type" use="required" form="qualified">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="simple">
+ <xs:annotation>
+ <xs:documentation>An XLink simple link</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attribute name="role" type="xs:anyURI"/>
+ <xs:attribute name="arcrole" type="xs:anyURI"/>
+ <xs:attribute name="title"/>
+ <xs:attribute name="show" type="db:db.xlink.show.enumeration"/>
+ <xs:attribute name="actuate" type="db:db.xlink.actuate.enumeration"/>
+ <xs:attribute name="from" type="xs:NMTOKEN"/>
+ <xs:attribute name="label" type="xs:NMTOKEN"/>
+ <xs:attribute name="to" type="xs:NMTOKEN"/>
+ <xs:attributeGroup name="type1">
+ <xs:attribute name="type" use="required" form="qualified">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="extended">
+ <xs:annotation>
+ <xs:documentation>An XLink extended link</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="type2">
+ <xs:attribute name="type" use="required" form="qualified">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="locator">
+ <xs:annotation>
+ <xs:documentation>An XLink locator link</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="type3">
+ <xs:attribute name="type" use="required" form="qualified">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="arc">
+ <xs:annotation>
+ <xs:documentation>An XLink arc link</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+</xs:schema>
diff --git a/slides/schema/xsd/xlink1.xsd b/slides/schema/xsd/xlink1.xsd
new file mode 100644
index 0000000..100eff8
--- /dev/null
+++ b/slides/schema/xsd/xlink1.xsd
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is part of DocBook V5.0
+
+ Copyright 1992-2008 HaL Computer Systems, Inc.,
+ O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+ Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+ Organization for the Advancement of Structured Information
+ Standards (OASIS).
+
+ Release: $Id: xlink.rnc 8931 2010-10-20 13:29:20Z nwalsh $
+
+ Permission to use, copy, modify and distribute the DocBook schema
+ and its accompanying documentation for any purpose and without fee
+ is hereby granted in perpetuity, provided that the above copyright
+ notice and this paragraph appear in all copies. The copyright
+ holders make no representation about the suitability of the schema
+ for any purpose. It is provided "as is" without expressed or implied
+ warranty.
+
+ If you modify the DocBook schema in any way, label your schema as a
+ variant of DocBook. See the reference documentation
+ (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
+ for more information.
+
+ Please direct all questions, bug reports, or suggestions for changes
+ to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
+
+ ======================================================================
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:attributeGroup name="db.xlink.from.attribute">
+ <xs:attribute ref="xlink:from" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.xlink.label.attribute">
+ <xs:attribute ref="xlink:label" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.xlink.to.attribute">
+ <xs:attribute ref="xlink:to" use="required"/>
+ </xs:attributeGroup>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.extendedlink.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.extendedlink.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="xlink:type1"/>
+ <xs:attribute ref="xlink:role"/>
+ <xs:attribute ref="xlink:title"/>
+ </xs:attributeGroup>
+ <xs:element name="extendedlink">
+ <xs:complexType>
+ <xs:choice maxOccurs="unbounded">
+ <xs:element ref="db:locator"/>
+ <xs:element ref="db:arc"/>
+ </xs:choice>
+ <xs:attributeGroup ref="db:db.extendedlink.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.locator.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.locator.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="xlink:type2"/>
+ <xs:attributeGroup ref="db:db.xlink.href.attribute"/>
+ <xs:attribute ref="xlink:role"/>
+ <xs:attribute ref="xlink:title"/>
+ <xs:attribute ref="xlink:label"/>
+ </xs:attributeGroup>
+ <xs:element name="locator">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.locator.attlist"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- ====================================================================== -->
+ <xs:attributeGroup name="db.arc.role.attribute">
+ <xs:attribute name="role" use="required"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="db.arc.attlist">
+ <xs:attribute name="role"/>
+ <xs:attributeGroup ref="dbs:db.common.attributes"/>
+ <xs:attributeGroup ref="xlink:type3"/>
+ <xs:attribute ref="xlink:arcrole"/>
+ <xs:attribute ref="xlink:title"/>
+ <xs:attribute ref="xlink:show"/>
+ <xs:attribute ref="xlink:actuate"/>
+ <xs:attribute ref="xlink:from"/>
+ <xs:attribute ref="xlink:to"/>
+ </xs:attributeGroup>
+ <xs:element name="arc">
+ <xs:complexType>
+ <xs:attributeGroup ref="db:db.arc.attlist"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/slides/schema/xsd/xml.xsd b/slides/schema/xsd/xml.xsd
new file mode 100644
index 0000000..24c87a9
--- /dev/null
+++ b/slides/schema/xsd/xml.xsd
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook" schemaLocation="db.xsd"/>
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:attribute name="id" type="xs:ID"/>
+ <xs:attribute name="lang"/>
+ <xs:attribute name="base" type="xs:anyURI"/>
+ <xs:attributeGroup name="space">
+ <xs:attribute name="space" use="required" form="qualified">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="preserve">
+ <xs:annotation>
+ <xs:documentation>Whitespace must be preserved.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="space1">
+ <xs:attribute name="space" use="required" form="qualified">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="preserve">
+ <xs:annotation>
+ <xs:documentation>Extra whitespace and line breaks must be preserved.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+</xs:schema>