W3C::SOAP::XSD::Parser - Parser for XSD documents that generates Perl modules implementing the object defined.
This documentation refers to W3C::SOAP::XSD::Parser version 0.06.
use W3C::SOAP::XSD::Parser; # Brief but working code example(s) here showing the most common usage(s) # This section will be as far as many users bother reading, so make it as # educational and exemplary as possible.
Loads the schema and dynamically generates the Perl/Moose packages that represent the schema.
Uses the supplied documents to write out perl modules to disk that represent the XSDs in the documents.
write_module ($tt, $data, $file)
Write the template to disk
Returns a list of all XSD modules written by the parser.
Gets a list of the schemas imported/included from the base XML Schema(s)
complex_type_package ( $xsd, $type, $class_name, $super)
Creates the complex types
Creates a dynamic XSD objects that represent the XML Schema files imported.
element_attributes ( $class, $class_name, $element )
Sets up all the attributes for a single element
elements_package ( $xsd, $class_name )
Creates the package that represents top level elements in the XSD
simple_type_package ( $xsd )
Creates all the simple types for the
There are no known bugs in this module.
Please report problems to Ivan Wills (email@example.com).
Patches are welcome.
Ivan Wills - (firstname.lastname@example.org)
Copyright (c) 2012 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.