Am 17.06.2020 um 10:50 schrieb Martin Honnen:
Whether you do that with a long `for .. return` or simply with //gross/xs:decimal(.) or //gross!xs:decimal(.) is up to you.Schema-aware XQuery could also help of the `gross` elements were declared as `xs:decimal`, but I don't think XQuery supports schema-aware XQuery.
That last sentence was supposed to say: Schema-aware XQuery could also help if the `gross` elements were declared as `xs:decimal`, but I don't think BaseX supports schema-aware XQuery.