adding utility method to MG7DataXML class