XPath expressions with namespaces

Hi there!
I am currently facing a problem when trying to execute XPath expressions in UiPath using “execute XPath” activity. Output always states “Execute XPath: Namespace Manager or XsltContext needed. This query has a prefix, variable, or user-defined function.”

The xml files from which data has to be extracted use namespaces, e.g.: (german invoice format standard ZUGFeRD)

Does someone know how to add the namespace to enable XPath expressions?

Example XPath expression: “//ram:Name”

Thanks in advance!
Kind regards :slight_smile:

Maybe this can help?

we can do it by using a namespace manager

thank you guys, I was able to figure it out :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.