libmxml

C library for reading, writing, and manipulating XML files.

brewmacoslinux
Try with needOr install directly
Source

About

Mini-XML library

Examples

parse and validate XML file from command line$ mxml-config --version
check if XML library is properly installed$ pkg-config --modversion mxml
find XML library installation path$ pkg-config --cflags --libs mxml
use libmxml in C program to read XML$ gcc -o myapp myapp.c $(pkg-config --cflags --libs mxml)
get XML library version information$ mxml-config --version && mxml-config --cflags