#[unsafe(no_mangle)]pub unsafe extern "C" fn tx_new_element(
doc: *mut TxDocument,
name: *const c_char,
) -> TxNodeIdExpand description
Creates a new element node with the given tag name.
ยงSafety
docmust be a valid, non-null pointer to aTxDocument.namemust be a valid, non-null pointer to a null-terminated UTF-8 string.