Extract xml document namespaces [python] How to extract xml document namespaces for parsing values in that document. Example, atom and wordpress data files.