要素をクエリしたい
<Identifier>var1</Identifier>
var1 の名前空間は http://schemas.microsoft.com/2011/07/AppServer/Transformsです。
ステートメントを使用しましたelement.XPathSelectElement({"'//{http://schemas.microsoft.com/2011/07/AppServer/Transforms}Identifier[=var1]');
"{http://schemas.microsoft.com/2011/07/AppServer/Transforms}Identifier"
Identifier の XName から返される toString() の値です。
XPathSelectElement は以下の例外をスローしています:
{"'//{http://schemas.microsoft.com/2011/07/AppServer/Transforms}Identifier[=var1]' に無効なトークンがあります。"} .