Rolf Kremer

Archive for September 5th, 2007

Using of DXL

leave a comment »

The last days I worked with DXL in IBM Lotus Notes/Domino. With the NotesDXLExporter class it is easy to export a complete database, document collection or a document into a xml file. In the Lotus Sandbox I found an interesting demo database which shows the usage of the NotesDXL* classes. Unfortunately, if you want to export a subset of a Notes document it is difficult. I tried to export the selected documents from a view, but only some fields of a document. But, everytime the NotesDXLExporter exports the full Notes document. If you try to export several Notes documents in one xml file, the NotesDXLExporter class generates the <xml version.. line before each Notes document. You can not delete the line, you have to read the file as NotesStream, search for the line, remove it and then re-write the whole text without the line again. With some little properties more, the NotesDXLExporter class will be very useful.

Written by rkremer

September 5, 2007 at 8:16 pm

Posted in Lotus Notes