ZVON > References > Relax NG Reference

Attribute: name

Go to standard
Parents: attribute | define | element | param | parentRef | ref |
Value: <QName> | <NCName> |

For parents: element | attribute |
<attribute name="name">
     <data type="QName"/>
</attribute>

For parents: ref | parentRef | param | define |
<attribute name="name">
     <data type="NCName"/>
</attribute>

Occurs in Schema Tutorial examples:
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
Accessing data-types
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
Exact number of elements from any namespace
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
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