cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Best practice JSON to XML without .to_xml function

ccontzen
Deputy Chef II
Deputy Chef II

Dear all,

what is the best practice to convert a json response to a individual xml format without using the function .to_xml?

I have to create an individual XML file for importing data into another application.

 

Thank you in advance

Regards,

Christian

1 ACCEPTED SOLUTION

kelian-mos
Workato employee
Workato employee

Hi @ccontzen,

Depending on the complexity of the XML format there are multiple solutions to his. 
You could do this through the Message Templates as described here.
Or use the recently updated XML parser by providing a XSLT document, see updated docs here.

Let me know if this works for you, happy to look into it in more detail if needed.

View solution in original post

1 REPLY 1

kelian-mos
Workato employee
Workato employee

Hi @ccontzen,

Depending on the complexity of the XML format there are multiple solutions to his. 
You could do this through the Message Templates as described here.
Or use the recently updated XML parser by providing a XSLT document, see updated docs here.

Let me know if this works for you, happy to look into it in more detail if needed.