Fix struct name of xmlwriter