Can we use jQuery within the Object Script trigger to extract values from the returned XML body?
I seriously doubt you can do that.
Right now, we are putting the xml results from the webservice into a field. With a page script, we can use jquery to get the right results. I was wondering whether we have more options to do it smarter.
I can add some server-side API to extract data from XML. But that will have to wait a little.
I have used e4x to process xml on server side for just this purpose and works well. Watch out for declaration bug. https://developer.mozilla.org/en/docs/E4X