Command line interfaces

XSLT

A new argument -json is added to support transformation of a JSON input file. The argument works like the -s argument for XML input: the value is the filename of a JSON file, which is parsed; the resulting item (if non-null) becomes both the global context item and the initial match selection for the transformation. (For more information, see XSLT from the command line.)

XQuery

A new argument -json is added to support querying of a JSON input file. The argument works like the -s argument for XML input: the value is the filename of a JSON file, which is parsed; the resulting item (if non-null) becomes the global context item for the query. (For more information, see XQuery from the command line.)