available="true"> <position>1</position> <title>The Umbrellas</title> <year>1886</year> <author id="PAR"> <name>Pierre-Auguste Renoir</name> <born>1841-02-25</born> <dead>1919-12-03</dead> <qualification>painter</qualification> </author> <estimation>10000.00</estimation> </object> <object id="b0836217463" available="true"> <position>2</position> <title/> <year>1925</year> <author id="JM"> <name>Joan Miró</name> <born>1893-04-20</born> <dead>1983-12-25</dead> <qualification>painter, sculptor, ceramicist</qualification> </author> </object> </col:collection> • JSON arrays to represent XML elements • JSON objects to represent attributes • JSON strings to represent text nodes [ "col:collection", { "xmlns:col": "http://example.com/ns/collection" }, [ "object", { "id": "b0836217462", "available": true }, ["position", 1], ["title", "The Umbrellas"], ["year", "1886"], ["author", {"id": "PAR"}, ["name", "Pierre-Auguste Renoir"], ["born","1841-02-25"], ["dead", "1919-12-03"], ["qualification", "painter"] ], ["estimation", 10000.0] ], [ "object", { "id": "b0836217463", "available": true }, ["position", 2], ["title"], ["year", "1925"], [ "author", {"id": "JM"}, ["name", "Joan Mir\u00f3"], ["born", "1893-04-20"], ["dead", "1983-12-25"], ["qualification", "painter, sculptor, ceramicist"] ] ] ]