Data::Validate::XSD::ParseXML - Parse an XML file into a data structure for validation
Please install XML::SAX to use this module. Used internally by Data::Validate::XSD to load xml files for both xsd definitions and xml data. For the xml data we use a simple conversion metric which treats each tag level as an hash reference and multiple tags witht he same name as an array reference. For the xsd defininitions we use the same method as the data to aquire the data but then It's converted into a simpler format and any features which arn't available will produce warnings.
Create a new parser object to parse xml files.
Return the parsed data structure.
Convert the data into a definition, assume it's in xsd format.
Create a new parser object.
Start a new xml element
Ends an xml element
Handle part of a cdata by concatination
Copyright, Martin Owens 2007-2008, Affero General Public License (AGPL) http://www.fsf.org/licensing/licenses/agpl-3.0.html
Data::Validate::XSD,XML::SAX
To install Data::Validate::XSD, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Validate::XSD
CPAN shell
perl -MCPAN -e shell install Data::Validate::XSD
For more information on module installation, please visit the detailed CPAN module installation guide.