W3C

OASIS-DITA-mapGroupMod

The document http://docs.oasis-open.org/dita/v1.0.1/schema/mapGroupMod.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)
basic ElementMinOccurs0 .//xs:element[@minOccurs = '0' and (not(@maxOccurs) or @maxOccurs = '1')]/ (@minOccurs, @maxOccurs)
advanced AttributeRequired .//xs:attribute[@use = 'required']/ (@use)
advanced AttributeDefault .//xs:attribute[@default] / (@default)
basic GlobalComplexType ./xs:complexType[@name]/ (., @name)
advanced ComplexTypeSequenceChoice .//xs:complexType/xs:sequence/xs:choice/ (., xs:element/(., @name))
basic ComplexTypeAttribute .//xs:complexType/xs:attribute[@name]/ (., @name)
basic ComplexTypeSequence .//xs:complexType/xs:sequence/ (., xs:element/(., @name))
advanced SequenceChoice .//xs:sequence/xs:choice/(.)
advanced ChoiceElement .//xs:choice/xs:element/(.)
basic SequenceElement .//xs:sequence/xs:element/(.)
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 ElementReferenceUnqualified .//xs:element[@ref and not(contains(@ref, ':'))]/ (., @ref)
advanced AttributeReferenceUnqualified .//xs:attribute[@ref and not(contains(@ref, ':'))]/ (., @ref)
basic StringAttribute .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:string')]
advanced IDAttribute .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:ID')]
advanced ChoiceMaxOccursUnbounded .//xs:choice[@maxOccurs = 'unbounded']/ (@maxOccurs)
advanced ChoiceMinOccurs0 .//xs:choice[@minOccurs='0']/ (@minOccurs)
advanced AttributeGroup .//xs:attributeGroup/(.,@name,@ref,xs:attribute)

<xs:schema NoTargetNamespace UnqualifiedLocalAttributes elementFormDefault="qualified" QualifiedLocalElements attributeFormDefault="unqualified" UnqualifiedLocalAttributes >
<xs:group name="mapgroup-d-topicref" NonIdentifierName >
<xs:choice> </xs:choice>
</xs:group>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="topichead" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="topichead.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The <
<keyword DocumentationElement >
topichead
</keyword>
> element provides a title-only entry in a navigation map, as an alternative to the fully-linked title provided by the <
<keyword DocumentationElement >
topicref
</keyword>
> element.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType name="topichead.class" NonIdentifierName GlobalComplexType >
<xs:sequence ComplexTypeSequence >
<xs:choice ComplexTypeSequenceChoice SequenceChoice minOccurs="0" ChoiceMinOccurs0 maxOccurs="unbounded" ChoiceMaxOccursUnbounded >
<xs:group ref="navref"/>
<xs:group ref="anchor"/>
<xs:group ref="topicref"/>
</xs:choice>
</xs:sequence>
<xs:attribute ComplexTypeAttribute name="navtitle" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute use="required" AttributeRequired />
<xs:attribute ComplexTypeAttribute name="conref" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attributeGroup AttributeGroup ref="topicref-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="select-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="global-atts" AttributeGroup />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="+ map/topicref mapgroup/topichead " AttributeDefault />
</xs:complexType>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="topicgroup" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="topicgroup.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The <
<keyword DocumentationElement >
topicgroup
</keyword>
> element is for creating groups of <
<keyword DocumentationElement >
topicref
</keyword>
> elements without affecting the hierarchy, as opposed to nested <
<keyword DocumentationElement >
topicref
</keyword>
> elements within a <
<keyword DocumentationElement >
topicref
</keyword>
>, which does imply a structural hierarchy. It is typically used outside a hierarchy to identify groups for linking without affecting the resulting toc/navigation output.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType name="topicgroup.class" NonIdentifierName GlobalComplexType >
<xs:sequence ComplexTypeSequence >
<xs:group ref="topicmeta" minOccurs="0"/>
<xs:choice ComplexTypeSequenceChoice SequenceChoice minOccurs="0" ChoiceMinOccurs0 maxOccurs="unbounded" ChoiceMaxOccursUnbounded >
<xs:group ref="navref"/>
<xs:group ref="anchor"/>
<xs:group ref="topicref"/>
</xs:choice>
</xs:sequence>
<xs:attribute ComplexTypeAttribute name="conref" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attributeGroup AttributeGroup ref="topicref-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="select-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="global-atts" AttributeGroup />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="+ map/topicref mapgroup/topicgroup " AttributeDefault />
</xs:complexType>
</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).