How to extract order ID from this .xml file? if anyone can help on this?

this is basically image of an .xml but I am tryin to extract it from .xml document

I tried → deserialise xml acitivity but after that didn’t get the solution

assuming xml is the output from your Deserialize activity
Something like this might work. I don’t usually work with xmls but others may have better solutions

xml.Element("OrderRequest").Element("OrderRequestHeader").Attribute("orderID").Value

Add any ancestors before OrderRequest if there are.

otherwise xml.Descendants() may also work

1 Like

@anjasing
have a look here:

1 Like

Thank you so much :slight_smile:

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