[MarkLogic Dev General] Using Json Extensions

Jonathan Cook - FM&T Jonathan.Cook2 at bbc.co.uk
Wed Mar 14 13:59:33 PDT 2012


Has anyone successfully got the json extensions working, I have been playing around with the below but you don't get json coming out, just a long string of the element values from the xml?


let $newsml := doc('http://www.bbc.co.uk/asset/b5c53243-e52f-e059-e040-850a02846523/highweb/domestic')
return xdmp:to-json(fn:data($newsml))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20120314/6095b93d/attachment.html 

More information about the General mailing list