Import XML files into Atlas MongoDB cluster

My goal is to import over 400 XML files (about 1MB each) into Atlas MongDB.

I can import CSV files no problem. But I can’t find a good way to convert multiple XML files to a single, flat CSV file.

Another way would be to convert each XML to individual CSVs and then have Python to use my mongoimport command to import each csv one by one.

Any ideas much appreciated.

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.