Skip to main content

tx_document_parse

Function tx_document_parse 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn tx_document_parse( doc: *mut TxDocument, xml: *const c_char, ) -> TxError
Expand description

Parses an XML string into the document, replacing any existing content.

ยงSafety

  • doc must be a valid, non-null pointer to a TxDocument.
  • xml must be a valid, non-null pointer to a null-terminated UTF-8 C string.