Nevermind I got it

node.Attributes["Value"].Value = ReplacementValue;