I work in NodeJs , I started using an API for anime / manga search , but unlike other APIs that I used, it was not available in > JSON , only in XML .
The format it has is the following:
<?xml version="1.0" encoding="utf-8"?>
<anime>
<entry>
<id>2889</id>
<title>Bleach - The DiamondDust Rebellion</title>
<english>Bleach: Diamond Dust Rebellion</english>
<synonyms>Bleach: The Diamond Dust Rebellion - MÅ
Bleach - The DiamondDust Rebellion - Mou Hitotsu no Hyourinmaru</synonyms>
<episodes>1</episodes>
<type>Movie</type>
<status>Finished Airing</status>
<start_date>2007-12-22</start_date>
<end_date>2007-12-22</end_date>
<synopsis>A valuable artifact known as &quot;King's Seal&quot; is stolen...
Meanwhile, a rogue Hitsugaya searches... (from ANN)</synopsis>
<image>https://myanimelist.cdn-dena.com/images/anime/6/4052.jpg</image>
</entry>
</anime>
How should I use it and what variables (or packages) should I use to get all the data from a file like this?