Changes

Jump to navigation Jump to search
270 bytes added ,  02:22, 15 August 2011
==Examples==
'''Example 1: Converts all XML documents in a database to JsonML and writes them to disk''' '''Query:'''<pre class="brush:xquery">for $doc in collection('json')let $name := document-uri($doc)let $json := json:serialize($doc)return file:write($name, $json)</pre> '''Example 2: Converts a simple XML fragment to the JsonML format'''
'''Query:'''
</pre>
'''Example 23: Converts an XML document with elements and text'''
'''Query:'''
</pre>
'''Example 34: Converts a document with nested elements and attributes'''
'''Query:'''
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu