Hi. I try to extract a GIF image from a document (to be mailed). Here's an excerpt of the code: Set export = session.CreateDXLExporter Call export.SetInput(docAttachment) Set rtitem = docTemp.CreateRichTextItem("rtitem") Call export.SetOutput(rtitem) Call export.Process att$ = rtitem.GetUnformattedText() The attachment should be found between <filedata> and </filedata> tags. However NotesDXLExporter returns "...</datetime></modified><filedata > R0lGODlhqgAyAPcAAGdqcmVqcWhrc..." I do not understand why should there be those extra line feeds after 'filedata'. Can anyone shed some light on this matter?