fix
python code output xml as long as correct.
remove obsolete command
fix
To avoid complexity of handling sxml, remove all xml namespaces.
improve error handling
print error to stderr
fix handling text nodes