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 |
|---|
| Adding the individual columns of a matrix. |
| How can I do this in VI editor? |
| Detecting unused variables... |
| My first PERL incarnation... Audio Oscillograph |