bool axl_item_are_equal ( axlItem item,
axlItem item2,
bool  trimmed 
)

Allows to check if both items are equal, considering the item type and the content associated to the item type.

Parameters:
item The first item to check.
item2 The second item to check with the first item.
trimmed This paramenter allows to configure how equal checking is performed for content element (ITEM_CONTENT, ITEM_CDATA, ITEM_COMMENT and ITEM_REF).
Returns:
true if the both items represents the same information, otherwise false is returned. If the function receives a null value it will return false.