Skip to main content

encode_value

Function encode_value 

Source
pub fn encode_value(
    emitter: &mut XmlEmitter,
    tag: &str,
    value: &DynamicData,
    ty: &DynamicType,
) -> Result<(), DynXmlError>
Expand description

Encodes value (of type ty) as the XML element tag, appended to emitter.

ยงErrors

See DynXmlError.