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.
ref — Reference to a named pattern
pattern
element ref { attribute name { xsd:NCName }, ( attribute ns { text }?, attribute datatypeLibrary { xsd:anyURI }?, attribute * - (rng:* | local:*) { text }* ), ( element * - rng:* { ... }* ) } |
attribute, choice, define, element, except, group, interleave, list, mixed, oneOrMore, optional, start, zeroOrMore.
Name without a colon
The ref pattern defines a reference to a named pattern defined in the current grammar.
<element name="book"> <ref name="book-start"/> <ref name="book-end"/> </element> <element name="library"> <oneOrMore> <ref name="book-element"/> </oneOrMore> </element> |
The datatypeLibrary attribute defines the default datatype library. The value of datatypeLibrary is inherited.
The name attribute specifies the name of the named pattern which is referenced.
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.