insert values of two endpoint

Questions about XML that are not covered by the other forums should go here.
FlowWir
Posts: 1
Joined: Fri Oct 06, 2017 10:10 am

insert values of two endpoint

Post by FlowWir »

Problem:
getting values of two sensors and and have to embed a xml in my TCP/IP connection because my DDL is just reading xml
i wrote something to insert ONE value.... can someone help me how i can insert the second one!?!?!

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<root>
<header eventId="0" eventName="plcChangeOver" version="1.0" eventSwitch="{{#inputs}}{{#values}}}{{value}}{{/values}}{{/inputs}}" timeStamp="2017-09-29T09:47:48.5955204+02:00" contentType="3">
<location lineNo="402" statNo="20" statIdx="1" fuNo="1" workPos="0" toolPos="0" application="PLC" processName="" processNo="0" />
</header>
<event>
<plcChangeOver typeNo="" typeVar="" typeVersion="" />
</event>
<body>
<structs />
</body>
</root>