Re: [xml] Re: Schema to C++ classes



Nathan Myers <ncm-xml cantrip org> wrote:
Pardon me, but that way lies madness.  

But it might be a nice way to learn about xslt or something ;-) and then
you could have automatic pretty pictures of your schema genned by dia.

Nathan Myers <ncm-xml cantrip org> wrote:
... what Joel was suggesting was that you might adapt the dia2code
codebase... 

That is what I intended.  For me, the existence of prior art makes the
job orders of magnitude easier.

Joel
--------
From: Nathan Myers <ncm-xml cantrip org>
Date: 29 Aug 2002 12:49:43 -0400
  To: xml gnome org
Subj: [xml] Re: Schema to C++ classes

Elizabeth Barham <soggytrousers yahoo com> wrote:
... I was looking at the schema
support in libxml2 briefly to see how it's implemented to find out if
I could just grab some kind of 'internal schema representation' and
build a classes and/or classes from it and was wondering if there are
any GPL projects that are already doing this before I began to dig too
deeply.

Oh I see what you mean: convert an XMLSchema to a dia diagram XML file
and hand it off to dia2code. ...

Pardon me, but that way lies madness.  

I hope that what Joel was suggesting was that you might adapt 
the dia2code codebase to operate directly on your XMLSchema text.

Nathan Myers


_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]