axlDoc* axl_item_get_doc ( axlItem item  ) 

Allows to get the reference to the document that is holding the provided item without taking into consideration the item type.

Parameters:
item The item that is required to return its document.
Returns:
A reference to the axlDoc that is holding the item.