Home | History | Annotate | Download | only in tutorial

Lines Matching refs:cur

9 parseStory (xmlDocPtr doc, xmlNodePtr cur, char *keyword) {
11 xmlNewTextChild (cur, NULL, "keyword", keyword);
19 xmlNodePtr cur;
28 cur = xmlDocGetRootElement(doc);
30 if (cur == NULL) {
36 if (xmlStrcmp(cur->name, (const xmlChar *) "story")) {
42 cur = cur->xmlChildrenNode;
43 while (cur != NULL) {
44 if ((!xmlStrcmp(cur->name, (const xmlChar *)"storyinfo"))){
45 parseStory (doc, cur, keyword);
48 cur = cur->next;