Source Code File 03-01_xmltest

03-01_xmltest.c

#include <stdio.h>
#include <libxml/xmlversion.h>

int main()
{
    printf("libxml2 version %d\n",LIBXML_VERSION);

    return(0);
}

Output

libxml2 version 20904

Notes

* The version number you see may be different, depending on the version of the library installed and counting for future updates.