axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
#define ATTR_VALUE_TRIMMED (   node,
  attr 
)    axl_node_get_attribute_value_trimmed(node,attr)

Allows to get the value associated to the attributed provided, inside the node selected, removing trailing and ending white spaces (in the W3C sence: \n, \t, \r, ' ').

This is a macro alias to axl_node_get_attribute_value_trimmed.

Parameters
nodeThe node that is requested to return the associated value to the attributed.
attrThe attribute that is being requested.
Returns
A reference to the attribute value or NULL if it fails.