NAME
xsde - W3C XML Schema to C++ Compiler for Embedded Systems
SYNOPSIS
xsde command [options] file [file ...]
xsde help [command]
xsde version
DESCRIPTION
xsde
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-hybrid
- Generate the Embedded C++/Hybrid mapping. For each input file in the
form
name.xsd
the following C++ files are generated:name.hxx
(object model header file),name.ixx
(object model inline file, generated only if the--generate-inline
option is specified),name.cxx
(object model source file), andname-fwd.hxx
(object model forward declaration file, generated only if the--generate-forward
option is specified).If the
--generate-parser
option is specified, the Embedded C++/Parser mapping is invoked and thename-pskel.hxx
,name-pskel.ixx
, andname-pskel.cxx
parser skeleton files are generated, as described below. Additionally, the following parser implementation files are generated:name-pimpl.hxx
(parser implementation header file) andname-pimpl.cxx
(parser implementation source file).If the
--generate-serializer
option is specified, the Embedded C++/Serializer mapping is invoked and thename-sskel.hxx
,name-sskel.ixx
, andname-sskel.cxx
serializer skeleton files are generated, as described below. Additionally, the following serializer implementation files are generated:name-simpl.hxx
(serializer implementation header file) andname-simpl.cxx
(serializer implementation source file). cxx-parser
- Generate the Embedded C++/Parser mapping. For each input file in the
form
name.xsd
the following C++ files are generated:name-pskel.hxx
(parser skeleton header file),name-pskel.ixx
(parser skeleton inline file, generated only if the--generate-inline
option is specified), andname-pskel.cxx
(parser skeleton source file). If the--generate-noop-impl
or--generate-print-impl
option 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-driver
option is specified, the additionalname-pdriver.cxx
test driver file is generated. cxx-serializer
- Generate the Embedded C++/Serializer mapping. For each input file
in the form
name.xsd
the following C++ files are generated:name-sskel.hxx
(serializer skeleton header file),name-sskel.ixx
(serializer skeleton inline file, generated only if the--generate-inline
option is specified), andname-sskel.cxx
(serializer skeleton source file). If the--generate-empty-impl
option is specified, the following additional sample implementation files are generated:name-simpl.hxx
(serializer implementation header file) andname-simpl.cxx
(serializer implementation source file). If the--generate-test-driver
option is specified, the additionalname-sdriver.cxx
test driver file is generated. help
- Print usage information and exit. Use
for command-specific help.xsde help command
version
- Print version and exit.
OPTIONS
Command-specific options
, if any, should appear
after the corresponding command
.