How do I convert soap(xml data) response into a dictionary in swift?

How to convert soap(xml data) response into nsdictionary in swift

Hi guys, i am struggling for converting soap response to nsdictionary in swift whereas in objective-c i used xmldictionary.h and xmldictionary.m classes for converting soap respponse to ndictionary.

I am successfully separated as store in nsdictionary in objective-c, using xml dictionary classes.

but i'm not able to convert this string into dictionary in as a store in swift.

Can you please separate this as stores and keep it in nsdictionary or nsarray,

//-----------nsmutablestring:

[redacted]

Original thread: https://forums.imore.com/threads/how-do-i-convert-soap-xml-data-response-into-a-dictionary-in-swift.355081/