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

RE: Re: Hello XQuery ... Goodbye XSLT?

  • To: Dimitre Novatchev <dnovatchev@y...>, xml-dev@l...
  • Subject: RE: Re: Hello XQuery ... Goodbye XSLT?
  • From: "Kirkham, Pete (UK)" <pete.kirkham@b...>
  • Date: Thu, 11 Nov 2004 13:23:52 +0000
  • Thread-index: AcTH46nC2qYowdvASbSFg4oLe1zZogADDRWg
  • Thread-topic: Re: Hello XQuery ... Goodbye XSLT?

xquery recursion

> Dimitre Novatchev

> To avoid recursion in tree processing (isn't this what XSLT
> and XQuery are all about)? This should be impossible by definition.

It depends what you mean by recursion- when Rick Marshall mentioned it, I scanned through all the code I'd written in the last month, and all the tree processing iterates on an explicit stack rather then using recursion at the language level (big trees). There are far more cases of conceptual recursion rather than language level recursion- in SAX for example the calls on the handler for nested element are conceptually 'inside' the calls for the enclosing element, event though they are made sequentially and iteratively.

Anyway, all recursive algorithms can be transformed to iterative ones, and visa-versa.


This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.


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.
First Name
Last Name
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.