mirror of
https://github.com/zoriya/xmlParser.git
synced 2025-12-06 02:56:10 +00:00
b90e966356aff9e4cdd6c633e71a3a9c551ebad8
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%