Summary

As mentioned, this is not even close to a full-fledged tutorial on the XPath language, but I hope it has served you by illustrating the types of queries that are possible with this powerful language. In fact, I've covered just the very tip of what can be done with XPath, as this language supports a host of built-in functions and capabilities. If you're interested in learning more about XPath, I would suggest Erik Westermann's Learn XML in a Weekend (Cincinnati, OH: Premier Press, 2002), which has a great chapter on the XPath language.

Get Extending MFC Applications with the .NET Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.