Fixed typo.
Grabbed lastest TCMXMLWriter.
Declaring ivars explicitly in the main @interface, and using explicit @synthesize, to make the compiler happy when building 32-bit.