Skip to Content
0
Feb 25, 2022 at 07:46 AM

How to handle un structured xml files in message mapping -values with in the tags

96 Views Last edit Feb 25, 2022 at 07:56 AM 3 rev

Hi Team,

we are getting the xml files without unstructured and values within the tags. How to handle the tags with values as <11111444> and data inside the node <11111444>

xml file.

<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Test xmlns:ns0="http://test.com/test">
<Id>6644</Id>
<Type>Regular</Type>
<quantitiesByInventory>
<11111444>
<expected>
<pallet>
<amount>2</amount>
<unit>EA</unit>
</pallet>
</expected>
</11111444>
</quantitiesByInventory>
</ns0:MT_Test>

while executing the mapping we getting Error : The content of elements must consist of well-formed character data or markup.

Thanks,

Ravi