W3C::SOAP::XSD::Parser - Parse an W3C::SOAP::XSD::Document and create perl modules
This documentation refers to W3C::SOAP::XSD::Parser version 0.0.6.
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.
load_xsd ($schema_location)
Loads the schema and dynamically generates the Perl/Moose packages that represent the schema.
write_modules ()
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
get_schemas ()
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
$wsdl-
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 $xsd
$xsd
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
Ivan Wills - (ivan.wills@gmail.com)
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.
To install W3C::SOAP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm W3C::SOAP
CPAN shell
perl -MCPAN -e shell install W3C::SOAP
For more information on module installation, please visit the detailed CPAN module installation guide.