[XML-SIG] SQL -> XML ?

Steven R. Newcomb srn@techno.com
Fri, 12 Feb 1999 10:06:32 -0600


> > It would be very useful for me to create a
> > document as a DOM tree, based on data that I can
> > easily access with SQL statements. I'm wondering
> > whether there are well-known design tips for
> > converting table oriented data structures into
> > tree structures, that would come in handy for
> > this sort of task, in terms of efficiency and
> > reusability?

[Uche Ogbuji:]

> There has been a good deal of discussion in the
> XML-DEV list about such matters, and I haven't
> read any useful solutions to the basic impedance
> mis-match between tabular and tree-based
> structure.  Maybe as the DB manufacturers rush
> to swallow XML whole, they'll come up with
> something clever, but I wouldn't hold my breath.
> 
> I don't think there is much for it but the
> brute-force method.

Would you consider the grove paradigm a
"brute-force" method?  It seems to me to answer
the impedance-mismatch problem, here.  It also
seems to me much too elegant to be describable as
"brute-force".

-Steve

--
Steven R. Newcomb, President, TechnoTeacher, Inc.
srn@techno.com  http://www.techno.com  ftp.techno.com

voice: +1 972 231 4098 (at ISOGEN: +1 214 953 0004 x137)
fax    +1 972 994 0087 (at ISOGEN: +1 214 953 3152)

3615 Tanner Lane
Richardson, Texas 75082-2618 USA