Hi, You have to go through the XML content by your own methods. if you find tedious going through each element using DOM give JSON a try.. anyways this link might be helpful to you- http://code.google.com/apis/opensocial/articles/makerequest.html#contenttypes-domThanks ~@@[EMAIL PROTECTED] http://aakash-bapna.blogspot.com
> Date: Sat, 14 Jun 2008 13:23:49 -0700> Subject: [OpenSocial] Re: fetching xml > and using dom data. (orkut application)> From: [EMAIL PROTECTED]> To: > [email protected]> > > 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.> _________________________________________________________________ Instantly invite friends from Facebook and other social networks to join you on Windows Live⢠Messenger. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_InviteFriends --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
