Skip to main content

Module rnc

Module rnc 

Source
Expand description

RNC (RELAX NG Compact) data model and XSD-to-RNC conversion.

Structs§

RncAttribute
An attribute declaration.
RncElement
A child element declaration.
RncEnumSummary
Enum value summary: # TypeName: val1 | val2.
RncGlobalElement
A global element: pfx:name = element pfx:name { body }.
RncLayer
One layer’s definitions.
RncNamespace
A namespace declaration: namespace pfx = "uri".
RncPattern
A named pattern: TypeName = body.
RncSchema
Complete RNC document.

Enums§

RncBodyItem
A body item in an RNC definition (recursive).
RncQuantifier
Occurrence quantifier.

Functions§

wrap_comment
Wrap text into # comment lines at the given width.
xsd_to_rnc
Convert XSD schemas to RNC representation.