axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axlDtdElement * axl_dtd_get_root ( axlDtd dtd)

Allows to get the root node for the provided DTD.

Every DTD have a root node defined, which is the root node accepted for the set of XML document considered to be valid under the definition of the DTD provided.

The value returned is the name of the root node that must have the XML document being validated.

Parameters
dtdThe axlDtd where the root node name will be returned.
Returns
A reference to the internal representation of the root node Value must not be deallocated.

References AXL_LEVEL_CRITICAL, and axl_return_val_if_fail.

Referenced by axl_dtd_validate().