by Eric van der Vlist is published by O'Reilly & Associates (ISBN: 0596004214)


Name

pattern* — zeroOrMore pattern

Synopsis

pattern "*"

Restrictions

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

zeroOrMore

Description

A pattern qualified as zeroOrMore must be matched zero or more times (i.e., any number of times).

Restrictions

The pattern* pattern can't contain attribute definitions.

Example

element author {
 attribute id {text},
 element name {text},
 element born {text},
 element died {text}?}* 

book-element = element book {
 attribute id {text},
 attribute available {text},
 isbn-element,
 title-element,
  uthor-element *,
 character-element*
}

This text is released under the Free Software Foundation GFDL.