Fix issue with useCDATA option to not add CDATA elements to XML attribute values