Tom Bradford wrote:

> Lars Martin wrote:

(actually this is Jonathan Borden again -- someday I'll get this e-mail
system down :-)

> >  questions:
> >  are the "source" and "xpath" concatentated to provide the complete
xpath to
> > a node? Does this translate to:
> >  local/cart/addresses/address[(@name='Tom Bradford') and
> > not(@type='vacation')]
>
> No, the source is an implementation specific value that identifies the
> collection, respository, file, DSN, whatever you want to call it.  The
> source should generally point to a set of like documents (or nodes) so
> that a sensible set operation can be performed against it.  My example
> uses dbXML pathing, which oddly enough is XPath compatible, but the
> forward slashes should not be a requirement.

Is this so odd, I think we should try to leverage the naming and resource
identification facilities of URIs XLink and XPointer.

The idea is that the
> source could contain any implementation specific location... SQL Server
> might have sources like "tempdb.dbo.sometable" and so on...  If you had
> a virtualized document, the source could be though of as the
> path-prefix, but its real purpose is to isolate like nodes.

    I think we are saying the same thing.

>
> There is no correct answer, which underlines the need to be completely
> agnostic of how and where the implementor stores their data.  As far as
> the dbXML implementation is concerned, a collection of documents really
> maps to multiple SQL tables joined relationally, where the master row
> represents the master node of the document in the collection.  To
> others, the entire table may be the document.  It shouldn't matter.

    Again, I think we are saying the same thing in a roundabout way. The
concept of a grove is that disparate data formats can be indexed, pathed and
identified using common techniques. The grove is the underlying logical data
structure which corresponds to the XML character stream.


Jonathan Borden
The Open Healthcare Group
http://www.openhealth.org



------------------------------------------------------------------
Post a message:          mailto:[EMAIL PROTECTED]
Unsubscribe:             mailto:[EMAIL PROTECTED]
Contact adminstrator:    mailto:[EMAIL PROTECTED]
Read archived messages:  http://www.xmldb.org/
------------------------------------------------------------------

Reply via email to