Type Definition libxml::bindings::resolveEntitySAXFunc

source ·
pub type resolveEntitySAXFunc = Option<unsafe extern "C" fn(ctx: *mut c_void, publicId: *const xmlChar, systemId: *const xmlChar) -> xmlParserInputPtr>;
Expand description

resolveEntitySAXFunc: @ctx: the user data (XML parser context) @publicId: The public ID of the entity @systemId: The system ID of the entity

Callback: The entity loader, to control the loading of external entities, the application can either:

  • override this resolveEntity() callback in the SAX block
  • or better use the xmlSetExternalEntityLoader() function to set up it’s own entity resolution routine

Returns the xmlParserInputPtr if inlined or NULL for DOM behaviour.