oa_gateway_uci::xml

Function write_element

Source
fn write_element(
    out: &mut String,
    name: &str,
    node: &Node,
    schema: &Schema,
    type_name: &str,
    is_root: bool,
    depth: usize,
) -> Result<(), UciError>
Expand description

Writes one element. The OAM namespace is on the root; xsi:type is written when Complex::type_name is set.