This xml pwx file is valid. Beginning to write a file. Still not working. and very ugly.