For data Order Event, below are the values that are coming in XML:
OrderType : Direct
OrderDate : 20190401
But the XML contains the field name and field values in below format:
<OrderEvent> <FieldName>OrderType</FieldName> <FieldValue>Direct</FieldValue> <FieldName>OrderDate</FieldName> <FieldValue>20190401</FieldValue> </OrderEvent> </OrderEvent>
Had it been ordertype and order date in tags I would have fetched it easily but here these are embeded in FieldName and FieldValue tags.
If I need to fetch order date then how should I proceed.