more xmlSave cleanup, optimization and refactoring Daniel

* xmlsave.c: more xmlSave cleanup, optimization and refactoring
Daniel
2 files changed