writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); } else { writeStartElement(null, "http://mgt.profile.user.identity.carbon.wso2.org/xsd", "fieldValues", xmlWriter); writeStartElement(null, "http://mgt.profile.user.identity.carbon.wso2.org/xsd", "fieldValues", xmlWriter); writeStartElement(null, namespace, "profileConfigurations", xmlWriter); writeStartElement(null, namespace, "profileConfigurations", xmlWriter); writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); xmlWriter.writeEndElement(); writeStartElement(null, "http://mgt.profile.user.identity.carbon.wso2.org/xsd", "profileConfigurations", xmlWriter); writeStartElement(null, namespace, "profileConifuration", xmlWriter); } if (localProfileNameTracker){ namespace = "http://mgt.profile.user.identity.carbon.wso2.org/xsd"; writeStartElement(null, namespace, "profileName", xmlWriter);