ZVON > References > Relax NG Reference

Element: text

Go to standard
Attributes: datatypeLibrary | ns |
Children: <other> |
Parents: attribute | choice | define | element | except | group | interleave | list | mixed | oneOrMore | optional | start | zeroOrMore |

<element name="text">
     <ref name="common-atts"/>
     <ref name="other"/>
</element>

Occurs in Schema Tutorial examples:
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
Element with text only
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
Element can have [x,y] either as attributes or as elements
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
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)
Element and type have the same name
Error - simpleType and complexType have the same name
Abstract type
Annotating your schema
Extending schema
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
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