Python Tkinter Entry Validate Xml