Its my first experience with xml, so obvious things are not so. I have a file in xml, and I need to retrieve data from it with javascript. The content of the file is following:
<?xml version="1.0" encoding="utf-8"?>
<data>
<Texts>
<Price><![CDATA[50 $]]></Price>
<CTA_text><![CDATA[MORE INFORMATION]]></CTA_text>
</Texts>
</data>
And I have to retrieve the data from it to my html page on load. So the question is: how can I get 50$ and More Information texts from xml?