Hello All,
I have an XML with the schema as below which I read into a database. The issue here is that sometimes the xml given me doesnt contain the SalesNo Node. How can I check if a node exist in the XML file before reading it.
Thanks in Advance
<Tran>
<Version>2</Version>
<SourceId>0</SourceId>
<TransactionId>0</TransactionId>
<TranDate>20141219</TranDate>
<TranTime>115818</TranTime>
<SalesNo> 0370034441811101</SalesNo>
</Tran>
Go to the complete details ...