title: Structuring XML, attributes or nodes?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/33746/xml-attribute-vs-xml-element">XML attribute vs XML element</a>  </p>
  </blockquote>
  
  
  
  <p>I'm creating an XML document that holds cinemas. I need a way to represent the facilities a certain cinema has, but am uncertain on how to structure it.</p>
  
  <p>Should I have each facility as a node? And the text inside that node would either be a 1 or 0 (true of false)? Or would it be better to have each facility as an attribute or a "facilities" node?</p>
  
  <p>Attributes:</p>
  
  <pre><code>&lt;cinema id="1"&gt;
      ...
      &lt;facilities advance_screenings="1" concessions="0" ... &gt;1&lt;facilities&gt;
  &lt;/cinema&gt;
  </code></pre>
  
  <p>Nodes:</p>
  
  <pre><code>&lt;facilities&gt;
      &lt;advance_screenings&gt;1&lt;/advance_screenings&gt;
      &lt;audio_description&gt;1&lt;/audio_description&gt;
      &lt;bar&gt;1&lt;/bar&gt;
      &lt;concessions&gt;1&lt;/concessions&gt;
      ...
  &lt;/facilities&gt;
  </code></pre>
  
  <p>Thanks.</p>