CodeSynthesis XSD Download

The XSD compiler is a relatively complex piece of software with several dependencies. We therefore recommend that you use the provided binary distribution packages if possible. They contain the XSD compiler binaries for various platforms as well as the source code for the runtime library and examples. The XSD runtime is a header-only library and does not require compilation. Note also that all the major Linux distributions (Debian, Ubuntu, Fedora, RHEL) as well as add-on package managers (for example, Homebrew) have XSD packaged and available from their official repositories, though it may not be the most recent version (on some, the package and/or the XSD compiler binary is called xsdcxx instead of xsd).

The XSD runtime library and generated code depend on existing libraries for XML parsing. The C++/Tree mapping can be used with Xerces-C++ as the underlying XML parser and the C++/Parser mapping supports Xerces-C++ and Expat. Most Linux distributions provide binary packages for Xerces-C++ and Expat in their official repositories while on other platforms add-on package managers (Homebrew, vcpkg) can usually be used to obtain both. We also provide binary packages for Xerces-C++ for some platforms. See the binary package README files linked below for the recommended way to obtain the underlying XML parser on each platform.

Binary Packages

OS CPU Arch Current Version Checksum Notes
Debian 12 x86_64 deb packages sha256 README
Debian 11 x86_64 deb packages sha256
Ubuntu 22.04 x86_64 deb packages sha256
Fedora 38 x86_64 rpm packages sha256 README
Fedora 37 x86_64 rpm packages sha256
RHEL 9.2 x86_64 rpm packages sha256
Linux glibc 2.31 x86_64 archive packages sha256 README
Mac OS 13 aarch64 archive packages sha256 README
x86_64 archive packages sha256
Windows 10 x86_64 archive packages sha256 README

Source Packages

The table below lists all the source packages that constitute XSD as well as their dependencies. For step-by-step instructions on building XSD from source see Installing XSD with build2.

Description Current Version Checksum Notes
XSD compiler xsd-4.2.0.tar.gz sha256
XSD runtime library libxsd-4.2.0.tar.gz
XSD examples xsd-examples-4.2.0.tar.gz README
XSD tests xsd-tests-4.2.0.tar.gz
XSD runtime library tests libxsd-tests-4.2.0.tar.gz
XSD dependencies archive packages

Other Versions

XSD 4.0.0 Download page is preserved to provide a transition period. For earlier versions see the XSD download directory. The development version is available from the XSD repository.