Results 1 to 8 of 8

Thread: XPath and Configuration

Threaded View

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    XPath and Configuration

    VS 2005
    Hi All,

    I have a small config file :
    Code:
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
      <connectionStrings>
            <add name="ProgramService" connectionString="http://SERVERIP/WebServices/myservice.asmx" />
      </connectionStrings>
      <appSettings>
              <add key="loggingLevel" value="4" />
      </appSettings>
    </configuration>
    And would like to edit both the "ProgramService" connection string service and the value of "loggingLevel" in the appsettings using XPath.

    Can someone point me in the right direction ?
    Last edited by venerable bede; Sep 15th, 2008 at 04:21 AM.

    Parksie

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width