writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); writeStartElement(null, namespace, "addProfileEnabled", xmlWriter); } else { writeStartElement(null, "http://mgt.profile.user.identity.carbon.wso2.org/xsd", "associatedIDs", xmlWriter); writeStartElement(null, "http://mgt.profile.user.identity.carbon.wso2.org/xsd", "associatedIDs", xmlWriter); if (localProfileFieldsForInternalStore==null){ writeStartElement(null, "http://mgt.profile.user.identity.carbon.wso2.org/xsd", "profileFieldsForInternalStore", xmlWriter); writeStartElement(null, namespace, "readOnlyUserStore", xmlWriter);