Import XML to MongoDB collection

by

Want to import data from XML file to MongoDB collection?

Try Withdata FileToMongo, a XML to MongoDB converter for Windows, MacOS, and Linux, Import XML to MongoDB, Easy and Fast.

Download Withdata FileToMongo Download FileToMongo

Import XML data To MongoDB

Login to MongoDB -> Choose XML file -> Set MongoDB collection options -> Import XML to MongoDB

Start FileToMongo, connect to MongoDB.

Import XML file data To MongoDB collection - connect to mongodb

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

Import XML file data To MongoDB collection - task window

Select the “XML” file type.

Import XML file data To MongoDB collection - select file type

1. Open a XML file.

Import Data From XML File To MongoDB collection - open XML file

The source XML file like this:

import  XML file to MongoDB collection - source XML file

2. Set MongoDB collection options.

Load Data From XML File To MongoDB collection - set collection options

3. Preview data will be in MongoDB collection.

Transfer Data From XML File To MongoDB collection - preview

4. Import XML data to MongoDB collection.

Copy Data From XML File To MongoDB collection - import data

After importing, you can view imported data in MongoDB collection.

Import Data From XML File To MongoDB collection - view data

Import XML to MongoDB in command line

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

Set scheduled tasks for 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 for “XML to MongoDB” conversion.
  2. Set scheduled task for “XML to MongoDB” conversion.

FAQ


More about Withdata FileToMongoXML to MongoDB Converter

See Video: Import XML file to MongoDB collection

See also: