W3C::SOAP::XSD - The parent module for generated XSD modules.
This documentation refers to W3C::SOAP::XSD version 0.11.
use W3C::SOAP::XSD; # 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.
get_xsd_ns_name ($ns)
Returns the namespace name for a particular namespace.
xml2perl_map ()
Returns a mapping of XML tag elements to perl attributes
to_xml ($xml)
Converts the object to an XML::LibXML node.
to_data (%options)
Converts this object to a perl data structure. If $option{like_xml} is specified and true, the keys will be the same as the XML tags otherwise the keys will be perl names. If $option{stringify} is true and specified any non XSD objects will be stringified (eg DateTime objects).
$option{like_xml}
$option{stringify}
get_xml_nodes ()
Returns a list of attributes of the current object that have the W3C::SOAP::XSD trait (which is defined in W3C::SOAP::XSD::Traits)
W3C::SOAP::XSD
xsd_subtype ()
Helper method to create XSD subtypes that do coercions form XML::LibXML objects and strings.
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.