Skip to main content

split_qname3

Function split_qname3 

Source
pub unsafe fn split_qname3(
    name: *const xmlChar,
    len: *mut c_int,
) -> *mut xmlChar
Expand description

Split a QName returning the local-name pointer (upstream tree.c xmlSplitQName3): returns a pointer to the local part after the ‘:’ and fills *len with the prefix length, or NULL when the name has no prefix (or NULL arguments). R-000176: the candidate previously returned the prefix length as an int.

§Safety

  • name must be a valid null-terminated string or NULL.