Skip to main content

xml_out

Function xml_out 

Source
pub fn xml_out(text: &str, out: &mut Vec<u8>) -> Option<TypeError>
Expand description

xml_out_internal for a client in UTF-8: the text with a declaration only if it has a version that is not 1.0 or a standalone part. The encoding is not written. If the declaration does not parse, the text is written as it is and the result is the warning XX001 of PostgreSQL.