Simple example to parse XML RSS list from Debian Security Advisories (DSA) using libxml2 in plain C.
Parsed file is dsa.xml downloaded from: https://www.debian.org/security/dsa
Tested under Arch Linux. Install as root:
# required:
pacman -S --needed make gcc libxml2
# recommended:
pacman -S --needed valgrind
To build and run:
make run