Skip to content

DXLExportDatabase

Function : XML
DXLExportDatabase - DXL export database

#include <xml.h>
STATUS LNPUBLIC DXLExportDatabase(

    DXLEXPORTHANDLE  hDXLExport,
    XML_WRITE_FUNCTION  pDXLWriteFunc,
    DBHANDLE  hDB,
    void far *pExAction);
Description :

This function allows the ability to export a full Domino Database into XML format.

Parameters : Input : hDXLExport - allocated DXL export Handle, allocated calling the function DXLCreateExporter(..)

pDXLWriteFunc - The routine which is called once for each block of data to be written. This routine is user defined.

hDB - allocated handle to the Domino database that is to be exported

pExAction - user defined parameter passed to the XML_WRITE_FUNCTION. This data can be a means for keeping track of information during the export process. For example a structure can be defined that can keep track of the amount of data exported and information on the exported file if the exported data is to be written to a file.

Output : (routine) - Return status from this call:

NOERROR - Successfully exported this Database into XML format.

ERR_xxx - Other errors returned by this function and includes errors returned by lower level functions. Call OSLoadString to obtain a string to display to the user.

See Also : DBHANDLE DXLEXPORTHANDLE XML_WRITE_FUNCTION