title: How can I require at least 1 occurrence of an element in the XSD?
body: <p>How can I require the "Address" element?</p>
  
  <p>If I perform an XSD validation on a document with no "Address" it passes, but I would like it to fail.</p>
  
  <p>Is this possible?</p>
  
  <p><a href="http://en.wikipedia.org/wiki/XSD" rel="nofollow noreferrer">http://en.wikipedia.org/wiki/XSD</a>
  see the example xsd. it hiding my xsd sample</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;xs:element name="Address"&gt;
      &lt;xs:complexType&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element name="Recipient" type="xs:string" /&gt;
          &lt;xs:element name="House" type="xs:string" /&gt;
          &lt;xs:element name="Street" type="xs:string" /&gt;
          &lt;xs:element name="Town" type="xs:string" /&gt;
          &lt;xs:element name="County" type="xs:string" minOccurs="0" /&gt;
          &lt;xs:element name="PostCode" type="xs:string" /&gt;
          &lt;xs:element name="Country"&gt;
            &lt;xs:simpleType&gt;
              &lt;xs:restriction base="xs:string"&gt;
                &lt;xs:enumeration value="FR" /&gt;
                &lt;xs:enumeration value="DE" /&gt;
                &lt;xs:enumeration value="ES" /&gt;
                &lt;xs:enumeration value="UK" /&gt;
                &lt;xs:enumeration value="US" /&gt;
              &lt;/xs:restriction&gt;
            &lt;/xs:simpleType&gt;
          &lt;/xs:element&gt;
        &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
    &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
  </code></pre>