Skip to main content

split_qname4

Function split_qname4 

Source
pub unsafe fn split_qname4(
    name: *const xmlChar,
    prefix: *mut *mut xmlChar,
) -> *const xmlChar
Expand description

Split a QName at the FIRST ‘:’ (upstream tree.c xmlSplitQName4): prefix receives a duplicated prefix (or NULL) and the local name (a pointer into the original string) is returned.

§SAFETY

  • name must be a valid null-terminated string; prefix a valid out-pointer.