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