ZVON > Tutorials > XML Schema and Relax NG Tutorial
Contents | >> Index <<

Schema Tutorial - index of highlighted elements and attributes

XML Schema elements

xsd:all Element which contains elements only (order does not matter)
Element can contain a mixture of elements
"Sequence" from "all"
xsd:annotation Annotating your schema
Extending schema
xsd:any Just one element from any namespace
Arbitrary number of elements from any namespace
Exact number of elements from any namespace
Elements from namespace other than target namespace (which is not null)
Elements from namespace other than target namespace (which is null)
Element from any
The wildcard "xsd:any" and inclusions
xsd:anyAttribute Attribute from any namespace
Attributes from namespace other then target namespace (which is null)
Attributes from namespace other than target namespace (which is not null)
Attributes from some particular namespace
The wildcard "xsd:anyAttribute" and inclusions
xsd:appinfo Extending schema
xsd:attributeGroup Defining a group of attributes
xsd:choice Element which contains one of two elements
Element which contains two "patterns" (sequences), in any order
Extension of a choice
Restriction of a choice
"Sequence" from "choice"
xsd:complexContent Empty element
xsd:complexType Empty element
Element contains text only and one attribute
xsd:documentation Annotating your schema
xsd:element Element from any
xsd:enumeration Element can contain a string from an enumerated set
xsd:extension Element contains text only and one attribute
XML Schema - no more extensions allowed
Attribute block set to "extension"
XML Schema - blockDefault attribute
Combining block and blockDefault attributes
Attribute block and xsi:type
Extension of a sequence
Extension of a choice
xsd:field Uniqueness
Uniqueness - comparison of numbers
Key and nillable
Unique and nillable
Keyref
xsd:fractionDigits Limiting the number of decimal places
Limiting both the number of decimal places and total places
xsd:include Target namespaces are the same (non-null)
Target namespaces are the same (null)
Including document has non-null target namespaces, included null target namespace
The wildcard "xsd:any" and inclusions
The wildcard "xsd:anyAttribute" and inclusions
xsd:key Key and nillable
xsd:keyref Keyref
xsd:length Attribute contains a list of values
Element contains a list of values
Limiting string length
xsd:list Attribute contains a list of values
Element contains a list of values
xsd:maxExclusive Restrictions
xsd:maxInclusive Multiple restrictions
xsd:minExclusive Definition of a custom simpleType - temperature must be greater than -273.15
Limiting the number of decimal places
xsd:minInclusive Multiple restrictions
xsd:redefine Redefine element
xsd:restriction Empty element
Restrictions
Attribute contains a list of values
Element contains a list of values
Definition of a custom simpleType - temperature must be greater than -273.15
Limiting string length
Limiting the number of decimal places
Limiting both the number of decimal places and total places
String must contain e-mail address
Element contains date
Element represents time duration
XML Schema - no more restrictions of a simpleType allowed
XML Schema - finalDefault attribute
Attribute block set to "restriction"
XML Schema - blockDefault attribute
Combining block and blockDefault attributes
Restriction of a sequence
Restriction of a choice
Error in restriction - non-matching types
Error in restriction - maxOccurs
Error in restriction - namespaces in wildcards
"Sequence" from "all"
"Sequence" from "choice"
Element from any
xsd:selector Uniqueness
Uniqueness - comparison of numbers
Key and nillable
Unique and nillable
Keyref
xsd:sequence Element which contains elements only (order is important)
Element which contains mixture of two elements (can appear more times)
Extension of a sequence
Restriction of a sequence
"Sequence" from "all"
"Sequence" from "choice"
xsd:simpleContent Element contains text only and one attribute
xsd:totalDigits Limiting both the number of decimal places and total places
xsd:union Multiple restrictions
Element is either a fixed string or an integer
xsd:unique Uniqueness
Uniqueness - comparison of numbers
Unique and nillable

XML Schema attributes

abstract Abstract element, substitutionGroup
Attribute block
Abstract type
attributeFormDefault Target namespace is not null, attributeFormDefault is qualified
Target namespace is not null, attributeFormDefault is unqualified
Target namespace is null
base Restrictions
Multiple restrictions
Element is either a fixed string or an integer
Attribute contains a list of values
Element contains a list of values
xsi:type
XML Schema - no more restrictions of a simpleType allowed
XML Schema - no more extensions allowed
XML Schema - finalDefault attribute
Redefine element
Abstract element, substitutionGroup
Attribute block set to "restriction"
Attribute block set to "extension"
XML Schema - blockDefault attribute
Combining block and blockDefault attributes
Attribute block and xsi:type
Abstract type
Extension of a sequence
Extension of a choice
Restriction of a sequence
Restriction of a choice
Error in restriction - non-matching types
Error in restriction - maxOccurs
Error in restriction - namespaces in wildcards
"Sequence" from "all"
"Sequence" from "choice"
Element from any
block Attribute block
Attribute block set to "restriction"
Attribute block set to "extension"
Combining block and blockDefault attributes
Attribute block and xsi:type
blockDefault XML Schema - blockDefault attribute
Combining block and blockDefault attributes
elementFormDefault Top-level elements, null namespace
Top-level elements, non-null namespace
elementFormDefault unqualified for not-top-level elements, namespace non-null
elementFormDefault qualified for not-top-level elements, namespace non-null
final XML Schema - no more restrictions of a simpleType allowed
XML Schema - no more extensions allowed
finalDefault XML Schema - finalDefault attribute
form Target namespaces are the same (non-null)
Including document has non-null target namespaces, included null target namespace
itemType Attribute contains a list of values
maxOccurs Element which contains mixture of two elements (can appear more times)
Element which contains two "patterns" (sequences), in any order
Just one element from any namespace
Arbitrary number of elements from any namespace
Exact number of elements from any namespace
Elements from namespace other than target namespace (which is not null)
Elements from namespace other than target namespace (which is null)
Restriction of a sequence
Restriction of a choice
Error in restriction - non-matching types
Error in restriction - maxOccurs
"Sequence" from "choice"
Element from any
minOccurs Element which contains mixture of two elements (can appear more times)
Element which contains two "patterns" (sequences), in any order
Just one element from any namespace
Arbitrary number of elements from any namespace
Exact number of elements from any namespace
Elements from namespace other than target namespace (which is not null)
Elements from namespace other than target namespace (which is null)
mixed Element with mixed content (text and only one element)
name The document root element is from null namespace
The namespace of the document root element does not match the targetNamespace
Top-level elements, null namespace
Top-level elements, non-null namespace
elementFormDefault unqualified for not-top-level elements, namespace non-null
elementFormDefault qualified for not-top-level elements, namespace non-null
Empty element
Element with mixed content (text and only one element)
Element which contains elements only (order does not matter)
Element which contains elements only (order is important)
Element which contains mixture of two elements (can appear more times)
Element which contains one of two elements
Element which contains two "patterns" (sequences), in any order
Element contains text only and one attribute
Element can contain a mixture of elements
Defining a group of attributes
Attribute contains a list of values
Element contains a list of values
Definition of a custom simpleType - temperature must be greater than -273.15
Limiting string length
Limiting the number of decimal places
Limiting both the number of decimal places and total places
String must contain e-mail address
Element contains date
Element represents time duration
nillable, xsi:nil
xsi:type
definition of a simpleType, target namespace is null
definition of a simpleType, target namespace is not null
Element and type have the same name
Error - simpleType and complexType have the same name
Key
Uniqueness - comparison of numbers
Key and nillable
Unique and nillable
Keyref
XML Schema - no more restrictions of a simpleType allowed
XML Schema - no more extensions allowed
XML Schema - finalDefault attribute
Importing schema and processContents "strict"
Importing schema and processContents "lax"
Importing schema and processContents "skip"
Redefine element
Abstract element, substitutionGroup
Attribute block
Attribute block set to "restriction"
Attribute block set to "extension"
XML Schema - blockDefault attribute
Combining block and blockDefault attributes
Attribute block and xsi:type
Abstract type
Target namespace is not null, attributeFormDefault is qualified
Target namespace is not null, attributeFormDefault is unqualified
Target namespace is null
Extension of a sequence
Extension of a choice
Restriction of a sequence
Restriction of a choice
Error in restriction - non-matching types
Error in restriction - maxOccurs
Error in restriction - namespaces in wildcards
"Sequence" from "all"
"Sequence" from "choice"
Element from any
Target namespaces are the same (non-null)
Target namespaces are the same (null)
Including document has non-null target namespaces, included null target namespace
The wildcard "xsd:any" and inclusions
The wildcard "xsd:anyAttribute" and inclusions
namespace Attribute from any namespace
Attributes from namespace other then target namespace (which is null)
Attributes from namespace other than target namespace (which is not null)
Attributes from some particular namespace
Just one element from any namespace
Arbitrary number of elements from any namespace
Exact number of elements from any namespace
Elements from namespace other than target namespace (which is not null)
Elements from namespace other than target namespace (which is null)
Importing schema and processContents "strict"
Importing schema and processContents "lax"
Importing schema and processContents "skip"
Error in restriction - namespaces in wildcards
The wildcard "xsd:any" and inclusions
The wildcard "xsd:anyAttribute" and inclusions
nillable nillable, xsi:nil
Key and nillable
Unique and nillable
processContents Importing schema and processContents "strict"
Importing schema and processContents "lax"
Importing schema and processContents "skip"
ref Element which contains two "patterns" (sequences), in any order
Defining a group of attributes
Abstract element, substitutionGroup
Attribute block
Attribute block set to "restriction"
Attribute block set to "extension"
XML Schema - blockDefault attribute
Combining block and blockDefault attributes
refer Keyref
substitutionGroup Abstract element, substitutionGroup
Attribute block
Attribute block set to "restriction"
Attribute block set to "extension"
XML Schema - blockDefault attribute
Combining block and blockDefault attributes
targetNamespace The document root element is from some particular namespace
The namespace of the document root element does not match the targetNamespace
Top-level elements, non-null namespace
elementFormDefault unqualified for not-top-level elements, namespace non-null
elementFormDefault qualified for not-top-level elements, namespace non-null
Attributes from namespace other than target namespace (which is not null)
Elements from namespace other than target namespace (which is not null)
definition of a simpleType, target namespace is not null
Importing schema and processContents "strict"
Importing schema and processContents "lax"
Importing schema and processContents "skip"
Redefine element
Target namespace is not null, attributeFormDefault is qualified
Target namespace is not null, attributeFormDefault is unqualified
Target namespaces are the same (non-null)
Including document has non-null target namespaces, included null target namespace
The wildcard "xsd:any" and inclusions
The wildcard "xsd:anyAttribute" and inclusions
type Element with text only
Element with mixed content (text and only one element)
Accessing data-types
Definition of a custom simpleType - temperature must be greater than -273.15
Limiting string length
Limiting the number of decimal places
Limiting both the number of decimal places and total places
String must contain e-mail address
Element contains date
Element represents time duration
The number must not be in scientific notation
xsi:type
definition of a simpleType, target namespace is null
definition of a simpleType, target namespace is not null
Element and type have the same name
Error - simpleType and complexType have the same name
Uniqueness - comparison of numbers
Importing schema and processContents "strict"
Importing schema and processContents "lax"
Importing schema and processContents "skip"
Redefine element
Abstract element, substitutionGroup
Attribute block
Attribute block set to "restriction"
Attribute block set to "extension"
XML Schema - blockDefault attribute
Combining block and blockDefault attributes
Attribute block and xsi:type
Abstract type
Extension of a sequence
Extension of a choice
Restriction of a sequence
Restriction of a choice
Error in restriction - non-matching types
Error in restriction - maxOccurs
Error in restriction - namespaces in wildcards
"Sequence" from "all"
"Sequence" from "choice"
Element from any
Target namespaces are the same (non-null)
Target namespaces are the same (null)
Including document has non-null target namespaces, included null target namespace
The wildcard "xsd:any" and inclusions
The wildcard "xsd:anyAttribute" and inclusions
value Element is either a fixed string or an integer
Element can contain a string from an enumerated set
String must contain e-mail address
Abstract element, substitutionGroup
xpath Uniqueness
Key
Uniqueness - comparison of numbers
Key and nillable
Unique and nillable
Keyref

Relax NG elements

anyName Attribute from any namespace
Attributes from namespace other then target namespace (which is null)
Attributes from namespace other than target namespace (which is not null)
Attributes must not be from some particular namespaces
Just one element from any namespace
Arbitrary number of elements from any namespace
Exact number of elements from any namespace
Elements from namespace other than target namespace (which is not null)
Elements from namespace other than target namespace (which is null)
attribute Element can have [x,y] either as attributes or as elements
choice Element which contains one of two elements
Element which contains two "patterns" (sequences), in any order
Multiple restrictions
Element is either a fixed string or an integer
Element can contain a string from an enumerated set
Element can have [x,y] either as attributes or as elements
Extension of a choice
Error in restriction - namespaces in wildcards
define Defining a group of attributes
Extension of a sequence
Extension of a choice
Error in restriction - namespaces in wildcards
Target namespaces are the same (non-null)
element Element can have [x,y] either as attributes or as elements
empty Empty element
except Attributes from namespace other then target namespace (which is null)
Attributes from namespace other than target namespace (which is not null)
Attributes must not be from some particular namespaces
Elements from namespace other than target namespace (which is not null)
Elements from namespace other than target namespace (which is null)
externalRef Including in Relax NG - externalRef element, ns attribute
include Including in Relax NG - include element, ns attribute
interleave Element which contains elements only (order does not matter)
Element which contains mixture of two elements (can appear more times)
Element can contain a mixture of elements
list Attribute contains a list of values
Element contains a list of values
name Document root element can be from a set of namespaces
The document root element is from null namespace
The document root element is from some particular namespace
elementFormDefault unqualified for not-top-level elements, namespace non-null
elementFormDefault qualified for not-top-level elements, namespace non-null
Empty element
Element with mixed content (text and only one element)
Element which contains elements only (order does not matter)
Element which contains elements only (order is important)
Element which contains mixture of two elements (can appear more times)
Element which contains one of two elements
Element which contains two "patterns" (sequences), in any order
Element contains text only and one attribute
Target namespace is not null, attributeFormDefault is qualified
nsName Attributes from namespace other then target namespace (which is null)
Attributes from namespace other than target namespace (which is not null)
Attributes from some particular namespace
Attributes must not be from some particular namespaces
Elements from namespace other than target namespace (which is not null)
Elements from namespace other than target namespace (which is null)
optional Exact number of elements from any namespace
param Restrictions
Multiple restrictions
String must contain e-mail address
ref Defining a group of attributes
Extension of a sequence
Extension of a choice
Error in restriction - namespaces in wildcards
Target namespaces are the same (non-null)
text Element with text only
Element with mixed content (text and only one element)
Element contains text only and one attribute
value Element is either a fixed string or an integer
Element can contain a string from an enumerated set
Abstract element, substitutionGroup
zeroOrMore Element which contains mixture of two elements (can appear more times)
Attribute from any namespace
Attributes from namespace other then target namespace (which is null)
Arbitrary number of elements from any namespace

Relax NG attributes

combine Error - simpleType and complexType have the same name
datatypeLibrary Accessing data-types
name Element with mixed content (text and only one element)
Element which contains elements only (order does not matter)
Element which contains elements only (order is important)
Element which contains mixture of two elements (can appear more times)
Element which contains one of two elements
Element which contains two "patterns" (sequences), in any order
Restrictions
Multiple restrictions
Element can contain a mixture of elements
Defining a group of attributes
Element can have [x,y] either as attributes or as elements
Attribute contains a list of values
Definition of a custom simpleType - temperature must be greater than -273.15
Limiting string length
Limiting the number of decimal places
Limiting both the number of decimal places and total places
String must contain e-mail address
Element contains date
Element represents time duration
definition of a simpleType, target namespace is null
definition of a simpleType, target namespace is not null
Element and type have the same name
Error - simpleType and complexType have the same name
Uniqueness
Key
Uniqueness - comparison of numbers
Keyref
Abstract element, substitutionGroup
Abstract type
Target namespace is not null, attributeFormDefault is unqualified
Target namespace is null
Extension of a sequence
Extension of a choice
Error in restriction - namespaces in wildcards
Including in Relax NG - externalRef element, ns attribute
Including in Relax NG - include element, ns attribute
ns Document root element can be from a set of namespaces
The document root element is from null namespace
The document root element is from some particular namespace
elementFormDefault unqualified for not-top-level elements, namespace non-null
elementFormDefault qualified for not-top-level elements, namespace non-null
Attributes from namespace other than target namespace (which is not null)
Attributes from some particular namespace
Attributes must not be from some particular namespaces
Elements from namespace other than target namespace (which is not null)
Elements from namespace other than target namespace (which is null)
Target namespace is not null, attributeFormDefault is qualified
Target namespace is not null, attributeFormDefault is unqualified
Error in restriction - namespaces in wildcards
Target namespaces are the same (non-null)
Including in Relax NG - externalRef element, ns attribute
Including in Relax NG - include element, ns attribute
type Accessing data-types
Restrictions
Multiple restrictions
Element is either a fixed string or an integer
Attribute contains a list of values
Element contains a list of values
The number must not be in scientific notation

Schematron elements

assert Uniqueness
Key
Uniqueness - comparison of numbers
Keyref
Extending schema
pattern Extending schema
rule Extending schema

Schematron attributes

context Uniqueness
Key
Uniqueness - comparison of numbers
Keyref