官网:http://xmlsoft.org/downloads.html
Libxml2库提供了C语言解析和构造xml文档的接口,为后台C语言处理程序和前台应用程序提供了一种通用的通迅方式。
https://gitlab.gnome.org/GNOME/libxml2
环境准备: 安装 autoconf sudo apt-get install autoconf
安装 libtool sudo apt-get install libtool
tar -zxvf libxml2-v2.9.12.tar.gzcd libxml2-v2.9.12/./autogen.sh./configure --enable-staticmakemake install
查看结果 ll /usr/local/lib/libxml2.a
Libxml2库的api参考可以从http://www.xmlsoft.org/html/index.html查询。