XML FOR DOMINO


Exporting and importing DXL
The DxlExporter class converts Domino data to DXL. Use the createDxlExporter method in Session to create a DxlExporter object. Use the exportDxl method to perform the export. Input to exportDxl can be a Database, Document, DocumentCollection, or NoteCollection object. Output is a String object.

The DxlExporter class has the following properties:
PropertyData typeDescription
getConvertNotesBitmapsToGIF and setConvertNotesBitmapsToGIFbooleantrue to convert Domino bit maps to GIF format
getDoctypeSYSTEM and setDoctypeSYSTEMStringvalue of SYSTEM in the !DOCTYPE statement
getExitOnFirstFatalError and setExitOnFirstFatalErrorbooleantrue to exit on first fatal error
getForceNoteFormat and setForceNoteFormatbooleanfalse to export formatted DXL
getLogStringXML representation of warnings, errors, and fatal errors generated by the processor
getLogComment and setLogCommentStringcomment added to the top of the log
getOutputDOCTYPE and setOutputDOCTYPEbooleanfalse to suppress the !DOCTYPE statement
The DXLImporter class converts DXL to Domino data. Use the createDXLImporter method in Session to create a DxlImporter object. Input to DxlImporter can be a String, Stream, or NotesRichTextItem object. Output is to a Database object.

The import operation constructs a list of note IDs for the newly imported notes. You can access these note IDs using the getFirstImportedNoteId and getNextImportedNoteId methods.

The DxlImporter class has the following properties:
PropertyData typeDescription
getACLImportOption and setACLImportOptioninthandling of incoming ACL entries
getCreateFTIndex and setCreateFTIndexbooleanwhether the target database is full-text indexed
getDesignImportOption and setDesignImportOptioninthandling of incoming design elements
getDocumentImportOption and setDocumentImportOptioninthandling of incoming documents
getExitOnFirstFatalError and setExitOnFirstFatalErrorbooleantrue to exit on first fatal error
getImportedNoteCountintnumber of notes imported
getInputValidationOption and setInputValidationOptionintwhether a DTD specified in the XML declaration statement should be used to validate the input XML
getLogStringXML representation of warnings, errors, and fatal errors generated by the processor
getLogComment and setLogCommentStringcomment added to the top of the log
getReplaceDbProperties and setReplaceDbPropertiesbooleantrue replaces the database properties from the DXL
getReplicaRequiredForReplaceOrUpdate and setReplicaRequiredForReplaceOrUpdatebooleantrue requires that the replica ID of the DXL and the target database match
getUnknownTokenLogOption and setUnknownTokenLogOptionIntegererror logging options