Hi all,
I have some wierd problems with a xquery syntax. The query lokks like this:
declare variable $book external;
declare variable $books external;
<Books>
{
for $bid in $book/books/book
let $b := $books/Import/Row
return
<Book>
<id>{$bid/id/text()}</id>
<ddd>jj</ddd>
{
for $a in $b[xs:integer(./id/text()) eq
xs:integer($bid/id/text())]
return
<description>{$a/description/text()}</description>
<review>This is the Error</review>
}
</Book>
}
</Books>
The Query could not be parsed, because after the element description, in
the subflowr, the parser expects an }. I didn't know, what ist wrong
with it! Can anyone help me? I would be grateful!
Thx
mfw
_______________________________________________
talk-9zRdbLeNGsRBDgjK7y7TUQ@xxxxxxxxxxxxxxxx
http://x-query.com/mailman/listinfo/talk