XPath: Incorrect XPath to dynamically fetch the node name

Hi,

I’d like to propose to optimize the dynamic fetching of XML node names as the constructed XPath seems not correct.

Auto generated XPath: /item/*[1]/name
Correct XPath: name(/item/*[1])

<item>
    <node1>abc</node1>
    <node2>123</node2>
</item>

image

Best
Mike

Good mornign,

I want to bnring this to your attention again with a concrete example. The ability to dynamically get teh name would ease the following process dramatically to jsut one node and much less computation overhead:

image

The Value Lookup to merge with the original data is another step which is missing in the screenshot.

Best
Mike