[xsd-users] xsd examples

Boris Kolpackov boris at codesynthesis.com
Sat May 3 14:53:57 EDT 2008


Hi Dave,

Dave Yost <Dave at Yost.com> writes:

> It would be nice to have an example directory that has the hello
> world example in it and a makefile.

There is such a directory (called examples/) and there are the
"hello world" examples for both C++/Tree and C++/Parser mappings
(see examples/cxx/parser/hello/ and examples/cxx/tree/hello/).
They also include makefiles for building them. Plus there is
the README file accompanying every distribution that explains
what you need and how to build examples.


> ../../../../libxsd/xsd/cxx/parser/xerces/elements.hxx:14:35: error:
> xercesc/sax/Locator.hpp: No such file or directory

The generated code depends on the underlying XML parser which can
be Xerces-C++ for C++/Tree and Xerces-C++ or Expat for C++/Parser.
See the accompanying README file for more information. You can get
the source distribution or precompiled libraries of Xerces-C++ from
the project's download page:

http://xerces.apache.org/xerces-c/download.cgi

Boris




More information about the xsd-users mailing list