title: NodeJS how to find all XML nodes by element
body: <p>I have an XML similar to</p>
  
  <pre><code>&lt;root&gt;
    &lt;a&gt;
      &lt;b&gt;test1&lt;/b&gt;
      &lt;c&gt;
        &lt;b&gt;test2&lt;/b&gt;
        &lt;b&gt;test3&lt;/b&gt;
      &lt;/c&gt;
    &lt;/a&gt;
    &lt;b&gt;test4&lt;/b&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>And I want to retrieve an array containing all the values of <code>&lt;b&gt;</code> elements:</p>
  
  <pre><code>expectedOutput = ["test1", "test2", "test3", "test4"]
  </code></pre>
  
  <p>What would be the best NodeJS library and how to use it? Thanks!</p>