Hi,
In the specification[1] I am not sure how to implement the following part
because we have not implemented dynamic function call on a sequence:
*Example 8.4. Query all pairs with a given name.Query:*
*libjn:descendant-pairs({ "first" : 1, "second" : { "first" : "a",
"second" : "b" }})("first")*
*Result:*
* 1 a*
Any suggestion would be highly appreciated.
[1]
http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html#idm139680657730592
Thank you.
Yours sincerely,
Riyafa
On 29 July 2016 at 10:53, Riyafa Abdul Hameed <[email protected]>
wrote:
>
> Hi,
>
> I have implemented the method libjn:descendant-pairs()[1].
>
> [1] https://github.com/apache/vxquery/pull/130
>
> Thank you.
>
> Yours sincerely,
> Riyafa
> --
> Riyafa Abdul Hameed
> Undergraduate, University of Moratuwa
>
> Email: [email protected]
> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
> <http://facebook.com/riyafa.ahf> <http://lk.linkedin.com/in/riyafa>
> <http://twitter.com/Riyafa1>
>
--
Riyafa Abdul Hameed
Undergraduate, University of Moratuwa
Email: [email protected]
Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
<http://facebook.com/riyafa.ahf> <http://lk.linkedin.com/in/riyafa>
<http://twitter.com/Riyafa1>