Encode quotes when rendering XML attribute only