axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axl_bool axl_dtd_are_equal ( axlDtd dtd,
axlDtd dtd2 
)

Allows to check if the provided two references represents DTD documents with the same rules.

Parameters
dtdFirst reference to compare.
dtd2Second reference to compare.
Returns
axl_true if both references represent the same document. If some of the references received are NULL the function returns axl_false.

NOTE: The function does not have the ability to perform a smart equal operation like detecting DTD that are semantically equivalent. It only checks internal structure.

References axl_cmp(), axl_false, axl_list_get_nth(), axl_list_length(), and axl_true.