pub fn to_writer_xml<W, T>(writer: W, value: &T) -> Result<(), Error> where W: Write, T: Serialize,
Serializes the given data structure to a byte stream as an XML encoded plist.