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


Name

(nameClass) — Container

Synopsis

"(" nameClass ")"

Restrictions

nameClass

May be included in

(nameClass), *-nameClass, attribute, element, nameClass|nameClass, nsName exceptNameClass

XML syntax equivalent

None

Description

The (nameClass) container is useful for grouping together name classes that have been combined using | (choice). This container is a name class and may be combined with other name classes.

Even when such a container isn't required, it is often used to improve the readability of a schema.

Example

element hr:* - ( hr:author | hr:name | hr:born | hr:died ) { anything }

This text is released under the Free Software Foundation GFDL.