Working with XML

(ality) #1

I have an xml feed that i want to work with in flowxo. It seems the best bet it to convert it to json. I found this article which explains how to do this: https://davidwalsh.name/convert-xml-json

However it gives the following error when executing:

Script Error: DOMParser is not defined

Is there anyway to parse to json within flowxo or would I have to process the data on a separate server and send to flow?

(Daniel Beckett) #2

Hi @ality

The Webhooks service should be able to capture data sent in XML format which means that you shouldn’t need to convert it to JSON. Did you get any particular errors when you tried to send XML content?

(ality) #3

It seems it was already creating an object for me! So I was actually trying to parse an object thinking it was xml. Thanks for the help!