xsd2cc - a Xml Schema code generator, which converting a .xsd file to C++ classes.
libxml2 is required. Also see http://xmlsoft.org.
This library is already quite usable and tested on Linux, AIX, HP-UX and Mac OSX.
git clone https://github.com/xsd2cc/xsd2cc.git
cd xsd2cc
sudo make install
Note: outputs are xsd2cc and libxsd2cc.a
make test
GuiQuan "guiquanz" Zhang (张桂权) guiqzhang@gmail.com
Part of this code is from wsdl2cpp but heavily refactored.
Copyright (C) 2013-2014 GuiQuan Zhang
Copyright (C) 2008-2009 Anders Hedstrom
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.