Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

RE: [xml-dev] Question for updating existing XML file


  • To: "'K. Ari Krupnikov'" <ari@...>,<xml-dev@...>
  • Subject: RE: [xml-dev] Question for updating existing XML file
  • From: "Michael Kay" <michael.h.kay@...>
  • Date: Thu, 29 Jul 2004 08:49:36 +0100
  • In-reply-to: <86zn5jr8zf.fsf@...>
  • Thread-index: AcR0/HqPnF6rVI6fQXOfzoRrFjx6FgAQ3P1A

> This would seem to undermine your assertion that XML query languages
> prove that declarative languages work for (XML) hierarchical
> databases. Unless there is something in XQuery that makes navigating
> these secondary relationships as easy as following an XPath, it seems
> to me that XML query languages neither prove nor disprove that
> assertion.

The ability to use a function call within a path expression provides a
reasonably good way of handling secondary relationships. It enables you to
write things such as

customer/customer.orders(.)/order-lines/order-line.product(.)/@code

to follow relationships where the details of the relationship is hidden in
the function implementation.

Another proposal that has been made is to allow user-defined axes. I quite
like that idea, but there seem to be others who hate it.

Michael Kay


 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords