Outsourcing my memory and thoughts (and other ramblings) to the web
Changing a value within an XML document using F#
I needed to simulate some user interaction with our webservices in an automated manner. This post is specific to one small part of this requirement – here we’re going to simply take some XML and change a value within the data and return this altered data.
The code is very simple but demonstrates how to deal with namespaces as well as using XmlDocument and XPath.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters