axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axlDtd * axl_dtd_parse ( const char *  entity,
int  entity_size,
axlError **  error 

Allows to parse the provided entity, which is expected to contain a DTD (Document Type Definition).

entityThe document type definition to parse.
entity_sizeThe document size, or -1 to make the function to figure out current size.
errorAn optional axlError where errors will be reported.
A newly allocated axlDtd that must be deallocated when no longer need with axl_dtd_free. The function could return NULL on failure detected. On that case, it is requred to check axlError variable, if defined.