# Introduction

The sample programs demonstrate how to use the C and Visual Basic implementations of XML Export.

The sample code is intended to provide a starting point for your own applications or to be used for reference purposes.

The source code and makefile for each program are in the directory:

    install\xmlexport\programs\program_name

where `install` is the path name of the Export installation directory, and `program_name` is the name of the sample program.

## C Sample Programs

The C sample programs demonstrate how to use the C implementation of XML Export. The following sample programs are provided:

- tstxtract

- cnv2xml

- cnv2xmloop

- metadata

- xmlindex

- xmlini

- xmlcallback

- xmlonefile

- xmlmulti

You can use the `tstxtract`, `cnv2xml`, `cnv2xmloop`, and `xmlini` sample programs on Windows and UNIX. All other sample programs are for Windows only.

NOTE: The sample programs do not parse white space in file names. If your file names contain spaces, use quotation marks around the entire path name. Inserting quotation marks around the file name only does not work.

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.

## Compile the Visual Basic Sample Program

To compile Export Demo, use the Visual Studio project file (`demo_vb.vbp`) in the directory `install``\xmlexport\programs\ExportDemo`, where `install` is the path name of the Export installation directory.

© Copyright 2006-2020 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