axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axl_bool axl_item_are_equal_full ( axlItem item,
axlItem item2,
axl_bool  trimmed,
axlError **  error 
)

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

Parameters
itemThe first item to check.
item2The second item to check.
trimmedThis paramenter allows to configure how the equal check is performed for content element (ITEM_CONTENT, ITEM_CDATA, ITEM_COMMENT and ITEM_REF).
errorOptional axlError reference where textual diagnostic is reported.
Returns
axl_true if the both items represents the same information, otherwise axl_false is returned. If the function receives a null value it will return axl_false.

References axl_cmp(), axl_error_report(), axl_false, axl_free(), axl_item_get_type(), axl_node_are_equal_full(), axl_pi_are_equal(), axl_return_val_if_fail, axl_strdup(), axl_stream_trim(), ITEM_CDATA, ITEM_COMMENT, ITEM_CONTENT, ITEM_PI, and ITEM_REF.

Referenced by axl_item_are_equal().