Function yrs::yxmlelem_get[][src]

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

Returns an XML child node (either a YXmlElement or YXmlText) stored at a given index of a current YXmlElement. Returns null pointer if index was outside of the bound of current XML node children.

Returned value should be eventually released using youtput_destroy.