Removed xmlns workaround, using a different method, that supports XMLNS
declarations
Optimized namespaceAttrs, removing one xpath query