DXL Importer

Can somebody give me some pointers on DXL Import… ie I have used examples from the 6.5 Designer help along with other postings from this board and have successfully been able to Export, Pipeline and modify attributes of a Notes Document. On the Import step I get a failure message. I essentially want to take a document, Export it, Parse and modify it and then import it back into the database.

Code snippet …

Dim dxp As NotesDXLExporter

	Set dxp = session.CreateDXLExporter(doc)





Set par = session.CreateDOMParser(dxp)

On Event PostDOMParse From par Call ProcessDOM





Dim domdoc As NotesDOMDocumentNode

Set domdoc = par.Document



Dim XMPProc As NotesXMLProcessor



Dim dip As NotesDXLImporter



Set dip = session.CreateDXLImporter(par, db)

Call dip.SetOutput(db)

dip.DocumentImportOption= DXLIMPORTOPTION_UPDATE_ELSE_IGNORE

Call dxp.Process

Call doc.save(False,False)

The failure is on the DXP process… all it says is “DXL Importer operation failed”

Subject: Did you have a look at the NotesDXLImporter postings in this forum?

http://www-10.lotus.com/ldd/nd6forum.nsf/Search?SearchView&Query=n%3Ftesdxlimporter&SearchOrder=0&Start=1&Count=100

Subject: DXL Importer

Use the importer’s Log property to find out what the problem is.