xcap_client: removed unused api function get_elem()