I have been struggling with this issue for a few days now and would sincerely appreciate your help . I have an Java application that queries multiple Webservices which return an XML message. My application then parses these multiple XML messages returned using xquery. Based on what i understand, xquery needs a XML document to read the XML and for my Java application creating a XML document for each Webservices XML returned would be heavy and slow down the response time.
Is there any way, that the XML string returned by the Webservices call can be passed directly as an input to xquery without creating the XML document? The XML from a single source is consistent but the XML structure is different in the multiple Webservices call so i need a very flexible application processing framework.
Thank you in advance. Neil.
fn:parse-xml()
function. - user357812