[sr-dev] git:master:3b2a84e9: presence_xml: use presence api via structure instead of declaring local function variables