Function yrs::yxmlelem_string[][src]

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

Converts current YXmlElement together with its children and attributes into a flat string representation (no padding) eg. <UNDEFINED><title key="value">sample text</title></UNDEFINED>.

Returned value is a null-terminated UTF-8 string, which must be released using ystring_destroy function.