Handling XML response with or without namespace in Postman

While testing an XML response in postman, we need to convert XML data to JSON in order to traverse child nodes of an XML document. XML documents can be with/without namespaces. If XML documents have namespaces, then those are declared as attributes to the XML tag. There may or may not be prefixes associated with XML tags containing namespaces. There are different methods or ways to convert XML to JSON, a few of which I tried to list and apply.
Link

Please share your valuable feedback :blush:

6 Likes

Love that you put this together. Thanks for sharing!

2 Likes