Andy Wardley > XML-Schema > XML::Schema::Facet

Download:
XML-Schema-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Module Version: 1.01   Source  

NAME ^

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

SYNOPSIS ^

    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 ^

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

AUTHOR ^

Andy Wardley <abw@kfs.org>

VERSION ^

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 ^

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 ^

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

syntax highlighting: