Done.
Take a tree and saves it as a xml.