RELAX NG by Eric van der Vlist will be published by O'Reilly & Associates (ISBN: 0596004214)
You are welcome to use our annotation system to give your feedback.
anyName — Name class accepting any name.
name-class
element anyName { ( attribute ns { text }?, attribute datatypeLibrary { xsd:anyURI }?, attribute * - (rng:* | local:*) { text }* ), ( ( element * - rng:* { ... }* ) & element except { ... }? ) } |
attribute, choice, element, except.
*-nameClass
The anyName name class matches any name from any namespace. This wide spectrum may be restricted by embedding except name classes.
Within the scope of an element, the name classes of attributes cannot overlap. The same restrictions apply to name classes of elements when these elements are combined by interleave.
<element> <anyName/> <ref name="anything"/> </element> <element> <anyName> <except> <nsName ns=""/> <nsName ns="http://eric.van-der-vlist.com/ns/library"/> <nsName ns="http://eric.van-der-vlist.com/ns/person"/> </except> </anyName> <ref name="anything"/> </element> <attribute> <anyName/> </attribute> |
The datatypeLibrary attribute defines the default datatype library. The value of datatypeLibrary is inherited. Note that although datatypeLibrary is allowed in anyName to maintain a coherence with other RELAX NG elements, it has no direct effect on anyName itself nor on name class definitions in which it might be embedded.
The ns attribute defines the default namespace for the elements defined in a portion of a schema. The value of ns is inherited. Although ns is allowed in anyName it has no direct consequence on anyName itself. ns always allows any name from any namespace and may only have a consequence on name class definitions embedded in this one.
You are welcome to use our annotation system to give your feedback.
[Annotations for this page]
All text is copyright Eric van der Vlist, Dyomedea. During development, I give permission for non-commercial copying for educational and review purposes. After publication, all text will be released under the Free Software Foundation GFDL.