title: XSD date format required
body: <p>In XSD i want to validate date format in MM/DD/YYYY using regex.
  Currently i am using following syntax which give me output in YYYY-DD-MM.</p>
  
  <pre><code>&lt;xs:simpleType name="dateVal"&gt; &lt;xs:restriction base="xs:string"&gt; &lt;xs:pattern value="(19|20)((([02468][48]|[13579][26])-0?2-29)|\d\d-((0?[469]|11)-([012]?\d|3‌​0)|(l)-([012]?\d|3[01])|(0?2-([01]?\d|2[0-8]))))"&gt;&lt;/xs:pattern&gt; &lt;/xs:restriction&gt; &lt;/xs:simpleType&gt;
  </code></pre>
  
  <p>Can any one help me to correct it for MM/DD/YYYY.
  Thank you in advance.</p>