Working XML file and addition to AP