improved srl to xml