implement stt_xml