web.config に次のノードがあります。
<configuration>
...
<scheduling>
<agent>
<param desc="database">core</param>
</agent>
<agent>
<param desc="database">master</param>
</agent>
</scheduling>
...
</configuration>
<agent>
マスター コンテンツを持つ子パラメーター ノードを持つノード全体を削除したい。多かれ少なかれ、私の xdt 変換ノードは次のようになります。
<configuration>
...
<scheduling>
<agent
xdt:Transform="Remove"
xdt:Locator="XPath(./param[@desc='database']/??????)" />
</scheduling>
...
</configuration>
ご覧のとおり、ノードのコンテンツ文字列と一致させる方法がわかりません。ここに何を追加する必要がありますか?
環境メモ: Windows 7 - Visual Studio 2010 SP1