It seems that xdmp:eval() does the trick pretty simply. Tim
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Tim Sent: Sunday, May 01, 2016 5:12 PM To: 'MarkLogic Developer Discussion' <[email protected]> Subject: [MarkLogic Dev General] What is the best practice for obtaining document content from the results of a search:search query in MarkLogic 7? I see that MarkLogic 8 contains the extract-document-data option, but this is not available in MarkLogic 7. I simply want to extract content from the document specified in the path attribute for each match result. What is the best practice for doing so? Thank you! Tim Meagher _______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
