Write XML started