Lines Matching refs:cur
9 parseStory (xmlDocPtr doc, xmlNodePtr cur) {
12 cur = cur->xmlChildrenNode;
13 while (cur != NULL) {
14 if ((!xmlStrcmp(cur->name, (const xmlChar *)"keyword"))) {
15 key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1);
19 cur = cur->next;
28 xmlNodePtr cur;
37 cur = xmlDocGetRootElement(doc);
39 if (cur == NULL) {
45 if (xmlStrcmp(cur->name, (const xmlChar *) "story")) {
51 cur = cur->xmlChildrenNode;
52 while (cur != NULL) {
53 if ((!xmlStrcmp(cur->name, (const xmlChar *)"storyinfo"))){
54 parseStory (doc, cur);
57 cur = cur->next;