Skip to main content

tx_element_delete_attribute

Function tx_element_delete_attribute 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn tx_element_delete_attribute( doc: *mut TxDocument, el: TxNodeId, name: *const c_char, ) -> TxError
Expand description

Deletes an attribute from an element by name.

ยงSafety

  • doc must be a valid, non-null pointer to a TxDocument.
  • name must be a valid, non-null pointer to a null-terminated UTF-8 string.