save to xml

-without pipes (tomorrow computer networks exam)