Symbols Used in the Schema Diagram
The views in the schema diagram editor renders all the Relax NG schema patterns with the following intuitive symbols:
-
define
pattern with the@name
attribute set to the value shown inside the rectangle (in this examplename
).-
define
pattern with the@combine
attribute set tointerleave
and the@name
attribute set to the value shown inside the rectangle (in this exampleattlist.person
).-
define
pattern with the@combine
attribute set tochoice
and the@name
attribute set to the value shown inside the rectangle (in this exampleattlist.person
).-
element
pattern with the@name
attribute set to the value shown inside the rectangle (in this examplename
).-
attribute
pattern with the@name
attribute set to the value shown inside de rectangle (in this casenote
).-
ref
pattern with the@name
attribute set to the value shown inside the rectangle (in this casefamily
).-
oneOrMore
pattern.-
zeroOrMore
pattern.-
optional
pattern.-
choice
pattern.-
value
pattern (for example, used inside achoice
pattern).-
group
pattern.- A pattern from the Relax NG Annotations namespace (http://relaxng.org/ns/compatibility/annotations/1.0) that is treated as a documentation element in a Relax NG schema.
-
text
pattern.-
empty
pattern.