title: Store XML Data in a mongodb collection
body: <p>I am still relatively new to NoSQL databases like mongodb, so excuse my ignorance.</p>
  
  <p><strong>Background:</strong></p>
  
  <p>Right now, I have a system that does the following:</p>
  
  <ol>
  <li>gathers system data from clients</li>
  <li>outputs that info into an xml document</li>
  <li>a perl script takes the data in the xml tags and puts it in a mySQL db.</li>
  <li>an apache/php powered website displays the data.</li>
  </ol>
  
  <p>The purpose of this system is to act as an inventory for servers/chassis/network devices/etc.</p>
  
  <p>This has been an okay system, but I have decided to go to a non-relational database because of the advantages I see in using that for the type of data I am storing. </p>
  
  <p><strong>Question:</strong></p>
  
  <ol>
  <li>Is it very simple to extract information from xml documents with mongodb? </li>
  <li>Should I rewrite the scripts I have to output a JSON/BSON file instead of XML? </li>
  <li>How do you take the information from files and put it into a mongodb database?</li>
  </ol>