pub fn serialize_sample(
value: &SampleValue,
type_def: &TypeDef,
_type_lib: &[TypeLibrary],
) -> StringExpand description
Serializes a sample value as XML.
Wraps the result in <sample type_ref="…">. Member names
correspond to the keys in value, sequences/arrays use
<item>.