KeyView 24.1

# Introduction

The sample programs demonstrate how to use XML Export. The sample code is intended to provide a starting point for your own applications or to be used for reference purposes. You can also test these sample programs with the sample files provided in `install\testdocs`.

The following sample programs are provided:

- tstxtract

- cnv2xml

- cnv2xmloop

- metadata (Windows only)

- xmlini

- xmlcallback (Windows only)

The source code and makefile for each program are in the following directory, where `install` is the path of the Export installation directory, and `program_name` is the name of the sample program:

    install\xmlexport\programs\program_name

Before the sample programs can be compiled, you must replace the parameter `YOUR_KEYVIEW_LICENSE` in the `fpInit()` function call with your license information.

To compile the sample programs, use the makefiles provided in the sample programs' directory. Ensure the XML Export `include` directory is specified in the include path of the project. After the executables are compiled and built, you must place them in the same directory as the XML Export libraries.

NOTE: Compiled binaries are provided for some of the sample programs, in the `PLATFORM/bin` folder. These have an embedded trial license, which expires approximately five months after release. If you set the environment variable `KV_SAMPLE_PROGRAM_LICENSE_FROM_FILEPATH` to a file path, the sample program reads your license from the specified file. This allows you to use the program after the embedded trial license has expired, and to test or troubleshoot with your own license.

Copyright 1997-2023 Open Text
Version 24.1 | Last updated December 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL KeyView 24.1

Topic Title: Introduction