Skip to main content

xml_element

Function xml_element 

Source
pub fn xml_element(
    name: &str,
    attributes: &[(&str, &str)],
    content: &[String],
) -> String
Expand description

xmlelement: the element with the attributes that have a value, and the content as it is. An element with no content is an empty element tag.