[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] XML Schema: "Best used with the ______ tool"
- From: "Mukul Gandhi" <gandhi.mukul@gmail.com>
- To: "Michael Kay" <mike@saxonica.com>
- Date: Fri, 5 Dec 2008 18:56:22 +0530
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]