[Dart] Looking for XML spec on Dart-client-to-server comm
Blezek, Daniel J (GE, Research)
blezek at crd.ge.com
Fri Feb 24 18:31:12 EST 2006
Scott,
Thanks for this tip, might be a much better way of processing Dart XML than our current Digestor methods... I'll take a look.
-dan
-----Original Message-----
From: dart-bounces+blezek=crd.ge.com at public.kitware.com
[mailto:dart-bounces+blezek=crd.ge.com at public.kitware.com]On Behalf Of
Scott W. Oster
Sent: Wednesday, February 22, 2006 10:47 AM
To: Matthew England
Cc: dart at public.kitware.com
Subject: RE: [Dart] Looking for XML spec on Dart-client-to-server comm
Does this mean that one could auto-generate something like a C++
class/interface straight from something like an XSD?
Yes. More than that, the classes can generally be instantiated from an
XML document adhering to the schema, and create XML instance documents
from the instantiated objects. The term generally used for this is "XML
Binding." If you google for that phrase you will find a lot of tools.
Scott
Scott Oster
Senior Research Specialist
Biomedical Informatics Department
Ohio State University
oster at bmi.osu.edu
614-292-8680
> -----Original Message-----
> From: Matt England [mailto:mengland at mengland.net]
> Sent: Wednesday, February 22, 2006 10:32 AM
> To: Scott W. Oster
> Cc: Matthew England; dart at public.kitware.com
> Subject: RE: [Dart] Looking for XML spec on Dart-client-to-server comm
>
> At 2/22/2006 09:21 AM, Scott W. Oster wrote:
> >One thing you can do for now to understand the format is to look at
the
> >freemarker rules in the dart repository. I don't have the link
offhand,
> >but it shows you what tags Dart tries to process.
>
> Excellent, that sounds like a great suggestion, I'll try poking around
the
> Dart server.
>
> > I XML Schema for
> >submission would be great in the long run. I'd much rather see an XSD
> >than a DTD as there are a lot of tools that could be leveraged. For
> >example, one could generate an Object model from the schema to create
> >submissions from an embedded application.
>
> I'm rather XML ignorant about such things as a different between an
XSD
> and
> a DTD, and how exactly this stuff generates an Object model, and what
this
> object model is. Does this mean that one could auto-generate
something
> like a C++ class/interface straight from something like an XSD? If
so,
> that would be *great*. (I may be reflecting how little I work with
our
> Xerces interface in our existing XML parsing code.) Can anyone care
to
> point me where I can learn about such stuff (eg, XSDs and diffs
between
> DTDs, etc), and my project can possibly help with this effort if we
> continue this endeavor? (Some of my staff may already know this, but
I
> personally don't.)
>
> -Matt
_______________________________________________
Dart mailing list
Dart at public.kitware.com
http://public.kitware.com/mailman/listinfo/dart
More information about the Dart
mailing list