0

I'm fairly new to Azure logic apps as well as xml so bear with me:

I'm trying to change an XML file to JSON using logic apps, but my XML file contains CData. I think my schema file is correct but I don't know the correct way for liquid to map directly to the XML response data. Could anyone provide me with any extra info for parsing through this response data?

  • Provide information you have researched first before asking someone to do you `homework` for you. – Alex Jun 15 '18 at 15:50
  • Here's a hint to clear up something in the UI. For Xml to Xml, you should be using Xslt. Using the JSON base Liquid is not appropriate. You can develop the xslt using a variety of tools. – Johns-305 Jun 15 '18 at 18:12
  • To help clarify, I'm an intern working on a project for my company.. I have very minimal knowledge with XML/JSON, and even less knowledge with Azure. In looking for a way to convert XML to JSON using Azure, I went to logic apps. The only XML-JSON logic app that would work for that uses liquid mapping. – Jordan Taulton Jun 18 '18 at 13:06
  • I don't need help with my "homework", just a better understanding of how liquid mapping works. – Jordan Taulton Jun 18 '18 at 13:08
  • 1
    Hi Jordan, It would help if you could share a sample of your input message and how you want that to be transformed. E.g. what's inside the CDATA element? – Paco de la Cruz Jun 19 '18 at 03:26
  • I've learned that the CDATA won't effect mapping. I have a post Xml request that when sent produces a response similar to this { "Units":[ {"First":"Jordan", "Last":"Taulton"}, {"First":"Bob", "Last":"Smith"}, {"First":"Jen", "Last":"Thomas"} ]} I'm wanting to map to the Names tag and transform that into JSON. – Jordan Taulton Jun 20 '18 at 13:21

0 Answers0