How to easily remove multiple objects from an array

Hi all,

I'm new to node red and I'd like a bit of help with the following problem

I have an xml which i've converted using the xml node and what I now want to do is remove the objects from 1 to 12 highlighted from each of the 77 vehicle objects/trailer objects.

So for instance remove the below from each of the 77 vehicles if that makes sense?

payload.Vehicles.Vehicle[0].Trailer[1] through to payload.Vehicles.Vehicle[0].Trailer[12]

Many thanks

in a function node try

msg.payload.Vehicles.Vehicle[0].trailer = [msg.payload.Vehicles.Vehicle[0].trailer[0]];
return msg;

if you don't want the array remove the [ ] .

[edit] to do so for all 77 would require a loop, supply copyable test data so we can get it right first time.

for(let i =0; i < msg.payload.Vehicles.Vehicle.length; i++){
    msg.payload.Vehicles.Vehicle[i].trailer = [msg.payload.Vehicles.Vehicle[i].trailer[0]];
}
return msg;

untested

As a new user I cant upload my flows.json and its too many lines too attach as code but I've uploaded here https://file.io/4vPd5N5MDxX9

Thanks for your suggestion so far I'll give that a go!

then edit it and make a shorter example say 4 elements of array not 77.

That should have been obvious :slight_smile: I can do it with 2 elements to fit within the char limit

[
    {
        "id": "3a0dfe72442f9eed",
        "type": "tab",
        "label": "Flow 1",
        "disabled": false,
        "info": ""
    },
    {
        "id": "2ef2e6ac5891460a",
        "type": "inject",
        "z": "3a0dfe72442f9eed",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 330,
        "y": 200,
        "wires": [
            [
                "878033b51454dfed"
            ]
        ]
    },
    {
        "id": "ec6720966fc97bda",
        "type": "xml",
        "z": "3a0dfe72442f9eed",
        "name": "",
        "property": "payload",
        "attr": "",
        "chr": "",
        "x": 630,
        "y": 200,
        "wires": [
            [
                "ccbd97f7abcbac90"
            ]
        ]
    },
    {
        "id": "878033b51454dfed",
        "type": "template",
        "z": "3a0dfe72442f9eed",
        "name": "",
        "field": "payload",
        "fieldType": "msg",
        "format": "handlebars",
        "syntax": "mustache",
        "template": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Vehicles>\n<Vehicle>\n\t<Action>C</Action>\n\t<Owner></Owner>\n\t<VehicleNo>WU64ZDG</VehicleNo>\n\t<ExtVehicleNo>WU64ZDG</ExtVehicleNo>\n\t<VehicleType>2</VehicleType>\n\t<VehicleRegNo>WU64 ZDG</VehicleRegNo>\n\t<Capacity>8600</Capacity>\n\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t<VehicleWeightKg>12000</VehicleWeightKg>\n\t<Scanner>false</Scanner>\n\t<PrinterType></PrinterType>\n\t<TachoMethod></TachoMethod>\n\t<VisiLevel>false</VisiLevel>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>0</Capacity>\n\t\t<SafeFillCapacity>0</SafeFillCapacity>\n\t\t<TrailerWeightKg>0</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>0</CompartmentCt>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n</Vehicle>\n<Vehicle>\n\t<Action>C</Action>\n\t<Owner></Owner>\n\t<VehicleNo>KW08BVH</VehicleNo>\n\t<ExtVehicleNo>KW08BVH</ExtVehicleNo>\n\t<VehicleType>2</VehicleType>\n\t<VehicleRegNo>KW08 BVH</VehicleRegNo>\n\t<Capacity>18000</Capacity>\n\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t<VehicleWeightKg>26000</VehicleWeightKg>\n\t<Scanner>false</Scanner>\n\t<PrinterType></PrinterType>\n\t<TachoMethod></TachoMethod>\n\t<VisiLevel>false</VisiLevel>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n</Vehicle>\n</Vehicles>",
        "output": "str",
        "x": 480,
        "y": 200,
        "wires": [
            [
                "ec6720966fc97bda"
            ]
        ]
    },
    {
        "id": "ccbd97f7abcbac90",
        "type": "debug",
        "z": "3a0dfe72442f9eed",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 810,
        "y": 200,
        "wires": []
    }
]

ok try this there are two examples one keeps the array with one element the other makes trailer an object with the contents of element 0

[{"id":"e2ab8eab.f7b168","type":"inject","z":"c791cbc0.84f648","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":130,"y":1640,"wires":[["ba5f712.2be179"]]},{"id":"ba5f712.2be179","type":"template","z":"c791cbc0.84f648","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Vehicles>\n<Vehicle>\n\t<Action>C</Action>\n\t<Owner></Owner>\n\t<VehicleNo>WU64ZDG</VehicleNo>\n\t<ExtVehicleNo>WU64ZDG</ExtVehicleNo>\n\t<VehicleType>2</VehicleType>\n\t<VehicleRegNo>WU64 ZDG</VehicleRegNo>\n\t<Capacity>8600</Capacity>\n\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t<VehicleWeightKg>12000</VehicleWeightKg>\n\t<Scanner>false</Scanner>\n\t<PrinterType></PrinterType>\n\t<TachoMethod></TachoMethod>\n\t<VisiLevel>false</VisiLevel>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>0</Capacity>\n\t\t<SafeFillCapacity>0</SafeFillCapacity>\n\t\t<TrailerWeightKg>0</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>0</CompartmentCt>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n</Vehicle>\n<Vehicle>\n\t<Action>C</Action>\n\t<Owner></Owner>\n\t<VehicleNo>KW08BVH</VehicleNo>\n\t<ExtVehicleNo>KW08BVH</ExtVehicleNo>\n\t<VehicleType>2</VehicleType>\n\t<VehicleRegNo>KW08 BVH</VehicleRegNo>\n\t<Capacity>18000</Capacity>\n\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t<VehicleWeightKg>26000</VehicleWeightKg>\n\t<Scanner>false</Scanner>\n\t<PrinterType></PrinterType>\n\t<TachoMethod></TachoMethod>\n\t<VisiLevel>false</VisiLevel>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n</Vehicle>\n</Vehicles>","output":"str","x":280,"y":1640,"wires":[["fe0f6ffb.64a86"]]},{"id":"fe0f6ffb.64a86","type":"xml","z":"c791cbc0.84f648","name":"","property":"payload","attr":"","chr":"","x":430,"y":1640,"wires":[["43794c5c.16deec","d0dce288.73d4b"]]},{"id":"43794c5c.16deec","type":"function","z":"c791cbc0.84f648","name":"","func":"for(let i =0; i < msg.payload.Vehicles.Vehicle.length; i++){\n    msg.payload.Vehicles.Vehicle[i].Trailer = [msg.payload.Vehicles.Vehicle[i].Trailer[0]];\n\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":470,"y":1720,"wires":[["5a51d9af.261228"]]},{"id":"d0dce288.73d4b","type":"function","z":"c791cbc0.84f648","name":"","func":"for(let i =0; i < msg.payload.Vehicles.Vehicle.length; i++){\n    msg.payload.Vehicles.Vehicle[i].Trailer = msg.payload.Vehicles.Vehicle[i].Trailer[0];\n\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":470,"y":1540,"wires":[["49172bf5.bf62c4"]]},{"id":"5a51d9af.261228","type":"debug","z":"c791cbc0.84f648","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":670,"y":1720,"wires":[]},{"id":"49172bf5.bf62c4","type":"debug","z":"c791cbc0.84f648","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":660,"y":1540,"wires":[]}]
for(let i =0; i < msg.payload.Vehicles.Vehicle.length; i++){
    msg.payload.Vehicles.Vehicle[i].Trailer = msg.payload.Vehicles.Vehicle[i].Trailer[0];
}
return msg;

E1cid, thanks so much, a slight tweak to your suggestion worked!

for(let i =0; i < msg.payload.Vehicles.Vehicle.length; i++){
    msg.payload.Vehicles.Vehicle[i].Trailer = [msg.payload.Vehicles.Vehicle[0].Trailer[0]];
}
return msg;

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.