XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XML Schema: "Best used with the ______ tool"

Hi Mike,

On Fri, Dec 5, 2008 at 3:03 PM, Michael Kay <mike@saxonica.com> wrote:
> And I'm talking about writing applications that use XML end-to-end; to do
> that, I need to see a description of the application in terms of its user
> input and user output. Of course converting the results to Java or C will
> add cost and overhead, which is why I advise against doing it.

I don't disagree with your thoughts on the value of end-to-end XML applications.

But I think, XML data binding frameworks are useful sometimes.

Please consider following example.

Say I have an object oriented application, where objects represent
concepts like bank, customers, accounts, transactions etc [1].

I get some XML data from somewhere, which contains information about
these entities [1]. I now need to populate my objects with this XML
data.

How do I do this?

One option is, that I can parse XML using DOM or SAX and fill the
objects with data by hand.
But this could be difficult if XML is complex.

I think data binding is a good technique for this scenario.


-- 
Regards,
Mukul Gandhi


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS