[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: The limitations of XPath and navigation for XML databasepr

  • From: Jonathan Robie <jonathan.robie@r...>
  • To: mike@a...
  • Date: Fri, 08 Feb 2008 08:07:06 -0500

Re:  The limitations of XPath and navigation for XML databasepr
mike@a... wrote:
>
> Your example of XPath /A/B/C being able to be processed internally in 
> any way that is still semantically correct to optimize it could be 
> applied to COBOL and I would not consider COBOL  nonprocedural. What 
> it boils down to with me is that XPath is logically specifying the 
> logic (externally) that is needed to be performed (internally). The 
> external navigation instructions must be specified procedurally to 
> correctly define any of the possible choices for internal operations. 
> I think there is both a user and developer perspective for what is 
> nonprocedural or procedural. My article was writing to the user audience.
>

Clearly, /a/b/c can be given a procedural interpretation (start with the 
top of the document, go down to the a element, etc) or a declarative 
interpretation (pointing to c's that are found in a particular place in 
the hierarchy). If you choose the procedural interpretation, it will 
seem procedural to you. If you choose the declarative interpretation, it 
will seem declarative. I think it is generally better to teach users to 
think of it declaratively.

If you write to users, tell them that the natural interpretation is 
procedural, then complain that thinking of this procedurally isn't good 
.... there's some weakness in your argument.

Jonathan


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.