When using the XML.GetAttribute/SetAttribute, I'm getting an error when I specify a path of "/configuration/appSettings/add[1]" it gives an error.
I'm pretty sure that this is a valid XPath statement for the following XML:
What am I doing incorrectly?Code:<configuration> <appSettings> <add key="blah" value="fred was here" /> <add key="yabba" value="wilma was here" /> <add key="dabba" value="barney was here" /> </appSettings> </configuration>
Thanks
Paul.

Reply With Quote