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

Re: Simplified production for FilterExpr in XPath spec?

Subject: Re: Simplified production for FilterExpr in XPath spec?
From: Paul Tchistopolskii <paul@xxxxxxx>
Date: Tue, 18 Jul 2000 01:46:04 -0700
Re: Simplified production for FilterExpr in XPath spec?
----- Original Message ----- 
From: David Carlisle 

> 
> > Does anyone know why the production was written the way it
> > was?
> 
> Don't you know by now? Iteration is evil, recursion is pure...

Why? ... both are good ... I think apply-templates + sort is not 
as readable as for-each + sort ... 

Rgds.Paul.

PS. The question is actually very reasonable. The XPath paper  
is mixing 2 notations for no reason - plain inconsistency... I'll vote 
for regexpr form, btw ... after years of recursion-based yacc, 
I'm now enjoying regexpr-based metamata ... I think regexpr-based 
is easier to understand... Why you think it is evil ?

[4]    Step    ::=    AxisSpecifier NodeTest Predicate*  
                            | AbbreviatedStep 




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.