NAME
xsd - W3C XML Schema to C++ Compiler
SYNOPSIS
xsd command [options] file [file ...]xsd help [command]xsd version
DESCRIPTION
xsd generates vocabulary-specific, statically-typed
C++ mapping from W3C XML Schema definitions. Particular mapping to
produce is selected by a command. Each mapping has
a number of mapping-specific options that should
appear, if any, after the command. Input files should
be W3C XML Schema definitions. The exact set of the generated files depends
on the selected mapping and options.
COMMANDS
cxx-tree- Generate the C++/Tree mapping. For each input file in the form
name.xsdthe following C++ files are generated:name.hxx(header file),name.ixx(inline file, generated only if the--generate-inlineoption is specified),name.cxx(source file), andname-fwd.hxx(forward declaration file, generated only if the--generate-forwardoption is specified). cxx-parser- Generate the C++/Parser mapping. For each input file in the form
name.xsdthe following C++ files are generated:name-pskel.hxx(parser skeleton header file),name-pskel.ixx(parser skeleton inline file, generated only if the--generate-inlineoption is specified), andname-pskel.cxx(parser skeleton source file). If the--generate-noop-implor--generate-print-imploption is specified, the following additional sample implementation files are generated:name-pimpl.hxx(parser implementation header file) andname-pimpl.cxx(parser implementation source file). If the--generate-test-driveroption is specified, the additionalname-driver.cxxtest driver file is generated. help- Print usage information and exit. Use
for command-specific help.xsd help command version- Print version and exit.
OPTIONS
Command-specific options, if any, should appear
after the corresponding command.