src/registry.c
static char *
extract_text(xmlNode *node)
{
    xmlNode *n;

    for (n = node->children; n; n = n->next) {
        if (n->type == XML_TEXT_NODE)
            return (char *)xmlStrdup(n->content);
    }
    return NULL;
}
/* return a copy of the text content from the first text node of this node */
return a copy of the text content from the first text node of this node
return a copy of the text content from the first text node of this node
static char *
extract_text(xmlNode *node)
{
    xmlNode *n;
    for (n = node->children; n; n = n->next) {
        if (n->type == XML_TEXT_NODE)
            return (char *)xmlStrdup(n->content);
    }
    return NULL;
}
static char * extract_text ( xmlNode * node ) { xmlNode * n ; for ( n = node -> children ; n ; n = n -> next ) { if ( n -> type == XML_TEXT_NODE ) return ( char * ) xmlStrdup ( n -> content ) ; } return NULL ; }
return a copy of the text content from the first text node of this node
return a copy of the text content from the first text node of this node