#[unsafe(no_mangle)]pub unsafe extern "C" fn tx_element_get_text(
doc: *mut TxDocument,
element: TxNodeId,
) -> *const c_charExpand description
Returns the text content of an element’s first child text node.
Returns null if no text child exists.
§Safety
docmust be a valid, non-null pointer to aTxDocument.elementmust identify an element node.