[MarkLogic Dev General] mlcp, -document_selector: level of XPath support?

Markus Flatscher flatscherm at avalonconsult.com
Mon Mar 30 09:03:45 PDT 2015


According to the mlcp docs, the value passed into -document_selector
"specifies an XPath expression used to select which documents are exported
from the database."

However, using mlcp-1.2-2, this only seems to work for simple XPaths. Any
comparison operators or even parentheses in the XPath throw errors for me:

mlcp export […] -document_selector '/root[child/child = "1"]'
>>>
(ERROR contentpump.ContentPump: Unrecognized argument: =)

Does anyone have a working example for an mlcp export with
-document_selector and a complex XPath expression?

Thanks,

Markus

-- 
Markus Flatscher
Consultant | Avalon Consulting, LLC
flatscherm at avalonconsult.com

LinkedIn: http://www.linkedin.com/company/avalon-consulting-llc
Google+: http://www.google.com/+AvalonConsultingLLC
Twitter:    https://twitter.com/avalonconsult
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20150330/5015a783/attachment.html 


More information about the General mailing list