axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axl_bool axl_doc_has_pi_target ( axlDoc doc,
char *  pi_target 
)

Allows to check if the provided Processing instruction target is defined on the given xml document (axlDoc).

Processing instruction are a way to configure the xml document with processing information to instruct the application level that is going to consume the XML information.

Parameters
docThe document where the processing instruction will be read.
pi_targetThe process instruction name.
Returns
axl_true is the processing instruction is defined, otherwise axl_false is returned.

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