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@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.