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


Name

pattern? — optional 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

optional

Description

A pattern qualified as optional is optional. It must be matched zero or one times.

Example

 element died {text}?
 
 attribute see-also {list {token, token?, token?, token?}}

This text is released under the Free Software Foundation GFDL.