Create activityXML