How do I parse whatever is inside 'value' tag from below XML to an array in nodejs ? I tried npm xpath/xmldom, XMLExtract then xml2json but without success yet.
<response status="success"><result>
<resource-monitor>
<data-processors>
<dp0>
<second>
<cpu-load-average>
<entry>
<coreid>0</coreid>
<value>0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</value>
</entry>
<entry>
<coreid>1</coreid>
<value>2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2</value>
</entry>