xsd
« Back to VersTracker
Description:
XML Data Binding for C++
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: xml c++ code-generation xsd data-binding
Install: brew install xsd
About:
Xsd is an open-source, cross-platform command-line tool that generates C++ classes from XML Schema definitions (XSD). It maps XML Schema types and elements to native C++ types, providing type-safe data binding. This allows developers to work with XML data using standard C++ constructs instead of manually parsing DOM trees.
Key Features:
  • Generates C++ classes from XML Schema (XSD) files
  • Supports multiple C++ compilers (GCC, Clang, MSVC)
  • Provides XML parsing and serialization capabilities
  • Customizable code generation with various mapping options
Use Cases:
  • Integrating XML-based APIs or data feeds into C++ applications
  • Converting complex XML configuration files into type-safe C++ objects
  • Building data models for XML document processing
Alternatives:
  • libxml2 – Lower-level XML parsing library requiring manual DOM traversal and type conversion
  • CodeSynthesis XSD/E – Commercial variant with additional features like XML Schema editing and validation
Version History
Detected Version Rev Change Commit