-2

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?

Peter
  • 29
  • 2
  • 6

1 Answers1

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
  • 1
    There'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