W3C

OASIS-DITA-tblDeclMod

The document http://docs.oasis-open.org/dita/v1.0.1/schema/tblDeclMod.xsd has been classified as being possibly an Advanced XML Schema Patterns for Databinding 1.0 conformant document as it only exhibits the following patterns:

Status Nodes Name XPath
advanced NoTargetNamespace .[not(@targetNamespace)]/ (.)
basic QualifiedLocalElements .[@elementFormDefault = 'qualified']/ (@elementFormDefault)
basic UnqualifiedLocalAttributes .[not(@attributeFormDefault) or @attributeFormDefault = 'unqualified']/ (., @attributeFormDefault)
basic DocumentationElement .//xs:annotation/xs:documentation/ (.., ., .//*, .//@*)
basic IdentifierName .//.[matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$")]/ (@name)
basic NonIdentifierName .//.[@name and not(matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$"))]/ (@name)
advanced GlobalElementUnqualifiedType ./xs:element[@name and @type and not(contains(@type, ':'))]/ (., @name, @type)
advanced ElementTypeDefaultNamespace .//xs:element[@name and @type and not(contains(@type, ':'))]/ (@name, @type)
advanced MixedContentType .//xs:complexType[@mixed = 'true']/ (@mixed)
advanced AttributeRequired .//xs:attribute[@use = 'required']/ (@use)
advanced AttributeDefault .//xs:attribute[@default] / (@default)
basic GlobalSimpleType ./xs:simpleType[@name]/ (., @name)
basic GlobalComplexType ./xs:complexType[@name]/ (., @name)
basic StringEnumerationType .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string') and xs:enumeration]/ (., @base, xs:enumeration/(., @value))
advanced ComplexTypeChoice .//xs:complexType/xs:choice/ (., xs:element/(., @name))
basic ComplexTypeAttribute .//xs:complexType/xs:attribute[@name]/ (., @name)
advanced ComplexTypeOnlyAttributeGroup .//xs:complexType/xs:attributeGroup[../not(xs:choice or xs:sequence or xs:all or xs:anyAttribute or xs:group or xs:simpleContent or xs:complexContent)]/(., ..,@ref)
basic ComplexTypeSequence .//xs:complexType/xs:sequence/ (., xs:element/(., @name))
advanced SequenceMinOccurs0 .//xs:sequence[@minOccurs = '0' and (not(@maxOccurs) or @maxOccurs = '1')]/ (@minOccurs, @maxOccurs)
advanced ElementTypeReferenceUnqualified .//xs:element[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and not(contains(@type, ':'))]/ (., @name, @type)
advanced AttributeReferenceUnqualified .//xs:attribute[@ref and not(contains(@ref, ':'))]/ (., @ref)
advanced AttributeTypeReferenceUnqualified .//xs:attribute[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and not(contains(@type, ':'))]/ (., @name, @type)
basic StringAttribute .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:string')]
advanced NMTOKENAttribute .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:NMTOKEN')]
advanced ChoiceMaxOccursUnbounded .//xs:choice[@maxOccurs = 'unbounded']/ (@maxOccurs)
advanced ChoiceMinOccurs0 .//xs:choice[@minOccurs='0']/ (@minOccurs)
advanced AttributeGroup .//xs:attributeGroup/(.,@name,@ref,xs:attribute)
basic SequenceSequenceGroup .//xs:sequence/xs:sequence/xs:group/(., ..)

<xs:schema NoTargetNamespace UnqualifiedLocalAttributes elementFormDefault="qualified" QualifiedLocalElements attributeFormDefault="unqualified" UnqualifiedLocalAttributes >
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="table" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="table.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The <
<keyword DocumentationElement >
table
</keyword>
> element organizes arbitrarily complex relationships of tabular information. This standard table markup allows column or row spanning and table captions or descriptions. A optional title allowed inside the table element provides a caption to describe the table. See
<ph DocumentationElement >
<xref DocumentationElement href="simpletable.xml" DocumentationElement >
simpletable
</xref>
</ph>
for a simplified table model that can be specialized to represent more regular relationships of data.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType name="table.class" NonIdentifierName GlobalComplexType >
<xs:sequence ComplexTypeSequence >
<xs:sequence SequenceSequenceGroup minOccurs="0" SequenceMinOccurs0 >
<xs:group SequenceSequenceGroup ref="title" minOccurs="0"/>
<xs:group SequenceSequenceGroup ref="desc" minOccurs="0"/>
</xs:sequence>
<xs:group ref="tgroup" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attributeGroup AttributeGroup ref="colrowsep-atts" AttributeGroup />
<xs:attribute ComplexTypeAttribute name="pgwide" IdentifierName ComplexTypeAttribute type="xs:NMTOKEN" NMTOKENAttribute />
<xs:attribute ComplexTypeAttribute name="outputclass" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attributeGroup AttributeGroup ref="display-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="univ-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="global-atts" AttributeGroup />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="- topic/table " AttributeDefault />
</xs:complexType>
<xs:simpleType GlobalSimpleType name="rowheader-att.class" NonIdentifierName GlobalSimpleType >
<xs:restriction StringEnumerationType base="xs:string" StringEnumerationType >
<xs:enumeration StringEnumerationType value="firstcol" StringEnumerationType />
<xs:enumeration StringEnumerationType value="norowheader" StringEnumerationType />
</xs:restriction>
</xs:simpleType>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="tgroup" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="tgroup.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The <
<keyword DocumentationElement >
tgroup
</keyword>
> element in a table contains column, row, spanning, header and footer specifications, and the body (<
<keyword DocumentationElement >
tbody
</keyword>
>) of the table.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType name="tgroup.class" NonIdentifierName GlobalComplexType >
<xs:sequence ComplexTypeSequence >
<xs:group ref="colspec" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="thead" minOccurs="0"/>
<xs:group ref="tbody"/>
</xs:sequence>
<xs:attribute ComplexTypeAttribute name="cols" IdentifierName ComplexTypeAttribute type="xs:NMTOKEN" NMTOKENAttribute use="required" AttributeRequired />
<xs:attributeGroup AttributeGroup ref="colrowsep-atts" AttributeGroup />
<xs:attribute ComplexTypeAttribute name="outputclass" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attributeGroup AttributeGroup ref="univ-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="global-atts" AttributeGroup />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="- topic/tgroup " AttributeDefault />
</xs:complexType>
<xs:attributeGroup AttributeGroup name="colrowsep-atts" NonIdentifierName AttributeGroup >
<xs:attribute AttributeGroup name="colsep" IdentifierName type="xs:NMTOKEN" NMTOKENAttribute />
<xs:attribute AttributeGroup name="rowsep" IdentifierName type="xs:NMTOKEN" NMTOKENAttribute />
</xs:attributeGroup>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="colspec" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="colspec.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The <
<keyword DocumentationElement >
colspec
</keyword>
> element contains a column specification for a table, including assigning a column name and number, cell content alignment, and column width.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="thead" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="thead.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The table header (<
<keyword DocumentationElement >
thead
</keyword>
>) element precedes the table body (<
<keyword DocumentationElement >
tbody
</keyword>
>) element in a complex table.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType name="thead.class" NonIdentifierName GlobalComplexType >
<xs:sequence ComplexTypeSequence >
<xs:group ref="row" minOccurs="0"/>
</xs:sequence>
<xs:attribute ComplexTypeAttribute name="outputclass" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attributeGroup AttributeGroup ref="univ-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="global-atts" AttributeGroup />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="- topic/thead " AttributeDefault />
</xs:complexType>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="tbody" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="tbody.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The <
<keyword DocumentationElement >
tbody
</keyword>
> element contains the rows in a table.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType name="tbody.class" NonIdentifierName GlobalComplexType >
<xs:choice ComplexTypeChoice >
<xs:group ref="row" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute ComplexTypeAttribute name="outputclass" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attributeGroup AttributeGroup ref="univ-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="global-atts" AttributeGroup />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="- topic/tbody " AttributeDefault />
</xs:complexType>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="row" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="row.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The <
<keyword DocumentationElement >
row
</keyword>
> element contains a single row in a table <
<keyword DocumentationElement >
tgroup
</keyword>
>.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType name="row.class" NonIdentifierName GlobalComplexType >
<xs:choice ComplexTypeChoice >
<xs:group ref="entry" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute ComplexTypeAttribute name="rowsep" IdentifierName ComplexTypeAttribute type="xs:NMTOKEN" NMTOKENAttribute />
<xs:attribute ComplexTypeAttribute name="outputclass" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attributeGroup AttributeGroup ref="univ-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="global-atts" AttributeGroup />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="- topic/row " AttributeDefault />
</xs:complexType>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="entry" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="entry.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The <
<keyword DocumentationElement >
entry
</keyword>
> element defines a single cell in a table.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType name="entry.class" NonIdentifierName GlobalComplexType mixed="true" MixedContentType >
<xs:choice ComplexTypeChoice minOccurs="0" ChoiceMinOccurs0 maxOccurs="unbounded" ChoiceMaxOccursUnbounded >
<xs:group ref="tblcell.cnt"/>
</xs:choice>
<xs:attribute ComplexTypeAttribute name="namest" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attribute ComplexTypeAttribute name="nameend" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attribute ComplexTypeAttribute name="spanname" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attribute ComplexTypeAttribute name="colname" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attribute ComplexTypeAttribute name="morerows" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attributeGroup AttributeGroup ref="colrowsep-atts" AttributeGroup />
<xs:attribute ComplexTypeAttribute name="rev" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attribute ComplexTypeAttribute name="outputclass" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attributeGroup AttributeGroup ref="global-atts" AttributeGroup />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="- topic/entry " AttributeDefault />
<!-- added DITA attributes -->
</xs:complexType>
<xs:simpleType GlobalSimpleType name="align-att.class" NonIdentifierName GlobalSimpleType >
<xs:restriction StringEnumerationType base="xs:string" StringEnumerationType >
<xs:enumeration StringEnumerationType value="left" StringEnumerationType />
<xs:enumeration StringEnumerationType value="right" StringEnumerationType />
<xs:enumeration StringEnumerationType value="center" StringEnumerationType />
<xs:enumeration StringEnumerationType value="justify" StringEnumerationType />
</xs:restriction>
</xs:simpleType>
<xs:simpleType GlobalSimpleType name="valign-att.class" NonIdentifierName GlobalSimpleType >
<xs:restriction StringEnumerationType base="xs:string" StringEnumerationType >
<xs:enumeration StringEnumerationType value="top" StringEnumerationType />
<xs:enumeration StringEnumerationType value="middle" StringEnumerationType />
<xs:enumeration StringEnumerationType value="bottom" StringEnumerationType />
</xs:restriction>
</xs:simpleType>
</xs:schema>

This document was produced by the W3C XML Schema Patterns for Databinding Working Group. Comments on this document may be sent to the public public-xsd-databinding-comments@w3.org mailing list (public archive).