RELAX NG by Eric van der Vlist will be published by O'Reilly & Associates (ISBN: 0596004214)

You are welcome to use our annotation system to give your feedback.


Name

nsName exceptNameClass — Name class for any name in a namespace

Class:

nameClass

Synopsis

NCName ":*" [
exceptNameClass]

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 cannot overlap. The same restriction applies to name classes of elements when these elements are combined by interleave. It is impossible to use nsName exceptNameClass to produce empty name classes by including nsName exceptNameClass in an except name class included in another nsName.

Example:

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

      

You are welcome to use our annotation system to give your feedback.
[Annotations for this page]
All text is copyright Eric van der Vlist, Dyomedea. During development, I give permission for non-commercial copying for educational and review purposes. After publication, all text will be released under the Free Software Foundation GFDL.