Search code examples
javascriptxmlhttprequestsproutcore

XML Parsing in SproutCore


Is there any way in which I can do XML Paring in SproutCore (or convert it to JSON) so as to use it in conjunction with Datastore and Records?

Thanks a ton in advance! :D


Solution

  • I don't believe there is anything native in SC1 or SC2 to parse XML.

    You can always use jQuery which can be accessed from both SC1 and SC2. http://api.jquery.com/jQuery.parseXML/

    Regards Vibul