[MarkLogic Dev General] Is there a simple way to extract the body of an xdmp:http-get without the response header?
tim at aaom.net
Mon Feb 6 15:02:38 PST 2012
I am using xdmp:http-get instead of xdmp:document-get because I want to be
able to read the response code. In many cases I know the expected root
element of the requested XML document, so it's easy enough to extract it
from the http response, but I also need to be able to extract documents
without previous knowledge of the document root. How can I go about
extracting the XML document from the http get response? Is there a simple
way? I'm only requesting one document at a time.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General