Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/google-maps/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Powershell xml函数错误_Xml_Powershell - Fatal编程技术网

Powershell xml函数错误

Powershell xml函数错误,xml,powershell,Xml,Powershell,在函数中格式化xml时出错: $newXml = @' <bindings> <basicHttpBinding> </basicHttpBinding> </bindings> '@ + $newXml = <<<< @', is missing the terminator: '@. $newXml=@' '@ +$newXml=这里有两个字符串。确保@后面没有空格,@前面没有空格。也就是说,结束符必须从第

在函数中格式化xml时出错:

$newXml = @'
<bindings>
<basicHttpBinding>
</basicHttpBinding>
</bindings>
'@

+     $newXml =  <<<< @', is missing the terminator: '@.
$newXml=@'
'@

+$newXml=这里有两个
字符串。确保
@
后面没有空格,
@
前面没有空格。也就是说,结束符必须从第0列开始。

您必须提供更多上下文。发布的字符串初始化没有问题。