Hi guys,
I am new to Ajax, xml and javascript.
I want to know how can I retrieve data from xml and display in the html page?
please help me out.
suppose my xml file is customer.xml the code is below:
[CODE=xml]<CUSTOMER>
<CUSTOMERID>111 1</CUSTOMERID>
<NAME>
<FNAME>Antony </FNAME>
<MNAME>Federrer </MNAME>
<LNAME>Christin e</LNAME>
</NAME>
<CONTACT>
<emailid>abc@ya hoo.com</emailid>
<alt_emailid>de f@yahoo.com</alt_emailid>
<contact_phone> 0123456789</contact_phone>
<alt_phone>1234 567890</alt_phone>
<alt_phone2>789 4561230</alt_phone2>
<country></country>
</CONTACT>
</CUSTOMER>
[/CODE]
---------------------------
I want to use javascript and Ajax only. I want to display in the html page.
Thanks.
I am new to Ajax, xml and javascript.
I want to know how can I retrieve data from xml and display in the html page?
please help me out.
suppose my xml file is customer.xml the code is below:
[CODE=xml]<CUSTOMER>
<CUSTOMERID>111 1</CUSTOMERID>
<NAME>
<FNAME>Antony </FNAME>
<MNAME>Federrer </MNAME>
<LNAME>Christin e</LNAME>
</NAME>
<CONTACT>
<emailid>abc@ya hoo.com</emailid>
<alt_emailid>de f@yahoo.com</alt_emailid>
<contact_phone> 0123456789</contact_phone>
<alt_phone>1234 567890</alt_phone>
<alt_phone2>789 4561230</alt_phone2>
<country></country>
</CONTACT>
</CUSTOMER>
[/CODE]
---------------------------
I want to use javascript and Ajax only. I want to display in the html page.
Thanks.
Comment