title: convert xml to plist - xml attributes?
body: <p>I want to convert a xml file to a plist file, but I dont know how to save the information of the xml attributes <code>&lt;tag attribute="value"&gt;&lt;/tag&gt;</code></p>
  
  <p>example xml:</p>
  
  <pre><code>&lt;root&gt;
       &lt;tag attribute="value"&gt;Stackoverflow&lt;/tag&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>as far as I know, .plist file doesnt provide attributes, so what can I do to prevent a .plist like this:</p>
  
  <pre><code>&lt;root&gt;
       &lt;array&gt;
            &lt;item&gt;StackOverflow&lt;/item&gt;
            &lt;item&gt;value&lt;/item&gt;
       &lt;/array&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>I dont want an array for each tag with an attribute, so does anyone knows a simplier approach? I searched the web on this but couldnt find a solution. Thank you.</p>