Re: [basex-talk] Question / Suggestion : Template mechanisms and operator overloading for XQUERY 3.++ ?

2015-01-06 Thread Christian GrĂ¼n
Hi Jean-Marc, It may be worthwhile to discuss this general XQuery feature request on t...@x-query.com or the W3 bug tracker [1]. Best, Christian [1] https://www.w3.org/Bugs/Public/ On Sun, Jan 4, 2015 at 11:05 AM, jean-marc Mercier wrote: > Hello, > > I was wondering if it is possible to imp

[basex-talk] Question / Suggestion : Template mechanisms and operator overloading for XQUERY 3.++ ?

2015-01-04 Thread jean-marc Mercier
Hello, I was wondering if it is possible to improve template programming and operator overloading with XQUERY 3.? 1) template programming : XQUERY provides a quite natural template mechanism using type switch and instance: declare function yell($animal) { if ($animal instance of element()) then