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


Name

nsName exceptNameClass — Name class for any name in a namespace

Synopsis

NCName ":*" [
exceptNameClass]

Restrictions

nameClass

May be included in

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

XML syntax equivalent

nsName

Description

The nsName exceptNameClass name class allows any name in a specific namespace.

The namespace is defined by the nsName production, and the set of these names can be restricted using the exceptNameClass production.

Restrictions

Within the scope of an element, the name classes of attributes can't overlap. The same restriction applies to name classes of elements when these elements are combined by interleave. It's impossible to use nsName exceptNameClass to produce empty name classes by including nsName exceptNameClass in an except name class that's included in another nsName.

Example

element lib:* { anything }

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

This text is released under the Free Software Foundation GFDL.