title: Node.js Xml2js result from attribute
body: <p>What am i doing wrong? i am not able to get the value of a tag inside a child attribute. Here is my xml:</p>
  
  <pre><code>&lt;root&gt;
   &lt;time c="00:00:00"&gt;
      &lt;title&gt;Title&lt;/title&gt;
      &lt;text&gt;Some Text...&lt;/text&gt;
   &lt;/time&gt;    
      &lt;time c="00:00:01"&gt;
      &lt;title&gt;Title 2&lt;/title&gt;
      &lt;text&gt;Some text...&lt;/text&gt;
   &lt;/time&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>This is what i have done in node:</p>
  
  <pre><code>xml2js = require('xml2js');
  fs = require('fs');
  
  var parser = new xml2js.Parser();
  var timetag = '00:00:01';
  
  fs.readFile( 'test.xml', function(err, data) {
  
      parser.parseString(data, function (err, result) {
  
          function sendSubs() {
  
              io.sockets.emit('subs', { subs: result.root.time[c=timetag].title });
          }
  
          setInterval(sendSubs, 1000);
  
      });
  });
  </code></pre>
  
  <p>Im sure thats a syntax issue but i dont see it!, and its possible to get the values of two childs like title and text?</p>
  
  <p>Regards</p>