On Sat, 2017-08-26 at 20:35 +, Hans-Juergen Rennau wrote:
> Of course, Liam, but of course the BaseX format has its escaping
> rules, so that it works *always*. The names become less beautiful
> here and there, but in practise a couple of warped names among
> hundreds of nice and meaningful one
Of course, Liam, but of course the BaseX format has its escaping rules, so that
it works *always*. The names become less beautiful here and there, but in
practise a couple of warped names among hundreds of nice and meaningful ones
are better than meaningless names throughout. A document with ele
On Sat, 2017-08-26 at 13:53 +, Hans-Juergen Rennau wrote:
> I find the W3C-defined format obtained from fn:json-to-xml
> unnatural and unpractical;
It is, but it works in more cases. JSON keys can have values that
aren't possible XML element names, e.g.
{
"1" : "one",
"2" : "two",
Hi Günter, have you considered using
json:parse
instead? I find the W3C-defined format obtained from fn:json-to-xml unnatural
and unpractical; whereas BaseX-defined json:parse produces a very elegant,
intuitive and natural representation of the content - turning JSON documents
into near-e
It works. I’ll go with the second solution. Martin, thanks a lot!
> Am 26.08.2017 um 12:26 schrieb Martin Honnen :
>
> On 26.08.2017 12:23, Günter Dunz-Wolff wrote:
>
>> I’m trying to get data out of json via xquery.
>> This is my scenario:
>> 1. Fetching data with fetch:text() calling a REST-AP
On 26.08.2017 12:23, Günter Dunz-Wolff wrote:
I’m trying to get data out of json via xquery.
This is my scenario:
1. Fetching data with fetch:text() calling a REST-API
2. Transforming the data with json-to-xml, so I’ll get something like
http://www.w3.org/2005/xpath-functions“>
Dear all,
I’m trying to get data out of json via xquery.
This is my scenario:
1. Fetching data with fetch:text() calling a REST-API
2. Transforming the data with json-to-xml, so I’ll get something like
http://www.w3.org/2005/xpath-functions“>
gehen
7 matches
Mail list logo