Function yrs::yxmltext_next_sibling[][src]

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

Returns a next sibling of a current YXmlText, which can be either another YXmlText or an YXmlElement. Together with yxmlelem_first_child it may be used to iterate over the direct children of an XML node (in order to iterate over the nested XML structure use yxmlelem_tree_walker).

If current YXmlText is the last child, this function returns a null pointer. A returned value should be eventually released using youtput_destroy function.