XPath and libxml2

Album Cover: Into the Wild

"I knew all the rules, but the rules did not know me...guaranteed."
Eddie Vedder / Guaranteed

Posted on June 01, 2004 10:46 AM in XML
Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

I've been tinkering around with libxml2 a bit, as I'm interested in using the popular XML toolkit to evaluate XML documents using XPath.

One of the things I noticed almost immediately when searching for resources online is that there really isn't a lot of evidence of people using the libxml2 library for XPath-related operations. A Google search for libxml2 and xpath only returns about 16,000 results (which relatively speaking, doesn't feel like a lot). Most of those results are Python-related. Omitting any results from the Google search that contain the word "python" cuts the original result list in half.

I'm guessing, based on these findings, that most people who are using XPath and libxml2 are doing it indirectly through programming languages like Python, Perl, and once version 5 reaches widespread use, PHP. I'm sure there are quite a few people out there using the actual libxml2 library in their c/c++ applications, but it's just a shame there isn't much proof. Once I get my feet wet, I'll be sure to share my experiences here so that anyone searching for information in the future will find something at least somewhat useful.


custom essay writing service on September 17, 2017 at 11:31 PM:

I like to read all the news which you are sharing in this blog. Always give us such a good quality post. Thank you for this post. It was an amazing article. I really enjoyed your post. Always keep sharing such amazing posts. You have prepared this article including all the necessary contents.


Post Comments

If you feel like commenting on the above item, use the form below. Your email address will be used for personal contact reasons only, and will not be shown on this website.


Email Address:



Check this box if you hate spam.