title: Setting max length of date type as 0 in XSD
body: <pre><code>&lt;xsd:simpleType name="Date10"&gt;
    &lt;xsd:restriction base="xsd:date"&gt;
      &lt;xsd:pattern value="??"/&gt;
    &lt;/xsd:restriction&gt;
  &lt;/xsd:simpleType&gt;   
  </code></pre>
  
  <p>The date field shouldn't be able to accept any value in it. I want it to appear like an empty tag. How do I do that?</p>