pub unsafe extern "C" fn fz_write_xml(
ctx: *mut fz_context,
root: *mut fz_xml,
out: *mut fz_output,
indented: c_int,
)Expand description
Write our xml structure out to an xml stream.
Properly formatted XML is only allowed to have a single top-level node
under which everything must sit. Our structures allow for multiple
top level nodes. If required, we will output an extra ‘ROOT’ node
at the top so that the xml is well-formed.
If ‘indented’ is non-zero then additional whitespace will be added to
make the XML easier to read in a text editor. It will NOT be properly
compliant.