Hi Sander, I have to convert the xml data to JSON objects so that I can use it in my anguar application. Using the DOMParser I am not able to convert and use that.
On Thursday, 11 June 2015 18:24:00 UTC+5:30, Sander Elias wrote: > > Hi Shaktidhar, > > > Use an parser to create an object out of your XML, Something like this: > > var parser = new DOMParser(); > var doc = parser.parseFromString(stringContainingXMLSource, > "application/xml"); > > the doc will then be a dom-like structure you can walk with the same > interface you use for the DOM. > > Regards > Sander > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
