Most of the time i was trying to write xpath query by myself and fails all the time :(. Again i got in to problem to find the value
here is my xml
<Tail xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Id="45000061" CreateDateTime="2010-03-08T16:02:52.512+11:00" Type="Actual" Sender="DRNA" Receiver="Lawson">
Am trying to find the “ID” value in my root node (that’s suppose to be “45000061”)
Any help please.
Thanks in Advance
The xpath expression
/Tail/@Idyou get you theIdattribute value.