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:
doc The document where the processing instruction will be read.
pi_target The process instruction name.
Returns:
true is the processing instruction is defined, otherwise false is returned.