- From: Kay, Michael <Michael.Kay@softwareag.com>
- Date: Thu, 24 Jan 2002 00:19:23 +0100
- To: "'Jonas Sicking'" <sicking@bigfoot.com>, www-xpath-comments@w3.org
> How about a 'foreach' construct? So one could write > > sum(foreach //item return quantity * USPrice) > > Shouldn't that avoid any parsingproblems? > Unfortunately not. It requires either lookahead or reserved words: you can't tell until you hit the "return" that foreach//item isn't a relative path expression. Mike Kay
Received on Wednesday, 23 January 2002 18:19:28 UTC