Export Notes attachments to XML

Hi All,

Can anyone give ideas or send the code using Lotus script to export attachment files exiting in Notes documents to XML file.

Thanks in Advance

Kevin

Subject: Export Notes attachments to XML

I’m not sure here what you want todo.

You cannot export an attachment to an XML file as XML only accepts plain text.

If it are images or such maybe a JSUM would work.

Personally, I’d just make the attachment available on a physical drive for whatever platform you want to use it. In the XML file you can simply supply a tag with the location of attachment.

Subject: RE: Export Notes attachments to XML

Yes, I want to make the attachment available on a physical drive and in the XML file I want to simply supply a tag with the location of attachment.

Subject: Export Notes attachments to XML

The file will have to be handled as a Base64-encoded CDATA section if it’s not a plain text file. If you export the document to DXL, the attachments should already be there as Base64-encoded data – you can export a document to a DXL file (using the example code given in the help entry for NotesDXLExporter) to see what you’re going to get.