Name
keyword — Keywords
Synopsis
keyword ::= “attribute” |"default” |"datatypes” |"div” |"element” |"empty” |"external” |"grammar” |"include” |"inherit” |"list” |"mixed” |"namespace” |"notAllowed” |"parent” |"start” |"string” |"text” |"token”
May be included in
(pattern)
, attribute
,
datatypeName param exceptPattern
,
datatypes
, default namespace
,
element
, external
,
include
, list
,
mixed
, namespace
,
parent
, pattern&pattern
,
pattern*
, pattern+
,
pattern,pattern
, pattern?
,
pattern|pattern
XML syntax equivalent
None
Description
The keyword
production gives the list of keywords
for the RELAX NG compact syntax. Note that these keywords are
reserved only when there is a risk of confusion. They can be used,
for instance, as element or attribute names without being quoted.
When they are reserved, they can still be used as identifiers, but
they need to be quoted.
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.