DXL is Domino XML Language. It is the XML form of Domino data defined by the Domino Document Type Definition. DXL describes Domino data and design elements like views, forms and documents. DxlExporter converts Domino data to DXL and DXLImporter converts DXL back to a database. Both classes belong to the HCL Domino Designer programming interface.
Developers and admins meet .dxl files when they move Notes data to other systems. DXL gives Domino data a standard XML shape.
Facts follow HCL Domino Designer documentation on using XML with Domino and exporting and importing DXL. Class names refer to the Java interface.
What is a DXL File?
HCL describes DXL as the XML representation of Domino data. It moves Domino data in and out of applications in a standard format. DXL stores the structure of the data apart from its presentation.
DXL describes Domino specific data and design elements. Embedded views, forms and documents are examples.
What is the Domino DTD?
Domino Document Type Definition defines the structure of DXL and the tags it uses. This DTD validates XML when external data enters a Domino database. It also guides your reading of XML from a database export.
How do You Export Domino Data to DXL?
- Create a
DxlExporterobject withcreateDxlExporterin the Session class. - Call
exportDxlwith a Database, Document, DocumentCollection or NoteCollection object. - Store the String that the call returns.
HCL lists exporter properties like DoctypeSYSTEM, OutputDOCTYPE, ForceNoteFormat and ExitOnFirstFatalError.
How do You Import DXL Into Domino?
- Create a
DXLImporterobject withcreateDXLImporterin the Session class. - Pass a String, Stream or NotesRichTextItem with the DXL.
- Receive the Database that the importer fills.
Importing builds a list of note IDs for new notes. Use getFirstImportedNoteId and getNextImportedNoteId to walk that list.
Importer properties include DesignImportOption, DocumentImportOption, ACLImportOption and CreateFTIndex. Test imports on a copy of the database first.
Related reading: FoxPro files and the ICS file format.
Frequently Asked Questions
What is DXL?
It is the XML representation of Domino data.
What does the Domino DTD do?
It defines the structure and tags of DXL and validates imported XML.
Which Class Exports DXL?
Class DxlExporter converts Domino data to DXL.
Which Class Imports DXL?
Class DXLImporter converts DXL into Domino data.
What does DXL Represent?
Domino data and design elements like views, forms and documents.
Key Takeaways
- DXL is the XML form of Domino data.
- Domino DTD defines its structure.
- DxlExporter creates DXL from Domino data.
- DXLImporter fills a database from DXL.
- Test imports on a copy first.
Sources and References
Facts follow HCL documentation.
- Using XML with Domino (HCL Domino Designer) help.hcl-software.com
- Exporting and importing DXL (HCL Domino Designer) help.hcl-software.com