title: XSD: difference between Element and Attribute
body: <p>I'm new to XSD, and I'm quite confused as to when to use attribute, and when to use element?</p>
  
  <p>Why cant we specify minOccurs and maxOccurs in attribute?</p>
  
  <p>Also, why is it we cannot specify use="required" in element?</p>