# KVXMLInterface

The members of this structure are pointers to the API functions described in XML Export API Functions.

NOTE: This structure has been superseded by KVXMLInterfaceEx; `KVXMLInterfaceEx` should be used instead of `KVXMLInterface`.

    typedef void* (pascal *KVXML_INIT) (
        KVMemoryStream      *pMemAllocator,
        char                *pszKeyViewDir,
        char                *pszDataFile,
        KVErrorCode         *pError,
        DWORD                dWord);
    typedef void (pascal *KVXML_SHUTDOWN)(void*);
    typedef BOOL (pascal *KVXML_CONVERT_STREAM) (
        void *pContext,
        void                *pCallingContext,
        KVInputStream       *pInput,
        KVOutputStream      *pOutput,
        KVXMLTemplate       *pTemplates,
        KVXMLOptions        *pOptions,
        KVXMLTOCOptions     *pTOCCreateOptions,
        KVXMLCallbacks      *pCallbacks,
        BOOL                bIndex,
        KVErrorCode         *pError);
    typedef char** (pascal *KVXML_GET_FILE_LIST)(
        void                *pContext,
        int                 *pnSize );
    typedef BOOL (pascal *KVXML_GET_STREAM_INFO)(
        void                *pContext,
        KVInputStream       *pInput,
        KVStreamInfo        *pStreamInfo );
    typedef BOOL (pascal *KVXML_GET_ANCHOR) (
        void                *pCallingContext,
        KVXMLAnchorType     eAnchorType,
        char                *pszAnchor,
        int                 cbAnchorMax,
        BYTE                *pcHTML,
        UINT                cbHTML);
    typedef BOOL (pascal *KVXML_INPUTSTREAM_CREATE) (
        void                *pContext,
        char                *pszFileName,
        KVInputStream       *pInput);
    typedef BOOL (pascal *KVXML_INPUTSTREAM_FREE) (
        void                *pContext,
        KVInputStream       *pInput);
    typedef BOOL (pascal *KVXML_OUTPUTSTREAM_CREATE) (
        void                *pContext,
        char                *pszFileName,
        KVOutputStream      *pOutput );
    typedef BOOL (pascal *KVXML_OUTPUTSTREAM_FREE)(
        void                *pContext,
        KVOutputStream      *pOutput );
    typedef KVLanguageID (pascal *KVXML_LANGUAGE_ID)(void *pContext);
    typedef BOOL (pascal *KVXML_GET_SUMMARY_INFO)(
        void                *pContext,
        KVInputStream       *pInput,
        KVSummaryInfoEx     *pSummary,
        BOOL                bFree );
    typedef BOOL (pascal *KVXML_SET_STYLE_MAPPING) (
        void                *pContext,
        KVStyle             *pStyles,
        int                 iStyles,
        BOOL                bCopy);
    typedef BOOL (pascal *KVXML_VALIDATE_TEMPLATE)(
        void *pContext,
        KVOutputStream       *pOutput,
        KVXMLTemplate        *pTemplate,
        KVXMLOptions         *pOptions,
        KVXMLTOCOptions      *pTOCOptions,
        KVXMLCallbacks       *pCallBalls,
        KVMemoryStream       *pMemStream)
    typedef struct tag_KVXMLInterface
    {
        KVXML_INIT                    fpInit;
        KVXML_SHUTDOWN                fpShutDown;
        KVXML_CONVERT_STREAM          fpConvertStream;
        KVXML_GET_FILE_LIST           fpGetConvertFileList;
        KVXML_GET_STREAM_INFO         fpGetStreamInfo;
        KVXML_GET_ANCHOR              fpGetAnchor;
        KVXML_INPUTSTREAM_CREATE      fpFileToInputStreamCreate;
        KVXML_INPUTSTREAM_FREE        fpFileToInputStreamFree;
        KVXML_OUTPUTSTREAM_CREATE     fpFileToOutputStreamCreate;
        KVXML_OUTPUTSTREAM_FREE       fpFileToOutputStreamFree;
        KVXML_GET_SUMMARY_INFO        fpGetSummaryInfo;
        KVXML_SET_STYLE_MAPPING       fpSetStyleMapping;
        KVXML_VALIDATE_TEMPLATE       fpValidateTemplate;
    }
    		KVXMLInterface;

## Member Descriptions

The members of this structure are function pointers to the functions described in XML Export API Functions.

`KVXML_VALIDATE_TEMPLATE` is currently not implemented.

© Copyright 2006-2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm