Why doesn't TiXmlPrinter do character escaping when printing text? I would have thought that it should generate normal XML. I would use the SaveFile() functionality but you can't specify indentation/tab options (its hardcoded in a grim way all over the place).
James
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Morning.
Why doesn't TiXmlPrinter do character escaping when printing text? I would have thought that it should generate normal XML. I would use the SaveFile() functionality but you can't specify indentation/tab options (its hardcoded in a grim way all over the place).
James
James --
SaveFile() is fixed, as you note.
TiXmlPrinter should have the character escaping code, but doesn't. (It's newer and a little buggier.) Good bug.
lee