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.
choice (in the context of a name-class) — Choice between name classes
name-class
element choice { ( attribute ns { text }?, attribute datatypeLibrary { xsd:anyURI }?, attribute * - (rng:* | local:*) { text }* ), ( ( element * - rng:* { ... }* ) & ( element name { ... } | element anyName { ... } | element nsName { ... } | element choice { ... } )+ ) } |
attribute, choice, element, except.
nameClass|nameClass
The choice name class makes a choice between several name classes: a name will match choice if and only if it matches at least one of the sub-name classes.
<element> <choice> <nsName ns="http://eric.van-der-vlist.com/ns/library"/> <nsName ns="http://eric.van-der-vlist.com/ns/person"/> </choice> <ref name="anything"/> </element> |
The datatypeLibrary attribute defines the default datatype library. The value of datatypeLibrary is inherited. Note that although datatypeLibrary is allowed in choice just as it is in other RELAX NG elements, it has no direct effect on choice itself nor on the name class definitions which might be embedded.
The ns attribute defines the default namespace for the elements defined in a portion of schema. The value of ns is inherited.
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.