First attempt to create a xml file with DOM API.