OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Hello XQuery ... Goodbye XSLT?

[ Lists Home | Date Index | Thread Index ]

Recursion is a technique that takes time to learn: no doubt about it. Same
is true of set-at-a-time processing in SQL. Probably, the longer you've been
programming without it, the harder it is to change your ways.

But I'm not sure how it's relevant to a discussion of the relative
ease-of-use of XSLT and XQuery. 

With XSLT 2.0 or XQuery 1.0 you will very rarely need to use recursion for
string processing. With both languages, you will very rarely need it for
sequence processing (there are exceptions, for example calculating a
cumulative total of a sequence of numbers). You will need it (in both
languages) when handling recursive data structures, as is right and proper.

Michael Kay





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS