RecordLoader can do that: http://marklogic.github.io/recordloader/
CONFIGURATION_CLASSNAME=com.marklogic.recordloader.xcc.DelimitedDataConfiguration FIELD_DELIMITER=, RECORD_NAME=my-root-element-name Then invoke recordloader.sh with the CSV file(s). RecordLoader will expect the first line to be a list of headers, and will turn those into element names. See https://github.com/marklogic/recordloader/blob/master/src/java/com/marklogic/recordloader/xcc/DelimitedDataConfiguration.java for more configuration options. -- Mike On 17 Feb 2014, at 08:00 , Erik van der Hoeven <[email protected]> wrote: > Gentlemen, > > Does any body nows a way to load a csv file into Marklogic Database ? > > > > Met vriendelijke groeten/With kind regards, > > Erik van der Hoeven > Consultant Business Intelligence > > DIKW CONSULTING BV > Einsteinbaan 12 > 3439 NJ Nieuwegein > M: 06-43029943 > E: [email protected] > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
