XML::Schema::Facet - base class for XML Schema facets


XML-Schema documentation  | view source Contained in the XML-Schema distribution.

Index


NAME

Top

XML::Schema::Facet - base class for XML Schema facets

SYNOPSIS

Top

    package XML::Schema::Facet::MyFacet;
    use base qw( XML::Schema::Facet );

    my $facet = XML::Schema::Facet::MyFacet->new(...);
    my $instance = {
	value => 'some data value',
    };

    print $facet->valid($instance) ? "valid" : "invalid";

DESCRIPTION

Top

The XML::Schema::Facet module is a base class for objects that represent XML Schema facets.

AUTHOR

Top

Andy Wardley <abw@kfs.org>

VERSION

Top

This is version $Revision: 1.1.1.1 $ of the XML::Schema::Facet distributed with version 0.1 of the XML::Schema module set.

COPYRIGHT

Top

SEE ALSO

Top

See also XML::Schema and XML::Schema::Type::Simple.


XML-Schema documentation  | view source Contained in the XML-Schema distribution.