You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by Riyafa Abdul Hameed <ri...@cse.mrt.ac.lk> on 2016/08/06 04:55:03 UTC

JSONiq get started documentation

Hi,

I have created a JSONiq get started documentation[1].

[1] https://github.com/apache/vxquery/pull/139

Thank  you.

Yours sincerely,
Riyafa

-- 
Riyafa Abdul Hameed
Undergraduate, University of Moratuwa

Email: riyafa.12@cse.mrt.ac.lk
Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
<http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
<http://twitter.com/Riyafa1>

Re: JSONiq get started documentation

Posted by Riyafa Abdul Hameed <ri...@cse.mrt.ac.lk>.
Hi,

I have updated the PR[1] based on the suggestions.

[1] https://github.com/apache/vxquery/pull/139

Thank you.

Yours sincerely,
Riyafa

On 11 August 2016 at 23:21, Riyafa Abdul Hameed <ri...@cse.mrt.ac.lk>
wrote:

> Hi,
>
> I have updated the documentation[1] based on the suggestions. I have shown
> the first result as formatted. I would like to know if I should show it as
> formatted or as the actual unformatted result.
>
> [1] https://github.com/apache/vxquery/pull/139
>
> Thank you.
>
> Yours sincerely,
> Riyafa
>
> On 8 August 2016 at 16:38, Riyafa Abdul Hameed <ri...@cse.mrt.ac.lk>
> wrote:
>
>> Hi Preston,
>>
>> I am finding some difficulties regarding your suggestion on an example
>> that reads XML and creates a JSON result: Since the while loop or declare
>> function features are not supported I am not sure how to generate json from
>> xml or vice versa as we cannot terminate the loop on a condition or use
>> recursion. I attempted to find an alternative way to do this using FLWOR
>> expression, but still have not found a way. Since others might have more
>> expertise in xquery, please kindly suggest if it's possible.
>>
>> Thank you.
>>
>> Yours sincerely,
>> Riyafa
>>
>> On 8 August 2016 at 03:04, Preston Carman <pr...@apache.org> wrote:
>>
>>> Added a few comments.
>>>
>>> On Fri, Aug 5, 2016 at 9:55 PM, Riyafa Abdul Hameed
>>> <ri...@cse.mrt.ac.lk> wrote:
>>> > Hi,
>>> >
>>> > I have created a JSONiq get started documentation[1].
>>> >
>>> > [1] https://github.com/apache/vxquery/pull/139
>>> >
>>> > Thank  you.
>>> >
>>> > Yours sincerely,
>>> > Riyafa
>>> >
>>> > --
>>> > Riyafa Abdul Hameed
>>> > Undergraduate, University of Moratuwa
>>> >
>>> > Email: riyafa.12@cse.mrt.ac.lk
>>> > 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: riyafa.12@cse.mrt.ac.lk
>> 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: riyafa.12@cse.mrt.ac.lk
> 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: riyafa.12@cse.mrt.ac.lk
Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
<http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
<http://twitter.com/Riyafa1>

Re: JSONiq get started documentation

Posted by Riyafa Abdul Hameed <ri...@cse.mrt.ac.lk>.
Hi,

I have updated the documentation[1] based on the suggestions. I have shown
the first result as formatted. I would like to know if I should show it as
formatted or as the actual unformatted result.

[1] https://github.com/apache/vxquery/pull/139

Thank you.

Yours sincerely,
Riyafa

On 8 August 2016 at 16:38, Riyafa Abdul Hameed <ri...@cse.mrt.ac.lk>
wrote:

> Hi Preston,
>
> I am finding some difficulties regarding your suggestion on an example
> that reads XML and creates a JSON result: Since the while loop or declare
> function features are not supported I am not sure how to generate json from
> xml or vice versa as we cannot terminate the loop on a condition or use
> recursion. I attempted to find an alternative way to do this using FLWOR
> expression, but still have not found a way. Since others might have more
> expertise in xquery, please kindly suggest if it's possible.
>
> Thank you.
>
> Yours sincerely,
> Riyafa
>
> On 8 August 2016 at 03:04, Preston Carman <pr...@apache.org> wrote:
>
>> Added a few comments.
>>
>> On Fri, Aug 5, 2016 at 9:55 PM, Riyafa Abdul Hameed
>> <ri...@cse.mrt.ac.lk> wrote:
>> > Hi,
>> >
>> > I have created a JSONiq get started documentation[1].
>> >
>> > [1] https://github.com/apache/vxquery/pull/139
>> >
>> > Thank  you.
>> >
>> > Yours sincerely,
>> > Riyafa
>> >
>> > --
>> > Riyafa Abdul Hameed
>> > Undergraduate, University of Moratuwa
>> >
>> > Email: riyafa.12@cse.mrt.ac.lk
>> > 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: riyafa.12@cse.mrt.ac.lk
> 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: riyafa.12@cse.mrt.ac.lk
Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
<http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
<http://twitter.com/Riyafa1>

Re: JSONiq get started documentation

Posted by Riyafa Abdul Hameed <ri...@cse.mrt.ac.lk>.
Hi Preston,

I am finding some difficulties regarding your suggestion on an example that
reads XML and creates a JSON result: Since the while loop or declare
function features are not supported I am not sure how to generate json from
xml or vice versa as we cannot terminate the loop on a condition or use
recursion. I attempted to find an alternative way to do this using FLWOR
expression, but still have not found a way. Since others might have more
expertise in xquery, please kindly suggest if it's possible.

Thank you.

Yours sincerely,
Riyafa

On 8 August 2016 at 03:04, Preston Carman <pr...@apache.org> wrote:

> Added a few comments.
>
> On Fri, Aug 5, 2016 at 9:55 PM, Riyafa Abdul Hameed
> <ri...@cse.mrt.ac.lk> wrote:
> > Hi,
> >
> > I have created a JSONiq get started documentation[1].
> >
> > [1] https://github.com/apache/vxquery/pull/139
> >
> > Thank  you.
> >
> > Yours sincerely,
> > Riyafa
> >
> > --
> > Riyafa Abdul Hameed
> > Undergraduate, University of Moratuwa
> >
> > Email: riyafa.12@cse.mrt.ac.lk
> > 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: riyafa.12@cse.mrt.ac.lk
Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
<http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
<http://twitter.com/Riyafa1>

Re: JSONiq get started documentation

Posted by Preston Carman <pr...@apache.org>.
Added a few comments.

On Fri, Aug 5, 2016 at 9:55 PM, Riyafa Abdul Hameed
<ri...@cse.mrt.ac.lk> wrote:
> Hi,
>
> I have created a JSONiq get started documentation[1].
>
> [1] https://github.com/apache/vxquery/pull/139
>
> Thank  you.
>
> Yours sincerely,
> Riyafa
>
> --
> Riyafa Abdul Hameed
> Undergraduate, University of Moratuwa
>
> Email: riyafa.12@cse.mrt.ac.lk
> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
> <http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
> <http://twitter.com/Riyafa1>