[MongoDB]: XML to JSON conversion
If you are planning to use MongoDB, you would first need to convert the XML document into JSON format and then persist it to MongoDB.
There are bunch of available open source tools that can convert XML to JSON.
XML.java from the below URL to convert from XML to JSON, but you could use any similar tool.
JSONObject json = XML.toJSONObject(anyXMLString);
Once the data is in MongoDB, you can query using mongodb driver as usual.