can someone pls help ?

On Jun 14, 1:01 am, observer247 <[EMAIL PROTECTED]> wrote:
> My module is "opensocial-0.7" based and I am building an orkut
> application.
>
> I am trying to fetch an xml file and then try to use the data. But
> facing some problems:
>
> I am using this code to the url:
>
>     var params = {};
>     params[gadgets.io.RequestParameters.CONTENT_TYPE] =
> gadgets.io.ContentType.DOM;
>     gadgets.io.makeRequest(url, url_response, params);
>
> Now are there are simpler functions to go through the dom object. For
> eg: the function getElementsByTagName cannot be used.
>
> It is pretty tedious to go through every node using childNodes and
> nodeName.
>
> Can someone please point me to an example code which uses data from an
> xml file using the ContentType DOM. In google gadgets, I was using
> _IG_FetchXmlContent which do not seem to work here.
>
> Thanks for reading.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" 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/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to