You could take the node values stored in the xml, parse/format/covert them if needed, perform a record.create and map the fields. Importing, saving and creating an xml file to the NS file cabinet is very possible. And using JSON to get key value pairs and apply them to a new record type is pretty doable