Name
notAllowed — Not allowed
Synopsis
element notAllowed { ( attribute ns { text }?, attribute datatypeLibrary { xsd:anyURI }?, attribute * - (rng:* | local:*) { text }* ), ( element * - rng:* { ... }* ) }
Class
pattern
May be included in
attribute
, choice
,
define
, element
,
except
, group
,
interleave
, list
,
mixed
, oneOrMore
,
optional
, start
,
zeroOrMore
Compact syntax equivalent
notAllowed
Description
The notAllowed
pattern always fails. It can
provide abstract definitions that must be overridden before they can
be used in a schema.
Example
<define name="isbn-element" combine="choice"> <notAllowed/> </define>
Attributes
-
datatypeLibrary
This attribute defines the default datatype library. The value is inherited.
-
ns
This attribute defines the default namespace for the elements defined in a portion of schema. The value is inherited.
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.