libxml2: Simple program to read node values of an XML file using xmlreader
libxml2 is used to work with XML files. There are multiple ways you can read an XML file using libxml2. Here we are exploring one such way. This program makes use of the Xmlreader of libxml2. Let’s first check the program. There are mainly five functions used in this program. Each function takes only one [...]
How to install libxml2 documentation in Ubuntu/Linux?
As of now, there are now man pages for libxml2. So if you want to work with libxml2, you can either check the online documentation or install them in your local machine. In case of debian/ubuntu, you can install the documentation Now let’s install the package libxml2-doc. If you check the contents of package after [...]
Compile libxml program
For XML programming in C, you can make use of certain libraries like libxml. To compile a libxml program, you must be aware of the libraries and their installation. xml2-config comes in bundled with libxml. With xml2-config, you can find out the various values needed to compile the libxml programs. After installing libxml, you must [...]