Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
Compare cell phone plans using Wirefly's innovative plan comparison tool ×
Programming

Submission + - XPath Query - Beginner's guide @ CodeProject.

sadhanandh writes: Introduction
This article aims to explain what an XPath expression is and why they can be extremely useful to a C# programmer.

Background

When I first started .NET programming I was immediately exposed to the use of XML It was everywhere, and I had hardly any exposure to it previously. After understanding why XML documents were used so widely, I took the decision to incorporate XML files into my next application. So off I went, added the System.Xml namespace to my project and created an XmlDocument object. I called the LoadXml() method and passed in a valid XML string. "Great!" I thought, but soon discovered I had no idea how I would get the data I wanted out of the XmlDocument object.

Check out the link @ http://www.codeproject.com/useritems/BegginingXPat h.asp

Take an astronaut to launch.

Working...