[Home] [By Thread] [By Date] [Recent Entries]
On Wed, Jun 5, 2013 at 10:28 PM, Peter Flynn <peter@s...> 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@g...> 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] |

Cart



