Skip to main content

split_qname3

Function split_qname3 

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

Split a QName returning the prefix length (upstream tree.c xmlSplitQName3): returns the length of the prefix (before ‘:’), or 0 when there is no prefix. name must not start with ‘:’.

§Safety

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