input:b0010v001Fp0001e0100-e0,12,kramls1,2,fw � 355ÃÂÁ c
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
9 ˆl–Ãa¾”jhŠ�nàCp)‹FÿÀ ‚¿a–ß=¿JJj"Tâ‚fã-\TÅ£Ã Ï #!/usr/bin/bash # Include the prefixdevname tools only if this was explicitely requested check() { return 255 } install() { inst /usr/lib/udev/prefixdevname inst_rules 71-prefixdevname.rules } # ˆl–Ðz¾”Ja,j�nà_¸!)‹Fÿ ƒpO3Á¿Ä ‹Retrieving the content of an element involves traversing the document tree until you find what you are looking for. In this case, we are looking for an element called "keyword" contained within element called "story". The process to find the node we are interested in involves tediously walking the tree. We assume you already have an xmlDocPtr called doc and an xmlNodPtr called cur.
cur = cur->xmlChildrenNode;
while (cur != NULL) { if ((!xmlStrcmp(cur->name, (const xmlChar *)"storyinfo"))){ parseStory (doc, cur); } cur = cur->next; }
| Get the first child node of cur. At this point, cur points at the document root, which is the element "story". |
| This loop iterates through the elements that are children of "story", looking for one called "storyinfo". That is the element that will contain the "keywords" we are looking for. It uses the libxml string comparison function, xmlStrcmp. If there is a match, it calls the function parseStory. |
void
parseStory (xmlDocPtr doc, xmlNodePtr cur) {
xmlChar *key;
