Skip to main content

render_xml

Function render_xml 

Source
pub fn render_xml(
    xml_type: &XmlOutputType,
    content: &str,
    context: &Option<XmlOutputContext>,
) -> String
Expand description

Render XML content based on its type.

Returns formatted string for terminal display. Falls back to raw XML with warning if parsing fails.