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