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, ' ').
See ATTR_VALUE_TRIMMED for a convenience macro.
- Parameters:
-
| node | The node that is requested to return the associated value to the attributed. |
| attribute | The attribute that is being requested. |
- Returns:
- A reference to the attribute value or NULL if it fails. The function doesn't return a copy, it returns a reference to the internal value.