pub unsafe fn get_prop(
node: *mut _xmlNode,
name: *const xmlChar,
) -> *mut xmlCharExpand description
Get an attribute value by name.
§UPSTREAM-PARITY
xmlChar *xmlGetProp(xmlNodePtr node, const xmlChar *name);Returns the attribute value as an xmlChar* (caller must free with xmlFree), or NULL if the attribute doesn’t exist.
§SAFETY
nodemust be a valid pointer to an _xmlNode, or NULL.namemust be a valid null-terminated string.