6 * ttxml - tiny XML library for parsing (trusted!) XML documents.
8 * This parses an XML file into a convenient data structure.
11 * #include <ccan/ttxml/ttxml.h>
14 * int main(int argc, char *argv[])
18 * xml = xml_load("./test/test.xml2");
21 * tmp = xml_find(xml, "childnode");
23 * printf("%s: %s\n", xml->name, xml_attr(tmp, "attribute"));
31 * Author: Daniel Burke <dan.p.burke@gmail.com>
33 int main(int argc, char *argv[])
35 /* Expect exactly one argument */
39 if (strcmp(argv[1], "depends") == 0) {