- or download this
$ xsd2pm foo.xsd > Foo.pm
- or download this
$ xsd2module foo.xsd
Creating Perl distribution for Foo...
...
...
- or download this
<xsd:simpleType name="longitudeType">
<xsd:annotation>
...
<xsd:maxExclusive value="180.0"/>
</xsd:restriction>
</xsd:simpleType>
- or download this
sub longitudeType {
&_non_null and &xsd_decimal and $_[0]->_between( $_[1], -180, 180
+ )
}