Explicitly bind xmlns-namespaced attributes.

This fixes XML serialization in IE11. See also #1220 and #1238.
Merge pull request #1239 from marcjansen/xml-ie11-sld

Explicitly bind xmlns-namespaced attributes.