Name

name — Define a set of names that must be matched by an element or attribute

Synopsis

name ::= 
identifierOrKeyword
 |
CName
                  

May be included in

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

XML syntax equivalent

None

Description

The name name class defines sets of names that are singletons: they match only one name. There is no restriction other than those of XML 1.0 and namespaces in XML 1.0 on such names. They can be either CName or identifierOrKeyword (in particular, even keywords can be used as names).

Get RELAX NG now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.