What is a DXL File in Domino and How does It Work?

Found a .dxl file? Learn what Domino XML Language stores.

Fact-checked Reviewed by Meera Krishnan Updated November 6, 2026 Based on 2 sources
Summary

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?

  1. Create a DxlExporter object with createDxlExporter in the Session class.
  2. Call exportDxl with a Database, Document, DocumentCollection or NoteCollection object.
  3. Store the String that the call returns.

HCL lists exporter properties like DoctypeSYSTEM, OutputDOCTYPE, ForceNoteFormat and ExitOnFirstFatalError.

How do You Import DXL Into Domino?

  1. Create a DXLImporter object with createDXLImporter in the Session class.
  2. Pass a String, Stream or NotesRichTextItem with the DXL.
  3. 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.

  1. Using XML with Domino (HCL Domino Designer) help.hcl-software.com
  2. Exporting and importing DXL (HCL Domino Designer) help.hcl-software.com