title: how to parse a simple xml file to a readable format
body: <p>Perl newbie here. Can someone kindly show me how to use perl to extract data from this xml file and format the output anyway i would need? Would I use XML::Simple or open this as a fh and split it somehow? thank you.</p>
  
  <p>Documentation for using <a href="http://search.cpan.org/~grantm/XML-Simple-2.18/lib/XML/Simple.pm" rel="nofollow">XML::Simple</a> doesn't seem simple to me.</p>
  
  <p>For example I have a small xml file that looks like this.</p>
  
  <p>test.xml</p>
  
  <pre><code>&lt;?xml version="1.5" encoding="UTF-8"?&gt;&lt;org.apache.Content duration="277135" count="51" numDirs="50" bytesUsed="110133451"/&gt;
  </code></pre>
  
  <p>I would like to convert attribute="value" pairs to be readable like csv file, <code>:</code>  or however, i want to print it out.</p>
  
  <p>Ex:</p>
  
  <pre><code>duration:277135 count:51 numDirs:50 bytesUsed:110133451
  </code></pre>