XML::Validator::Schema::SimpleType
XML Schema simple type system. This module provides objects and class methods to support simple types. For complex types see the ModelNode class.
# create a new anonymous type based on an existing type my $type = $string->derive(); # create a new named type based on an existing type my $type = $string->derive(name => 'myString'); # add a restriction $type->restrict(enumeration => "10"); # check a value against a type ($ok, $msg) = $type->check($value);
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install XML::Validator::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Validator::Schema
CPAN shell
perl -MCPAN -e shell install XML::Validator::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.