Changes

Jump to navigation Jump to search
1 byte removed ,  01:42, 15 August 2011
no edit summary
|}
===Examples===
'''Example 1: A basic example to convert an empty JSON document'''
=JsonML=
[[JSON Functions#json:serialize-ml|json:serialize-ml]] and [[JSON Functions#json:parse-ml|json:parse-ml]] are used to transform XML to JSON and back, as described in the [http://jsonml.org JsonML] specification. JsonML can be used to transform any XML document to JSON and back. Note, however, that namespaces, comments and processing instructions will be discarded in the transformation process. More details are found in the official [http://jsonml.org/XML JsonML documentation].
==json:serialize-ml==
|-
| valign='top' | '''Summary'''
|Serializes the node specified by <code>$input</code> as described in the [http://jsonml.org JsonML] specification, and returns the result as <code>xs:string</code> instance. JsonML can be used to transform any XML document to JSON and back.Note, however, that namespaces, comments and processing instructions will be discarded in the transformation process. More details are found in the official [http://jsonml.org/XML JsonML documentation].
|-
| valign='top' | '''Errors'''
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu