Convertir NSDictionary a XML [duplicado]
Esta pregunta ya tiene una respuesta aquí:
Convertir NSDictionary a XML 3 respuestasNecesito convertir un diccionario a formato XML para usar con el servicio web SOAP en el objetivo C.
Let the dictionary be {
password = testpassword;
username = testusername;
}
and the converted result i need is :
<password>testpassword</password>
<username>testusername</username>
i need a specific function to get output like this format for dynamic dictioanry .
many libraries are available but i dont get output like this .
thanks in advance ..