title: xsd attribute from type long
body: <p>i need to define some attribute in xsd-schema from type long between 0 and positive long
  my code look like so ..</p>
  
  <pre><code>        &lt;xsd:attribute name="spent-time"&gt;
          &lt;xsd:simpleType&gt;
              &lt;xsd:restriction base="xsd:long"&gt;
                  &lt;xsd:minInclusive value="0" /&gt;
                  &lt;xsd:maxInclusive value=" ...." /&gt;
              &lt;/xsd:restriction&gt;
          &lt;/xsd:simpleType&gt;
      &lt;/xsd:attribute&gt;
  </code></pre>