table of contents
Schema::TypeLibrary(3pm) | User Contributed Perl Documentation | Schema::TypeLibrary(3pm) |
NAME¶
XML::Validator::Schema::TypeLibrary - internal module
DESCRIPTION¶
Internal module used to implement a library of types, simple and complex.
USAGE¶
# get a new type library, containing just the builtin types $library = XML::Validator::Schema::TypeLibrary->new(); # add a new type $library->add(name => 'myString', ns => 'http://my/ns', obj => $type_obj); # lookup a type my $type = $library->find(name => 'myString', ns => 'http://my/ns');
2021-01-05 | perl v5.32.0 |