Batch import XML files to MongoDB collections without programming

by

Want to batch import data from XML files to MongoDB collections?

Using Withdata software FileToMongo, a MongoDB XML importer for Windows, MacOS, and Linux, you can bulk import data from XML files to MongoDB collections easily and fast.

Download FileToMongo Download FileToMongo

Bulk import data from XML files to MongoDB collections

Login to MongoDB -> Choose XML files -> Set MongoDB collections. -> Import XML files into MongoDB collections

Start FileToMongo, connect to MongoDB.

Import multiple XML files data to 1 MongoDB collection - connect to mongodb

Click “N File To N Collection” at task dialog.

Batch Import XML files data To MongoDB collections - task window

then show the wizard.

Select the “XML” file type.

Batch Import XML files data To MongoDB collections - select file type

1. Open a folder contains XML files.

Batch Import Data From XML Files To MongoDB collections - set XML folder

2. Set XML options.

Batch Import Data From XML Files To MongoDB collections - config XML file

3. List collesions, set “Import Type”.

Batch Load Data From XML File To MongoDB collections - select table

4. Map files to collections.

Batch Load Data From XML File To MongoDB collections - select table

5. Summary.

Batch Transfer Data From XML Files To MongoDB collections - preview

6. Import XML data to MongoDB collections.

Batch Copy Data From XML Files To MongoDB collections - import data

After importing, you can view imported data.

Bulk Import Data From XML Files To MongoDB collections - view data

Bulk import XML to MongoDB in command line

Save “XML to MongoDB” session, then you can:

Set scheduled tasks for bulk importing XML to MongoDB

You can schedule and automate this “XML to MongoDB” conversion task by:

1) Save session and create .bat (Windows) or .sh (Linux/macOS) file.

2) Set scheduled task.

FAQ