Jump to content

karwanpro

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by karwanpro

  1. please can you write me a code to get the currency from this XML file
  2. 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
  3. 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
  4. 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
×
×
  • Create New...