Skip to content

jajeffries/expat11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README
======
expat11 is a library providing c++11 bindings for James Clark's excellent expat XML parser.

Dependencies
------------
All you need is the expat library which is available from http://expat.sourceforge.net/ If youhave installed this from a package manager or similar make sure you also have the headers installed (usually in the form of a dev package).

Build
-----
make all

Usage
-----

#include "XMLParser.h"

void ParseSomeXML(std::string xml)
{
	XMLParser parser;
	parser.AddStartElementHandler("ElementName", StartElementFunction);
	parser.AddEndElementHandler("ElementName", EndElementFunction);
	parser.AddValueHandler(ValueFunction);
	parser.Parse(xml);

}

About

C++11 bindings for the expat sax parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published