Add for write in format xml
It relates to issue #33.
Starting programming with @tchambil