XQuery Support

TDV supports the following functionality for XQuery 3.0

  • Function annotations %public and %private

  • Variable annotations %public and %private

  • CASE clause in a typeswitch expression to list multiple alternative types separated by "|"

  • In FLOWR expressions, the following clauses are supported.

COUNT
GROUP-BY
  • FILTER function is implemented with a function() argument

  • The XQuery 3.0 parser has been extended to support partial function application ("?" as a function argument) in dynamic function calls. Previously this feature was supported only in direct function calls to a named function.

  • The extensions for maps are available in XQuery 3.0

TDV supports the following functionality for XQuery 3.1

  • Support for consuming JSON data.

  • Support for maps and arrays allowing for a more natural representation of JSON data in XQuery expressions.

Refer to the following links for more information:

https://www.altova.com/training/xquery3/json
https://www.w3.org/TR/xslt-xquery-serialization-31/#json-output