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.


Name

pattern,pattern — pattern,pattern pattern

Class:

pattern

Synopsis

pattern ("," 
pattern)+

May be included in:

(pattern), attribute, datatypeName param exceptPattern, element, list, mixed, pattern&pattern, pattern*, pattern+, pattern,pattern, pattern?, pattern|pattern.

XML syntax equivalent:

group

Description:

The group pattern defines an ordered group of sub-patterns (note that when attribute patterns are included in such a group, their order cannot be guaranteed). Any number of patterns may be combined through the , operator using this construct, but one should note that different operators ( ,, |, and &) cannot be mixed at the same level.

Example:

      
   element author {
    attribute id {text},
    element name {text},
    element born {text},
    element died {text}?}*
 
   element lib:title { attribute xml:lang { text }, text }
   
   attribute dimensions {list {token, token, token, ("inches"|"cm"|"mm")}}
      

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.