ZVON > References > Relax NG Reference

Element: name

Go to standard
Attributes: datatypeLibrary | ns |
Children:
Parents: attribute | choice | element | except |

<element name="name">
     <ref name="common-atts"/>
     <data type="QName"/>
</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
Empty element
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
Accessing data-types
Restrictions
Multiple restrictions
Element is either a fixed string or an integer
Element can contain a string from an enumerated set
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
Element contains a list of values
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)
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
definition of a simpleType, target namespace is null
definition of a simpleType, target namespace is not null
Annotating your schema
Extending schema
Target namespace is not null, attributeFormDefault is qualified