Properly support namespaces in XmlProvider (Fixes #113)