As xml is main format of data exchange between systems, being comfortable of navigation of xml data is very important for xml handling. There are many ways a search can be performed on an xml document, but here I am trying to demo how to perform xml search using xpath query and linq to xml which in my view are two of the easiest and most clean way of handling complex xml data, the real scenario could be mix of both, I deliberately did this in order to show how each mechanism is working without each other and hoping that under some restrictive circumstances there is still one option left to use. Read the rest of this entry »