src/chxj_tag_util.c
/**
 * The value of the VALUE attribute that the object tag node maintains is
 * acquired.
 *
 * @param doc  [i] The pointer to the Doc structure to be scanned is
 *                 specified.
 * @param node [i] The tag node to be scanned is specified.
 * @param pool [i] To use POOL.
 * @return The value of the VALUE attribute that the object tag node maintains
 *         is returned. NULL is returned when not found.
 */
The value of the VALUE attribute that the object tag node maintains is
acquired.

@param doc  [i] The pointer to the Doc structure to be scanned is
specified.
@param node [i] The tag node to be scanned is specified.
@param pool [i] To use POOL.
@return The value of the VALUE attribute that the object tag node maintains
is returned. NULL is returned when not found.
The value of the VALUE attribute that the object tag node maintains is acquired . @param doc [ i ] The pointer to the Doc structure to be scanned is specified . @param node [ i ] The tag node to be scanned is specified . @param pool [ i ] To use POOL . @return The value of the VALUE attribute that the object tag node maintains is returned . NULL is returned when not found .
char *
qs_get_value_attr(Doc *doc, Node *node, apr_pool_t *pool)
{
  Attr *attr;
  for (attr = qs_get_attr(doc,node);
       attr;
       attr = qs_get_next_attr(doc,attr)) {
    char *name  = qs_get_attr_name(doc,attr);
    char *value = qs_get_attr_value(doc,attr);
    if (STRCASEEQ('v','V',"value",name)) {
      return apr_pstrdup(pool, value);
    }
  }
  return NULL;
}
char * qs_get_value_attr ( Doc * doc , Node * node , apr_pool_t * pool ) { Attr * attr ; for ( attr = qs_get_attr ( doc , node ) ; attr ; attr = qs_get_next_attr ( doc , attr ) ) { char * name = qs_get_attr_name ( doc , attr ) ; char * value = qs_get_attr_value ( doc , attr ) ; if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { return apr_pstrdup ( pool , value ) ; } } return NULL ; }
The value of the VALUE attribute that the object tag node maintains is
 acquired.
The value of the VALUE attribute that the object tag node maintains is acquired .
/*--------------------------------------------------------------------------*/ /* The object tag node is scanned.                                          */ /*--------------------------------------------------------------------------*/ /*----------------------------------------------------------------------*/ /* The VALUE attribute was found.                                       */ /*----------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/ /* not found                                                                */ /*--------------------------------------------------------------------------*/