web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / EQUIVALENCES OF VARIOU...
Power Automate
Answered

EQUIVALENCES OF VARIOUS XML FILES FOR PARSE JSON

(0) ShareShare
ReportReport
Posted on by 296

Hello Community,


I have several XML files, but there are files that have one item and others have 5 or more items.


When using PARSE JSON, it works in some files but in another it gives me an error.


How can I do PARSE JSON equivalence for all my XML files?


I attach two files, the 714 file works fine for me, but the 951 gives me an error.

 

I leave images of the flow

 

fgonzalez515_0-1697936878946.png

 

 

fgonzalez515_1-1697936906209.png

 

 

 

 

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @fgonzalez515 

     

    Parse JSON is used for parsing JSON string ,It is not recommended for XML format data. 

     

    for XML, use xml function on the xml text content and then you will get the xml structured data.

     

    See below 

    Nived_Nambiar_0-1697952114191.png

     

    I used xml function like below by pasisng file content inside xml function.

    Nived_Nambiar_1-1697952152202.png

     

     

    I am also wondering how parse json worked on some files, will try that as well and let you know !

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • fgonzalez515 Profile Picture
    296 on at

    Hi @Nived_Nambiar 

     

    That's how I did it from the beginning.

    How can I solve the Scheme thing?

    fgonzalez515_0-1697980007854.png

     

  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @fgonzalez515 

     

    Now got it. So the reason is schema validation 

     

    Did you check both files has same schema ?

     

    I see the process failed for file 951 not for file 714 . So did you created that schema using file 714 ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • fgonzalez515 Profile Picture
    296 on at

    Hi @Nived_Nambiar 

     

    Thanks for you answer.

    I was able to find solution.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 391

#2
11manish Profile Picture

11manish 276

#3
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

Last 30 days Overall leaderboard