Schema::TypeLibrary(3)User Contributed Perl DocumentatioSchema::TypeLibrary(3)NAMEXML::Validator::Schema::TypeLibraryDESCRIPTION
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');
perl v5.14.1 2003-10-03 Schema::TypeLibrary(3)