Name

pattern+ — oneOrMore 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

oneOrMore

Description

A pattern qualified as oneOrMore must be matched one or more times.

Restrictions

The pattern+ pattern can’t contain attribute definitions.

Example

start = element library {
 book-element +
}

 attribute see-also {list
        {("0836217462"|"0345442695"|"0449220230"|"0449214044"|"0061075647")+}}

Get RELAX NG now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.