NAME
W3C::SOAP::Manual::XSD
SYNOPSIS
DESCRIPTION
W3C::SOAP::XSD::Parser maps XMLSchema Documents to perl/Moose objects. There are some limitations in the way this is done but the basic mapping is:
- schema
-
A common class is created that represents the whole schema, this class includes all other classes that are created. The attributes of this class are the
xs:element
s of the XSD - xs:element
-
These are mapped to attributes of the XSD
- xs:simpleType
-
These are mapped to MooseX::Types and located in the {BaseClass}::Types module. They then need to be imported into modules that need them.
- xs:complexType
-
These are mapped to Moose classes under the {BaseClass} namespace