Xpath support for namespaces
Refactored getNamespaces to a function
Merge branch 'mgaskill-add-support-for-xml-namespaces'