make sure we use setAttributeNS with the xmlns URI instead of node.setAttribute, this will make IE11 write out the correct XML