title: How to store XML format data in MongoDB?
body: <p>I have several files in XML format. Each file contains XML header and approx 15-20 items. I want to store these files in MongoDB which I think stores data in JSON format. Here is the sample of data I want to store in MongoDB.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
      xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0"&gt;
      &lt;channel&gt;
          &lt;title&gt;Channel Title&lt;/title&gt;
          &lt;link&gt;Channel link&lt;/link&gt;
          &lt;description&gt;Channel desc&lt;/description&gt;
          &lt;!-- Item 1 --&gt;
          &lt;item&gt;
            &lt;title&gt;Your Title&lt;/title&gt;
                      &lt;link&gt;Your link&lt;/link&gt;
            &lt;pubDate&gt;Published date&lt;/pubDate&gt;
            &lt;description&gt;Your description&lt;/description&gt;
          &lt;/item&gt;
          &lt;!-- Item 2 --&gt;
          &lt;item&gt;
            &lt;title&gt;Your Title&lt;/title&gt;
                      &lt;link&gt;Your link&lt;/link&gt;
            &lt;pubDate&gt;Published date&lt;/pubDate&gt;
            &lt;description&gt;Your description&lt;/description&gt;
          &lt;/item&gt;
  
      &lt;/channel&gt;
  &lt;/rss&gt;
  </code></pre>
  
  <p>How to proceed? Can anyone help using some example and sample code how to store these data in MongoDB? <strong>Note: I will be using Node/Javascript for CRUD operations.</strong></p>
  
  <p><strong>Edit:</strong> 
  The process of storing data would be like there is a form and you choose a category(Channel name, like channel title) and you just add a <code>&lt;item&gt;</code> to that channel. But whole data would be stored in MongoDB.</p>