Skip to main content

Module complex

Module complex 

Source
Expand description

Complex type definitions

This module implements XSD complex type definitions with content models, attributes, and derivation mechanisms.

Re-exports§

pub use crate::schema::wildcard::ProcessContents;

Structs§

AttributeUse
Attribute use (attribute declaration with use constraints)
AttributeWildcard
Attribute wildcard (anyAttribute)
ComplexContentDef
Complex content definition (elements and optionally mixed text)
ComplexTypeDef
Complex type definition
ContentParticle
Content particle (term with occurrence constraints)
ModelGroupDef
Inline model group definition
OpenContent
XSD 1.1: Open content specification
SimpleContentDef
Simple content definition (text value with attributes)
WildcardRef
Reference to a wildcard

Enums§

AttributeRef
Attribute reference
AttributeUseKind
Attribute use requirement
ComplexTypeContent
Content model for complex types
ComplexTypeRef
Reference to a complex type
Compositor
Model group compositor
ContentKind
Complex type content kind
ContentTerm
Content model term (element, group, or wildcard)
DerivationMethod
Derivation method for complex types
ElementRef
Reference to an element
NamespaceConstraint
Namespace constraint for wildcards
OpenContentMode
XSD 1.1: Open content mode
SimpleTypeRef
Reference to a simple type
TypeRef
Reference to a type (simple or complex)

Functions§

not_qnames_exclude
Check whether a (namespace, name) pair is excluded by a notQName list.
other_matches_namespace
##other namespace predicate (§3.10.4, XSD 1.0 and 1.1 alike).