У меня есть XML-файл с несколькими тегами, и я пытаюсь изменить его содержимое с помощью пакетного скрипта.
<?xml version="1.0" encoding="UTF-8"?>
<CommunicationsConfig xsi:noNamespaceSchemaLocation=".\TCPIPCommunicationsServiceConfig.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<TCPIPCommunicationsLink CommsLinkID="TPA CONNECTION" RemoteHost="10.1.1.1" RemotePort="9001" LocalPort="5100" KeepAlive="1" RetryTimer="3000" ReconnectOnClose="1">
<MessageDelimiter MessageDelimiterID="Anything" Assembly="NCR.APTRA.VPITCPIP.DLL" Class="NCR.APTRA.VPITCPIP.StdMessageDelimiter" LengthFormat="1" LengthSize="2" LengthAdjust="2" LengthOffset="0" LengthEmbedded="0" RCVTimeOut="30000" PrefixSize="0" PrefixData="0" />
</TCPIPCommunicationsLink>
</CommunicationsConfig>
Я пытаюсь изменить RemoteHost с 10.1.1.1
на 180.1.1.1