Function yrs::yxmlelem_insert_text[][src]

#[no_mangle]
pub unsafe extern "C" fn yxmlelem_insert_text(
    xml: *const XmlElement,
    txn: *mut Transaction,
    index: c_int
) -> *mut XmlText
Expand description

Inserts an YXmlText as a child of a current node at the given index and returns its pointer.

An index value must be between 0 and (inclusive) length of a current XML element (use yxmlelem_child_len function to determine its length).