title: Understanding XML structure
body: <p>I am learning XML and I am trying to create a XML file for a test input. The XML file must provide a test name and a list of files to be tested. I am not sure which XML structure is better suited for this among the two:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;test&gt;
      &lt;name&gt;Test987575454&lt;/name&gt;
      &lt;file&gt;File1.cpp&lt;/file&gt;
      &lt;file&gt;File2.cpp&lt;/file&gt;
      &lt;file&gt;File3.h&lt;/file&gt;
  &lt;/test&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;test name="Test987575454"&gt;
      &lt;file&gt;File1.cpp&lt;/file&gt;
      &lt;file&gt;File2.cpp&lt;/file&gt;
      &lt;file&gt;File3.h&lt;/file&gt;
  &lt;/test&gt;
  </code></pre>