i have the following xml:
<messageContent xmlns="http://tempuri.org/" >
<Message type="MappedMessage" >
<Properties RequestId="Point-CurveRequest-8326ad44-a1cd-4a96-b4ef-1c4ad213d940" Action="getParCurves" EESId="EESID:NY:20100128:BASE" Currency="USD" Index="INX" />
<Body></Body>
</Message>
</messageContent>
and then i have this query:
var messageType = xmlDoc.SelectSingleNode("/messageContent/Message[@type]");
but no matter what i've tried, i was never able to get the node that i'm looking for. Basically i'm just try to see if there is a node (named "Message") which has a "type" property inside of it.
Has anyone have any idea here?