Hi All,
Following is the xml that I facing trouble with :
<?xml version="1.0" encoding="utf-16"?>
<ItemNotification>
<MessageHeader>
<MessageID>PABG0103329120200130120241</MessageID>
</MessageHeader>
<ItemList>
<Item>
<PartNumber>BG01033291</PartNumber>
<AfterMarketClass/>
<ApproverDate>2018-11-08</ApproverDate>
</Item>
</ItemList>
</ItemNotification>
I have tried the following xpath for parsing:
xpath(xml(string(body('Get_blob_content_using_path'))),'string(/ItemNotification/ItemList/Item/PartNumber/text()')
xpath(xml(string(body('Get_blob_content_using_path'))),'string(//PartNumber/text()')
I need the Text in PartNumber node. Also tried de-batching this in a For Each loop (not required but tried it).
Following is my flow:
