logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XML::Validator::Schema::TypeLibrary - internal module

Description

       Internal module used to implement a library of types, simple and complex.

Name

       XML::Validator::Schema::TypeLibrary - internal module

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.32.0                                       2021-01-05                           Schema::TypeLibrary(3pm)

See Also