Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×
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

The meat is rotten, but the booze is holding out. Computer translation of "The spirit is willing, but the flesh is weak."

Working...