namespace, and missing xml (lots of repeated code in xml.go and in the various main files could be factored out)