C/C++的XML解析库

原文地址:http://blog.chinaunix.net/uid-25885064-id-3179829.html

Mini-XML 2.6


官方下载:http://www.minixml.org/software.php 

下载地址:http://sourceforge.net/projects/mxml/files/

中文手册:http://www.minixml.org/strfiles/

====使用方法:========

基本技巧 http://www.minixml.org/documentation.php/basics.html   

进阶技巧  http://www.minixml.org/documentation.php/advanced.html

Mini-XML provides a single header file which you include:

#include <mxml.h>

The Mini-XML library is included with your program using the -lmxml option:

gcc -o myprogram myprogram.c -lmxml

If you have the pkg-config(1) software installed, you can use it to determine the proper compiler and linker options for your installation:

pkg-config --cflags mxml pkg-config --libs mxml


-------------以下是其他几个XML 开源解析库---------------------------------

1.   expat xml parse 

下载地址: http://sourceforge.net/projects/expat/


2.  Apache Xerces for C++ XML Parser

C++写的xml解析器 ,事实上apache还有很多java xml解析器 貌似都是提供源代码的

下载地址:http://xml.apache.org/xerces-c/download.cgi

Xerces-C++ is a validating XML parser written in a portable subset of C++. Xerces-C++ makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents. Xerces-C++ is faithful to the XML 1.0 and 1.1 recommendations and many associated standards. The parser provides high performance, modularity, and scalability. Source code, samples and API documentation are provided with the parser. For portability, care has been taken to make minimal use of templates, no RTTI, and minimal use of #ifdefs.

Programming LanguagesC
Categoriesxml
Mailing Listshttp://xerces.apache.org/mail.html
Bug/Issue Trackerhttps://issues.apache.org/jira/browse/XERCESC
LicenseApache License Version 2.0
Project Websitehttp://xerces.apache.org/xerces-c/
PMCApache Xerce

Releases can be downloaded from http://xml.apache.org/xerces-c/download.cgi


3.    The XML C parser and toolkit of Gnome

     Libxml2 是一个xml c语言版的解析器,本来是为Gnome项目开发的工具,是一个基于MIT License的免费开源软件。它除了支持c语言版以外,还支持c++、PHP、Pascal、Ruby、Tcl等语言的绑定,能在Windows、Linux、Solaris、MacOsX等平台上运行。功能还是相当强大的,相信满足一般用户需求没有任何问题。

官方介绍页面:http://xmlsoft.org/downloads.html

下载地址:ftp://xmlsoft.org/libxml2/libxml2-git-snapshot.tar.gz

使用手册:ftp://xmlsoft.org/libxml2/libxml-docs.tar.gz


另外还有一个库是带xml解析的功能 叫 sfl

XML (Extensible Markup Language) access functions

Filename: sflxml.h 
Package: Standard Function Library (SFL) 
Written: 1998/02/25 iMatix SFL project team sfl@imatix.com 
Revised: 2000/01/16 
Copyright: Copyright (c) 1991-99 iMatix Corporation

官方地址:http://legacy.imatix.com/html/sfl/sfl468.htm#TOC481    

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值