From: Jean-Paul R. <re...@gm...> - 2021-01-05 09:40:18
|
Dear Eduard, can you provide an example of what you wish the json output to look like? Best for the new year, JPR On Tue, Jan 5, 2021 at 10:17 AM Eduard Drenth <ed...@fr...> wrote: > Dear all, > > This xml snippet: > > <text> > > <match>De</match> > > volgende > > <match>dag</match> > > zat Esther in > > <match>de</match> > > bibliotheek achter een stapel boeken over psychiatrie en psychopathologie. > > </text> > > > Is turned into the below json when using fn:serialize: > > > > As you can see, the match children are serialized first, which makes it > impossible to get the matching right. > > The order of this serialization seems wrong, can this be configured / > fixed? > > Regards, Eduard > > -- > > Eduard Drenth, Software Architekt > > ed...@fr... > > Doelestrjitte 8 > 8911 DX Ljouwert > +31 58 234 30 47 > +31 62 094 34 28 (privé) > > skype: eduarddrenth > https://github.com/eduarddrenth > frisian.eu > gpg: https://pgp.surfnet.nl/pks/lookup?search=eduarddrenth > > > Op freed bin ik thús/wurkje ik minder > > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |