It seems that xdmp:eval() does the trick pretty simply.

Tim

-----Original Message-----
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Tim
Sent: Sunday, May 01, 2016 5:12 PM
To: 'MarkLogic Developer Discussion' <general@developer.marklogic.com>
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
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to