Added Dynamic memory to XML
XML DATA AND TEST MAIN