Module xml_schema

Module xml_schema 

Source
Expand description

A limited implementation of code generation based on an xml schema. Adapted for OPC-UA code generation.

Structs§

Any
The Any type.
AttrDecls
Attribute declaration wrapper.
Attribute
Definition of an attribute on a type.
ComplexRestriction
Complex restriction variant.
ComplexType
A complex structure.
Element
Element, representing some part of a type.
Extension
A type that extends another type.
FacetValue
Value of a Facet node.
Group
A group of multiple particles.
List
List of values.
Restriction
A restriction is a property of a type that limits valid values.
SimpleType
A simple type.
Union
Discriminated union of different variants.
XmlSchema
Type representing a full XmlSchema file.

Enums§

AttributeUse
Legal uses of an attribute.
ComplexContent
Content of a complex type.
ComplexTypeContents
Possible contents of a complex type.
ElementContents
Contents of an element.
Facet
A restriction facet.
MaxOccurs
Maximum number of occurences of something.
NestedParticle
A variant of particle that can occur inside another object.
Particle
Particle, some element of the schema.
SimpleContent
Content of a simple type.
SimpleDerivation
Simple derivation.
TypeDefParticle
Type definition particle.
XsdFileItem
Item in an XSD file.
XsdFileType
Top level element in an XML schema when it is a type.

Functions§

load_xsd_schema
Load an XSD schema from a document.