xml-to-json($node as node()?, $options as map(*)?) as xs:string?
Converts an XML tree (in w3c 'XML Representation of JSON' format) into a string conforming to the JSON grammar. Basic string (un)escaping.
$node? | The input node |
$options? | The options map |