presence_xml: use common prefix for global variables