When I ingest a csv file containing multiple xml records using mlcp, I use an options file to change the desired ML output from one csv document into multiple xml documents. How do I script this using xdmp:document-load command within the query console?
Asked
Active
Viewed 172 times
1 Answers
1
I don't think xdmp:document-load
provides an option for that. Instead, use xdmp:document-get
, split with XPath, then xdmp:document-insert
.

Dave Cassel
- 8,352
- 20
- 38
-
1There's important details to understand on this section as well: http://docs.marklogic.com/guide/ingestion/formats – Harry Bakken Jun 12 '17 at 15:26