pub unsafe fn build_qname(
ncname: *const xmlChar,
prefix: *const xmlChar,
memory: *mut xmlChar,
len: c_int,
) -> *mut xmlCharExpand description
Build a QName prefix:local (upstream tree.c xmlBuildQName):
writes into memory when it is large enough, otherwise allocates.
Returns the resulting string (allocator-owned when not memory), or
NULL on error. A NULL prefix returns ncname unchanged.
§Safety
ncname,prefixmust be valid null-terminated strings or NULL.memorymust be a valid buffer oflenbytes or NULL.