const char * axl_node_get_name ( axlNode node  ) 

Allows to get current xml node name (represented the xml node by axlNode).

The name of a node is the label that identifies it at the start and close tag. On the following example, the xml node name is considered to be "data".

 <data>...</data>

If it is required to check if the given axlNode have a particular name you can use the macro NODE_CMP_NAME.

Here is an example:

 void check_name (axlNode * node) {
     if (NODE_CMP_NAME (node, "data")) {
         // we got a xml node called "data" 
     }
   // the node doesn't have that name
 }

Parameters:
node The axlNode where the name will be returned.
Returns:
A string reference containing the name. Returned value must not deallocated. If a copy is required use axl_strdup function.