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] Re: Native XML Interfaces

On Wed, Jun 5, 2013 at 10:28 PM, Peter Flynn <peter@silmaril.ie> wrote:
> On 06/03/2013 12:30 PM, Timothy W. Cook wrote:
>> On Mon, Jun 3, 2013 at 8:12 AM, Andrew Welch <andrew.j.welch@gmail.com> wrote:
>>>> But Andrew, maybe I include myself in that category of not being aware
>>>> of the APIs that are available. Could you exand on that with a couple
>>>> of examples?
>>> For example the dev is faced with the challenge of extracting the
>>> <title> and product/@id values from some xml.
>>> They could:
>>> - use xquery/xpath
>>> - use xom/jdom
>>> - use sax/stax
>>> instead they use a tool to generate an xsd from the xml, then use a
>>> binding tool to generate some classes, then use those generated
>>> classes.
>> Okay, thanks.  Maybe I won't include myself in that group then.  :-)
>> That is REALLY going the long way around.
> It's not that far removed from database engineers whose worldview
> includes SQL, period. Their solution to adding 2+2 is to create a table
> with two fields, populate them with the value 2, and then write a stored
> procedure to query it, extract the values, and add them together.

For a large enough dataset this can be a neat performance hack since
you get the query optimiser for free to throw at your problem.

[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