examples/libxml.c
hubbub_error has_children(void *ctx, void *node, bool *result)
{
	xmlNode *n = (xmlNode *) node;

	*result = n->children != NULL;

	return HUBBUB_OK;
}
/**
 * Determine if a node has children
 *
 * \param ctx     Our context
 * \param node    The node to inspect
 * \param result  Location to receive result
 * \return HUBBUB_OK on success, appropriate error otherwise
 */
Determine if a node has children
\param ctx     Our context
\param node    The node to inspect
\param result  Location to receive result
\return HUBBUB_OK on success, appropriate error otherwise
Determine if a node has children \ param ctx Our context \ param node The node to inspect \ param result Location to receive result \ return HUBBUB_OK on success appropriate error otherwise
hubbub_error has_children(void *ctx, void *node, bool *result)
{
	xmlNode *n = (xmlNode *) node;
	*result = n->children != NULL;
	return HUBBUB_OK;
}
hubbub_error has_children ( void * ctx , void * node , bool * result ) { xmlNode * n = ( xmlNode * ) node ; * result = n -> children != NULL ; return HUBBUB_OK ; }
Determine if a node has children
 \param ctx     Our context
 \param node    The node to inspect
 \param result  Location to receive result
 \return HUBBUB_OK on success, appropriate error otherwise
Determine if a node has children \ param ctx Our context \ param node The node to inspect \ param result Location to receive result \ return HUBBUB_OK on success appropriate error otherwise