Help for this page

Select Code to Download


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