fn write_typed_value<W: Write, V: ToString>( w: &mut XmlEmitter<W>, name_unescaped: &str, value: V ) -> Result<(), ErrorKind>