XML::Schema::Facet::Builtin
use XML::Schema::Facet::Builtin; my $facet = XML::Schema::Facet::length->new(value => 22); my $value = 'The cat sat on the mat'; print $facet->valid(\$value) ? "valid" : "invalid";
The XML::Schema::Facet::Builtin module defines facets which are built in to XML Schema.
Andy Wardley <abw@kfs.org>
This is version $Revision: 1.1.1.1 $ of the XML::Schema::Facet::Builtin distributed with version 0.1 of the XML::Schema module set.
Copyright (C) 2001 Canon Research Centre Europe Ltd. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See also XML::Schema and XML::Schema::Facet.
To install XML::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Schema
CPAN shell
perl -MCPAN -e shell install XML::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.