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


Name

nameClass|nameClass — Choice between name classes

Synopsis

nameClass "|" 
nameClass

Restrictions

nameClass

May be included in

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

XML syntax equivalent

choice

Description

The nameClass|nameClass production performs a choice between two name classes. A name matches nameClass|nameClass if, and only if, it matches at least one of the two alternatives.

Example

element lib:* | hr:* { anything }

This text is released under the Free Software Foundation GFDL.