pub fn write_event<W: Write>(event: XmlEvent, writer: &mut EventWriter<W>) -> String {
    match writer.write(event) {
        Ok(val) => format!("{:?}", val),
        Err(err) => format!("{:?}", err),
    }
}
/// Used by the XML Event writer to append events to the response
Used by the XML Event writer to append events to the response
Used by the XML Event writer to append events to the response
pub fn write_event<W: Write>(event: XmlEvent, writer: &mut EventWriter<W>) -> String {
    match writer.write(event) {
        Ok(val) => format!("{:?}", val),
        Err(err) => format!("{:?}", err),
    }
}
pub fn write_event < W : Write > ( event : XmlEvent , writer : & mut EventWriter < W > ) -> String { match writer . write ( event ) { Ok ( val ) => format ! ( " " val ) , Err ( err ) => format ! ( " " err ) , } }
Used by the XML Event writer to append events to the response
Used by the XML Event writer to append events to the response
event
XmlEvent
writer
&mut EventWriter<W>
event
XmlEvent
writer
&mut EventWriter<W>