| Windows NT/2000 |

| Source distribution |

The Xerces-C++ source is available in the source distribution.

Install the Xerces-C++ source distribution by using `unzip` on the xerces-c-src2_1_0.zip archive in the Windows environment. You can use WinZip, or any other UnZip utility.

    unzip xerces-c-src2_1_0.zip

This creates a 'xerces-c-src2_1_0' sub-directory containing the Xerces-C++ source distribution.

If you need to build the Xerces-C++ source after installation, please follow the Build Instructions.

| Binary distribution |

Install the Xerces-C++ binary distribution by using `unzip` on the xerces-c2_1_0-win32.zip archive in the Windows environment. You can use WinZip, or any other UnZip utility.

    unzip xerces-c2_1_0-win32.zip

This creates a 'xerces-c2_1_0-win32' sub-directory containing the Xerces-C++ binary distribution.

You need to add the 'xerces-c2_1_0-win32\bin' directory to your path:

To do this under Windows NT, go to the start menu, click the settings menu and select control panel. When the control panel opens, double click on System and select the 'Environment' tab. Locate the PATH variable under system variables and add <full_path_to_xerces-c2_1_0>\bin to the PATH variable. To do this under Windows 2000 add this line to your AUTOEXEC.BAT file:

    SET PATH=<full_path_to_xerces-c2_1_0>\bin;%PATH%

or run the `SET PATH` command in your shell window.

The binary distribution has the built parser library and some samples executables. Please refer to the Samples for how to run the samples.

| UNIX |

| Source distribution |

The Xerces-C++ source is available in the source distribution.

Install the Xerces-C++ source distribution xerces-c-src2_1_0.tar.gz by extracting the files from the compressed archive.

    gunzip xerces-c-src2_1_0.tar.gz
    tar xerces-c-src2_1_0.tar

This creates a 'xerces-c-src2_1_0' sub-directory containing the Xerces-C++ source distribution.

| On Solaris, please use `gtar` instead of tar. See FAQ for more information.

If you need to build the Xerces-C++ source after installation, please follow the Build Instructions.

| Binary distribution |

Install the binary distribution xerces-c2_1_0-xxx.tar.gz by extracting the files from the compressed archive; where 'xxx' is the corresponding UNIX platform. For example:

    gunzip xerces-c2_1_0-linux.tar.gz
    tar -xvf xerces-c2_1_0-linux.tar

This will create an 'xerces-c2_1_0-linux' sub-directory containing the Xerces-C++ binary distribution.

| On Solaris, please use `gtar` instead of tar. See FAQ for more information.

You will need to add the xerces-c2_1_0-linux/bin directory to your PATH environment variable:

For Bourne Shell, K Shell or Bash, type:

    export PATH="$PATH:$HOME/xerces-c2_1_0-linux/bin"

For C Shell, type:

    setenv PATH "$PATH:$HOME/xerces-c2_1_0-linux/bin"

If you wish to make this setting permanent, you need to change your profile by changing your setup files which can be either .profile or .kshrc.

In addition, you will also need to set the library search path. (LIBPATH on AIX, LD_LIBRARY_PATH on Solaris and Linux, SHLIB_PATH on HP-UX).

For Bourne Shell, K Shell or Bash, type:

    export LIBPATH=$XERCESCROOT/lib:$LIBPATH (on AIX)
    export LD_LIBRARY_PATH=$XERCESCROOT/lib:$LD_LIBRARY_PATH (on Solaris, Linux)
    export SHLIB_PATH=$XERCESCROOT/lib:$SHLIB_PATH (on HP-UX)

For C Shell, type:

    setenv LIBPATH "$XERCESCROOT/lib:$LIBPATH" (on AIX)
    setenv LD_LIBRARY_PATH "$XERCESCROOT/lib:$LD_LIBRARY_PATH" (on Solaris, Linux)
    setenv SHLIB_PATH "$XERCESCROOT/lib:$SHLIB_PATH" (on HP-UX)

The binary distribution has the built parser library and some samples executables. Please refer to the Samples for how to run the samples.

Copyright © 2001 The Apache Software Foundation. All Rights Reserved.