I get a message in an XML string; what i upload to XmlDocument; but the second node is different every time; I gave an example below, these are three examples:
<Message>
<Event1 Operation="Amended" Id="88888">Other XML Text</Event1>
</Message>
<Message>
<Event2 _Operation_="Cancelled" Id="9999999"> Other XML Text </Event2>
</Message>
<Message>
<Event3 Operation="Cancelled" Id="22222"> Other XML Text </Event3>
</Message>
Now I want to find out if there is a second node Event1or Event2or Event3, and also what is the value of the operation, for example. "Changes", "Canceled", "Ordered"?
Ocean source
share