Man Page: xml::validator::schema::simpletype
Operating Environment: debian
Section: 3pm
Schema::SimpleType(3pm) User Contributed Perl Documentation Schema::SimpleType(3pm)NAMEXML::Validator::Schema::SimpleType - simple XML Schema typesDESCRIPTIONXML Schema simple type system. This module provides objects and class methods to support simple types. For complex types see the ModelNode class.USAGE# create a new anonymous type based on an existing type my $type = $string->derive(); # create a new named type based on an existing type my $type = $string->derive(name => 'myString'); # add a restriction $type->restrict(enumeration => "10"); # check a value against a type ($ok, $msg) = $type->check($value); perl v5.10.0 2008-12-23 Schema::SimpleType(3pm)
| Similar Topics in the Unix Linux Community |
|---|
| Is UNIX an open source OS ? |
| One instance of comparing grep and awk |
| Find columns in a file based on header and print to new file |
| A (ksh) Library For and From UNIX.com |