Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > WANTED: C++ class generator for XML input, uses libxml2

Thread Tools

WANTED: C++ class generator for XML input, uses libxml2

Posts: n/a

I am trying to track down an open source code generator that will
create C++ classes when given an XML schema (XSD). I would like the
generated code to use libxml2 to do the XML parsing. I wonder if
anyone here knows of such a generator. I could not find one in the C++
library/tools list produced by Nikki Locke.

The tool needs to be cross-platform. I am using Windoze-XP with Visual
Studio 2005 (please don't laugh). For portability reasons I also try
to compile any new code with GCC (via cygwin).

I have found XSD, which generates code that uses xercesc. This is
close but not close enough.

I have also found XBinder, which does exactly what I am looking for,
but is proprietary. This may have to do if I cannot find an open
source product.

I also also aware of the serialisation tool s11n. Unfortunately this
does not do what I want since there is no code generator (AFAIK).

I have already sent this question to comp.lang.c++.moderated. It was
suggested that this group might yield better results. It certainly
seems to be all things XML


Andrew Marlow
Reply With Quote
Joe Kesselman
Posts: n/a
DFDL? ( I don't know whether
there's a C++ implementation which specifically uses libxml2.

Websearching for "XML data binding" will probably find other tools, but
DFDL seems to be getting more uptake than most.

Joe Kesselman,

{} ASCII Ribbon Campaign | "may'ron DaroQbe'chugh vaj bIrIQbej" --
/\ Stamp out HTML mail! | "Put down the squeezebox & nobody gets hurt."
Reply With Quote
yogesh.deshmukh yogesh.deshmukh is offline
Junior Member
Join Date: Mar 2011
Posts: 1
Hi Andrew,

I'm also looking for same type of code gerrator . Please please let me know if you have got any
tool for the same.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
XML::LibXML::Reader Can't Find Method. libxml2 anyone? Jerry Krinock Perl Misc 1 07-26-2008 12:37 AM
print the content of a element in a xml file using libxml2 parser. sharan XML 0 05-02-2008 09:30 AM
print the content of a element in a xml file using libxml2 parser. sharan XML 0 05-02-2008 09:27 AM
Implementing a given XML DTD in C with libxml2 Ale Vesely XML 0 03-21-2005 12:29 PM
How to parse a remote Internet XML document via 'Libxml2' Francesco Moi C Programming 5 10-05-2004 05:40 PM