#[unsafe(no_mangle)]pub unsafe extern "C" fn tx_document_parse(
doc: *mut TxDocument,
xml: *const c_char,
) -> TxErrorExpand description
Parses an XML string into the document, replacing any existing content.
ยงSafety
docmust be a valid, non-null pointer to aTxDocument.xmlmust be a valid, non-null pointer to a null-terminated UTF-8 C string.