JSON xml format
Wednesday, 1 July 2015 · 3 messages
ML
Marco Lettere1 Jul 2015 12:40 #
Hello all,
I'd like to know whether there is a formal specification (XSD, RelaxNG) of the format for expressing JSON in XML introduced with XQuery 1.0. The one used by xml-to-json to be clear.
Thanks,
Marco.
CG
Christian Grün1 Jul 2015 12:56 #
Hi Marco,
The latest XQuery 3.1 specs are not online yet. However,
fn:xml-to-json will be mostly similar to the equivalent function in XSLT [1].
Hope this helps,
Christian
[1] http://www.w3.org/TR/xslt-30/#func-xml-to-jsonQuoted text · Marco Lettere · 7 lines
On Wed, Jul 1, 2015 at 12:40 PM, Marco Lettere <marco.lettere at dedalus.eu> wrote: > Hello all, > I'd like to know whether there is a formal specification (XSD, RelaxNG) of > the format for expressing JSON in XML introduced with XQuery 1.0. > The one used by xml-to-json to be clear. > Thanks, > Marco.
ML
Marco Lettere1 Jul 2015 13:38 #
Yes!
Perfect.
This is the exact url:
http://www.w3.org/TR/xslt-30/#schema-for-json
Thanks, Christian.
M.
Quoted text · Christian Grün · 21 lines
On 01/07/2015 12:56, Christian Grün wrote: > Hi Marco, > > The latest XQuery 3.1 specs are not online yet. However, > fn:xml-to-json will be mostly similar to the equivalent function in > XSLT [1]. > > Hope this helps, > Christian > > [1] http://www.w3.org/TR/xslt-30/#func-xml-to-json > > > On Wed, Jul 1, 2015 at 12:40 PM, Marco Lettere <marco.lettere at dedalus.eu> wrote: >> Hello all, >> I'd like to know whether there is a formal specification (XSD, RelaxNG) of >> the format for expressing JSON in XML introduced with XQuery 1.0. >> The one used by xml-to-json to be clear. >> Thanks, >> Marco. >
Written for BaseX 8.2. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery