XML writer almost wrote!