What is the way to parse XML in a Worklight Adapter?
问题 In a notification Worklight adapter - I invoke the adapter passing a very long XML string from the backend service. The backend service cannot be altered or changed. I want to be able to turn the javascript String object into something I can parse and use useful functions on such as : var custNum = doc.getElementsByTagName("data:custNum")[0]; However all attempts so far at creating the 'doc' variable have failed. Standard DOMParser and window methods are undefined and out of scope in adapters