|  | <?xml version="1.0"?> | 
|  | <!-- | 
|  | Licensed to the Apache Software Foundation (ASF) under one | 
|  | or more contributor license agreements. See the NOTICE file | 
|  | distributed with this work for additional information | 
|  | regarding copyright ownership. The ASF licenses this file | 
|  | to you under the Apache License, Version 2.0 (the | 
|  | "License"); you may not use this file except in compliance | 
|  | with the License. You may obtain a copy of the License at | 
|  |  | 
|  | http://www.apache.org/licenses/LICENSE-2.0 | 
|  |  | 
|  | Unless required by applicable law or agreed to in writing, | 
|  | software distributed under the License is distributed on an | 
|  | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | 
|  | KIND, either express or implied. See the License for the | 
|  | specific language governing permissions and limitations | 
|  | under the License. | 
|  | --> | 
|  | <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | 
|  | <!-- | 
|  | In the example below, the "SetAttributes" transform will change the value of | 
|  | "connectionString" to use "ReleaseSQLServer" only when the "Match" locator | 
|  | finds an attribute "name" that has a value of "MyDB". | 
|  |  | 
|  | <connectionStrings> | 
|  | <add name="MyDB" | 
|  | connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" | 
|  | xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> | 
|  | </connectionStrings> | 
|  | --> | 
|  | <system.web> | 
|  | <!-- | 
|  | In the example below, the "Replace" transform will replace the entire | 
|  | <customErrors> section of your Web.config file. | 
|  | Note that because there is only one customErrors section under the | 
|  | <system.web> node, there is no need to use the "xdt:Locator" attribute. | 
|  |  | 
|  | <customErrors defaultRedirect="GenericError.htm" | 
|  | mode="RemoteOnly" xdt:Transform="Replace"> | 
|  | <error statusCode="500" redirect="InternalError.htm"/> | 
|  | </customErrors> | 
|  | --> | 
|  | </system.web> | 
|  | </configuration> |