karwanpro
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by karwanpro
-
-
hi
i want get my currency convert from this XML file
http://www.xe.com/datafeed/samples/sample-xml-usd.xml
i try this code
xmlDoc=loadXMLDoc("http://www.xe.com/datafeed/samples/sample-xml-usd.xml");x=xmlDoc.getElementsByTagName('cinverse')[10].childNodes[0].nodeValue;document.write(x);
but don't work
my currency is (Iraq Dinars)
please help me
-
thanks thescientist ,
i am try many ways and i can not get the data of currency of Iraqi dinar from this xml file please if you can know any code to this task informed me
-
hi friend i am used the java script to display the currency of Iraqi dinars from this xml file
http://www.xe.com/datafeed/samples/sample-xml-usd.xml
and i used this code
<script>if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); }else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); }xmlhttp.open("GET","http://www.xe.com/datafeed/samples/sample-xml-usd.xml",false);xmlhttp.send();xmlDoc=xmlhttp.responseXML; currency=xmlDoc.getElementsByTagName("crate")[65].childNodes[0].nodeValue;document.write(currency);</script>
but that is not work and i don't know why?
please tell me what is my mistakes ... help me
how i get currency from this xml file
in JavaScript
Posted
please can you write me a code to get the currency from this XML file