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 / Get value from XML file
Power Automate
Answered

Get value from XML file

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I have an XML file that has a tag called <GTIN> this tag happens to be in the file multiple times, I want to get the value from this tag from all the <GTIN> tags and not only the first one.

 

I managed to get the value from the first GTIN but I cannot figure out how to get all of them

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Try using the Execute XPath query action with the following XPath: .//GTIN

    This will return a list of XML nodes. You can then loop through them and retrieve the value from each of them individually.

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard