title: How to define XML schema for tags with parameters?
body: <p>I know how to define an xml schema for simple entities within tags. How can we define xml schema for tags with parameters ? </p>
  
  <pre><code>&lt;logins&gt;
  &lt;login type="uname" value="robert"/&gt;
  &lt;login type="name"  value="robert williams" /&gt;
  &lt;/login&gt;
  </code></pre>
  
  <p>I know </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
    &lt;xs:schema&gt;
      &lt;xs: element name="login"&gt;
    &lt;xs:complexType&gt;
    &lt;xs:sequence&gt;
  
           &lt;!-- What will come here ??--&gt;
         &lt;/xs:sequence&gt;
         &lt;/xs:complexType&gt;
        &lt;/xs:element&gt;
      &lt;/xs:schema&gt;
  </code></pre>