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 / Issue with XPath to fe...
Power Automate
Unanswered

Issue with XPath to fetch xml node having image

(0) ShareShare
ReportReport
Posted on by 124

I am trying to fetch data from InfoPath xml document and create an item of that in SharePoint list.

Below is the XPath expression i am writing for a purpose field in create item action.

 

@{xpath(xml(outputs('Compose_3')), 'string(//purpose)')}

 

Above expression is working fine with string data but is not working when there is an image pasted in purpose field of InfoPath. Below is the expression similar to what i am getting while there is an image pasted.

<purpose>
<img tabIndex="-1" style="HEIGHT: 360px; WIDTH: 480px" src="msoinline/4e7ae1ab68bd4bb0" xd:inline="R0lGODlh4AFoAXAAACH5BAEAAP8ALAAAAADgAWgBhxA6WgAAAAgAAAAICPf/9yFKY0Jztb3O1oycrZScrbW9zq21xb3Fzhk6Y+/m9xAICGt7nDFSa2tra6WltRAQCM7O3jFSnDFarf"
xmlns="http://www.w3.org/1999/xhtml" />
</purpose>

 

How can i fetch this image node and update the same image in SharePoint list field?

Categories:

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
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard