> 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 KayReceived on Wednesday, 23 January 2002 18:19:28 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:54 GMT