XML > jQuery reading
How can i read this XML File with jQuery? With "normal tags" its no problem like: <car>Mustang</car> HTML/jQuery: $(document).ready(function(){ $.get("AMA.xml", function(XMLArray){ $(XMLArray).find("dataset").each(function(){ var $myAMA = $(this); var number = $myAMA.attr("article.plunumber"); var name = $myAMA.attr("article.name"); var price = $myAMA.attr("article.price").text(); $("#AMAContainer").append("<p>"+number+"<br>"+name+"<br>"+price+"</p>"); }); }); }); XML File: <document name="screen"> <section name="list"> <dataset> <var key="type">article</var> <var key="article.number">1</var>