[xquery-talk] Computed element construct

Torsten Grust grust at in.tum.de
Fri Nov 18 13:58:02 PST 2005


On 11/18/05 1:52 PM, Dave Pawson wrote with possible deletions:
> [...]
> element elem {
>   attribute {"attName"}{"attval"}
> for $a in (1 to 2)
> return $a
> }

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
}

Regards,
   --Torsten
-- 
  | Prof. Dr. Torsten Grust                         grust at in.tum.de |
  |                                 http://www-db.in.tum.de/~grust/ |
  |     Database Systems - Technische Universität München (Germany) |


More information about the talk mailing list