Hi, you can use this javascript library, it's very simple to include
in yours projects.

http://www.codeproject.com/useritems/JavaScript_Serializer.asp

best regards

Gustavo.

On 8/30/06, kalaivanan <[EMAIL PROTECTED]> wrote:
>
> hi,
> dis is kalaivanan. I am new to ajax.
> I did not know how to read from a xml file using javascript.
> I am using the following code. But i am not able to fetch the value
> from the xml file.
>
> var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
> var xmlObj = null;
>
> xmlDoc.async="false";
> xmlDoc.load("test.xml");
> xmlObj = xmlDoc.documentElement.childNodes;
> //alert(xmlObj);
> item_code.innerText = xmlObj.item(0).text;
> //alert(item_code.innerText )
>
> Kalaivanan.R
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info/

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---

Reply via email to