XML to Record MappingFor clarity, examples of the result records are shown as the would appear if resulting record were converted to JSON using toJSON(record, true).