0

Compile libxml program

Posted by Joys of Programming on in C/C++

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 [...]

Tags: , , , , , ,

 
0

libxml: C program to open and close an XML file

Posted by Joys of Programming on in C/C++

To read an xml file, you can make use of the libxml library. The following program introduces the functions to open and close an xml file. We introduce here the following functions: xmlNewTextReaderFilename xmlTextReaderClose We also make use of the following structure xmlTextReaderPtr xmlTextReaderPtr: Let’s start with xmlTextReaderPtr. This is a pointer to the structure [...]

Tags: , , , , ,

 
5

XML programming in Linux

Posted by Joys of Programming on in C/C++

For a detailed tutorial on XML programming, check the libxml tutorial. To start XML programming in Ubuntu, you must have the following packages in your system libxml2 libxml2-dev libxml2-doc libxml2-utils To install these packages, Once you install these packages, you must check the path where the libxml2 header files are present You must make use [...]

Tags: , , , , , ,

Copyright © 2009-2012 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.8.1 theme from BuyNowShop.com.