axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axlDtdElement * axl_dtd_get_element ( axlDtd dtd,
const char *  name 
)

Allows to get the DTD element (axlDtdElement), inside the provided DTD (axlDtd), that represent the spefication for the node called by the provided name.

Parameters
dtdThe DTD (axlDtd) where the lookup will be performed.
nameThe element name to lookup.
Returns
A reference to the axlDtdElement searched or NULL if fails. The function also returns NULL if values received are NULL.

References axl_list_lookup(), and axl_return_val_if_fail.

Referenced by axl_dtd_validate().