XQuery data returned and parser XML


I Have to parse data returned by a XQuery request and I wonder if I can parse them with any XML parser or if it uses a specific structure that needs a tamino library…


If the data returned from the XQuery is valid XML, you can parse it with any Parser you like.

However, you must be aware that the data returned from an XQuery does not need to be valid XML. This depends on your XQuery. It might as well be just a string or a number or a sequence of XML fragments, strings, numbers etc.