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 XML Element return...
Power Automate
Unanswered

Get XML Element returned no element error

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I need to get the value of several XML elements on a big XML file. I'm trying to extract those values with Get XML Element but always get the XPath Expression returned no element exception no matter what node I'm getting.

 

XML -->

xml.png

--> Get XML

Already tried with and without the initial backslash (" / ") in the xpath expression with the same result.

getXML.png

 Error --> getXML error.png

 

  1. I got the same result with the Execute XPath Expression processor. 
  2. It doesn't matter what node I try to read the result is always the same.
  3. I tested my xpath expressions in several online testers and the expressions works fine

I'll really appreciate your help

 

Thanks,

Temp

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Set xpath as a variable. Then put the variable in that spot. My guess is something with the slashes is throwing it off. 

  • templarian Profile Picture
    2 on at

    Hi, doesn't work. I got the same error.

     

    Thanks.

  • cleversonfreita Profile Picture
    2 on at

    did you find the solution?

  • VJR Profile Picture
    7,635 on at

    Hi @cleversonfreita 

     

    Are you able to share you xml as a sample with sensitive data modified so that the same can be tried via PAD?

    Also please share which element and what value are you looking from the xml.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard