Welcome to Microsoft Q&A Platform!
Thanks for reaching out your query on extracting XML values with special characters using XPath.
Logic Apps isn't the best fit for this requirement because it automatically decodes special characters in XML (like turning &
into &
), and there’s no built-in way to prevent this.
To handle this properly, try using Azure Function. With a function, we can extract the exact XML value while keeping characters like &
intact. The Logic App can simply send the XML to the function, and it will return the correct value for further use.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.