File Content Extraction 26.1
XML Export SDK C Programming Guide

# Convert Files

File Content Extraction Export SDK enables you to convert many different types of documents to XML. Converting is the process of extracting the text from a document without the application-specific markup, and applying XML markup. The conversion process can also include the following:

- Extracting subfiles to expose all subfiles for conversion. See Subfile Extraction.

- Setting conversion options to determine the content, structure, and appearance of the XML output. See Set Conversion Options.

- File format detection. See Obtain File Format Information.

- Extracting metadata (document properties) from a file. See Extract Metadata.

- Character set detection and conversion. See Convert Character Sets.

- Implementing callbacks to control the conversion while it is in progress. See XML Export API Callback Functions.

You can use one of the following methods to convert documents:

- Use the C-language implementation of the API from your C or C++ application. See Use the C-Language Implementation of the API.

- Use the C sample programs. See Sample Programs.

  NOTE: OpenText strongly recommends that you convert documents out-of-process. During out-of-process conversion, Export runs independently from the calling application. Out-of-process conversions protects the stability of the calling application in the rare case when a malformed document causes Export to fail. Convert Files Out-of-Process.

Copyright 1997-2025 Open Text
Version 26.1 | Last updated January 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.1

Topic Title: Convert Files