mirror of
https://github.com/zoriya/xmlParser.git
synced 2025-12-06 02:56:10 +00:00
edee81e3ae97aca57d513b0ce239c79b9d29c969
XmlParser
An xml parser in C.
Dependencies
To compile, you'll need gcc, ar rc and make.
System calls
Open, Close, Read, Stat
Build
Simple clone the repo and use the command make.
Usage
Use xml_parse(path) to parse the whole xml.
Use xml_getnode(xml, node_name) to get the first node with the name you inputed.
Use xml_getproperty(key) to get an attribute of the xml.
Unsuported yet
Attributes with semi quotes (') instead of quotes (")
Comments
String containing multiples following spaces.
String containing \n, \r or \t (theses specials chars are removed)
Languages
C
95.3%
Makefile
4.7%