thanks for the quick answer

the code I use is:

Document tmp = db.createDocument();
RichTextItem rti = tmp.createRichTextItem(“PD4MLBody”);
DxlExporter dxl = session.createDxlExporter();
dxl.setConvertNotesBitmapsToGIF(true); => in this case il useless
dxl.setOutputDOCTYPE(false); => tried with (true) but is the same
String xml = dxl.exportDxl(tmp);

and the string “xml” contains


where the last part has something to do with the Base64 Encode of the Barcode.

I don’t know how to export a DXL in a different way … sorry