Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. ×
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

If money can't buy happiness, I guess you'll just have to rent it.

Working...