Update xmlserver.py

clean up the xmlserver