Use ol.xml.pushParseAndPop instead