Setting Xml Node Value using UiPath

I am trying to set value of a node using UI path.
I tried Uipath web activities package and was able to get the values.
Additionally i want to create a new node in existing xml document.

This is how you can set the value @Rahul_Dubey
image

Make sure you have changed the TypeArgument of For each to xml element as below

image

Thanks for the response.
Is there a way to set value based on xpath?

The earlier response is exactly based on the xpath name. You need any other way to do that?