[][src]Function spatialite_sys::gaiaXmlGetInternalSchemaURI

pub unsafe extern "C" fn gaiaXmlGetInternalSchemaURI(
    p_cache: *const c_void,
    xml: *const c_uchar,
    xml_len: c_int
) -> *mut c_char

Return the Internal SchemaURI from a valid XmlDocument

\param p_cache a memory pointer returned by spatialite_alloc_connection() \param xml pointer to the XML document \param xml_len lenght of the XML document (in bytes).

\return the SchemaURI eventually defined within a valid XMLDocument; NULL if the XMLDocument is invalid, or if it doesn't contain any SchemaURI.

\sa gaiaXmlBlobGetSchemaURI

\note the returned SchemaURI corresponds to dynamically allocated memory: so you are responsible to free() it before or after.