LogicApps - Creation an Array with the content of an XML file

Canlers, Marc 1 Reputation point
2020-08-21T12:14:01.857+00:00

Hello everybody,

i have to create a sFTP triggered logicapps.
Once a XML file arrives, i need to get the content and create array or variables using the informations from the XML.

For example (in french)
<?xml version="1.0" encoding="ISO-8859-1"?>
<entete><origine>XXXXX</origine><dateCreation>XXXXXX</dateCreation></entete><paramDefaut><contenu><texte>XXXXX</texte></contenu></paramDefaut><listeDestinataires><destinataire id="XXXXX"><contact>XXXXX</contact></destinataire></listeDestinataires>

for exemple: $phonenumber = <contact>

i can only use xpath but i don't find the good expression, using triggerbody or body.

Do you have a clear solution ?

Regards
Marc

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
1,806 questions
{count} votes