File Content Extraction 26.2
XML Export SDK Java Programming Guide

# Introduction

The Java sample programs demonstrate how to use the Java implementation of 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 source code for the programs is in the directory `javaapi/sample`. Included alongside the source code are compiled `.class` files, and Batch (`.bat`) and C Shell (`.csh`) files that help run each program.

Before the sample code can be compiled, you must replace the placeholder `YOUR_KEYVIEW_LICENSE`, in the `XmlExport` constructor, with your license information.

The compiled `.class` files that are supplied in the SDK have an embedded trial license, which expires a few months after the release. If you set the environment variable `KV_SAMPLE_PROGRAM_LICENSE_FROM_FILEPATH` to a file path, the sample programs read your license from the specified file. This allows you to use the programs after the embedded trial license has expired, and to test or troubleshoot with your own license.

Copyright 1997-2026 Open Text
Version 26.2 | Last updated April 2026

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: File Content Extraction 26.2

Topic Title: Introduction