axlNode * axl_doc_get_root ( axlDoc doc  ) 

Allows to get current root node for the given xml document, represented by the axlDoc instance.

Every XML document has a very first node, which enclose all childs found inside the document, that is called the root node. This xml node,

This function couldn't return NULL because every well opened xml document, always have a root node. However, the function could return a NULL value if the document received is a null reference.

Parameters:
doc The xml document (axlDoc) where the root node will be returned.
Returns:
The root node (axlNode) or NULL if fails.