[xquery-talk] Computed element construct

Dave Pawson dave.pawson at gmail.com
Fri Nov 18 13:06:13 PST 2005


On 18/11/05, Torsten Grust <grust at in.tum.de> wrote:
> You're simply missing a ',' in the element content sequence:
>
> element elem {
>   attribute {"attName"} {"attval"},     (: <-- comma added here :)
>   for $a in (1 to 2)
>   return $a
> }

Thanks Torsten...

I still can't find that in the syntax tree's.
unless it's inferred from

[31]    	Expr 	   ::=    	ExprSingle ("," ExprSingle)*


regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk



More information about the talk mailing list