Help for this page

Select Code to Download


  1. or download this
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    ...
    <xsl:template mode="restriction" match="xsd:maxInclusive">$value &lt;=
    + <xsl:value-of select="@value" /> and </xsl:template>
    <xsl:template mode="restriction" match="xsd:maxExclusive">$value &lt; 
    +<xsl:value-of select="@value" /> and </xsl:template>
    </xsl:stylesheet>
    
  2. or download this
      
    sub longitudeType {
        # The longitude of the point. Decimal degrees, WGS84 datum.
    ...
        return FALSE if _is_null($value);
        return xsd_decimal($value) and $value >= -180.0 and $value < 180.0
    + and TRUE;
    }
    
  3. or download this
    <?xml version="1.0" encoding="utf-8"?>
    <xsd:schema
    ...
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:schema>
    
  4. or download this
    sub latitudeType {
        # The latitude of the point. Decimal degrees, WGS84 datum.
    ...
        return FALSE if _is_null($value);
        return xsd_integer($value) and $value >= 0 and $value <= 1023 and 
    +TRUE;
    }
    
  5. or download this
    <?xml version="1.0" encoding="utf-8"?>
    <xsd:schema
    ...
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:schema>
    
  6. or download this
    <xsl:stylesheet version="1.0"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    ...
    <xsl:template mode="restriction" match="xsd:maxInclusive">$value &lt;=
    + <xsl:value-of select="@value" /> and </xsl:template>
    <xsl:template mode="restriction" match="xsd:maxExclusive">$value &lt; 
    +<xsl:value-of select="@value" /> and </xsl:template>
    </xsl:stylesheet>
    
  7. or download this
    package Foo;
    
    ...
    }
    
    1;