How to change values in XML based on Key-value pairs

 

 

Hi All,

 

We have a requirement like we need to write values from Finalbuilder to XML . Please find the below how our XML look likes .

 

All nodes are Setting (with same name) and attributes are same(for every node).

 

How can we change the value of a particular node by using value of key.

 

For Example if key="NugetBuilder" I want to change the value in the node corresponding to NugetBuilder key only not to cahnge in other nodes.

 

Example of XMl:


-

-

 

 

Please tell us the FinalBuilderActions which we can achieve this functionality.

 

 

 

The forums messed up your xml. FinalBuilder has a bunch of XML actions, but you do need to know XPath to be able to make use of them.