first xml-writer implementation
fixed some path issue