Is XPATH the way to search a data model?

Brian Thomas brian.thomas at gsfc.nasa.gov
Tue May 18 07:10:15 PDT 2004


On Tuesday 18 May 2004 04:18 am, Gerard Lemson wrote:
> > Brian Thomas wrote:
> > > 	Hi David,
> > >
> > > On Monday 17 May 2004 04:35 pm, David Berry wrote:
> >
> > snip
> >
> > >>My question
> > >>is, should we be optimising our data models specifically so
> >
> > that they can
> >
> > >>be searched using XPATH?
> > >
> > > 	"Yes" (if you mean XQuery + XPath).
> >
> > I feel this very strange; optimization could perhaps influence
> > implementation,
> > but not data models (according to one previous mail of G.Lemson
> > if I understood
> > it well enough). This is a too short feedback loop and will
> > "corrupt" data model
> > with ad-hoc restrictive solutions devoted to only one implementation.
> > Just my feeling,
> > Pierre
>
> Indeed I think Pierre understood my email correctly.
> I think it is not the datamodel that should be optimized for XQuery+XPath
> (+XSLT ?)
> but (a) possible binding(s) of the data model to an XML schema.

	Yes, of course, I was not implying that XPath/XQuery/XSLT were drivers
	for the interfaces on the Q (or other DM components).  They *are* drivers
	for the XML serialization. 

	I'll note that this "violates" the perceived (and expressed) design opinion 
	of some on this list that the data model and its serializations always have 
	one-to-one correspondence.

> [snip; point further expanded with examples]
>
> If people are interested I may discuss this framework during the Boston
> meeting.

	I'd be interested in discussing with you.

	=b.t.

>
> Bye
>
> Gerard

-- 

  * Dr. Brian Thomas 

  * Dept of Astronomy/University of Maryland-College Park 
  * Code 630.1/Goddard Space Flight Center-NASA

  *   fax: (301) 286-1775
  * phone: (301) 286-6128 [GSFC]
           (301) 405-2312 [UMD] 




More information about the dm mailing list