int axl_dtd_get_attr_contraints ( axlDtd dtd,
const char *  nodeName 
)

Allows to get the number of constraints that have been configured for the particular node.

Parameters:
dtd The reference to the DTD document.
nodeName The name of the node that is being asked for its constraints.
Returns:
0 or the number of contraints. The function return -1 if any of the parameter received is null.