Search code examples
couchbasemarklogicnosql

How to do xslt type transformations in Marklogic or Couchbase?


I am looking into a noSQL solution for data connectivity and transformation into other data structures - specifically at marklogic and couchbase.

My question: How can I do transformations like xslt in a json based database?


Solution

  • I'm not familiar enough with CouchBase to comment on its capabilities.

    MarkLogic allows for simple transformations using XPath or JSONPath via REST PATCH requests. I wouldn't call it "like xslt" but it is definitely a way to update specific portions of JSON documents. Additionally, MarkLogic allows for server-side transformations written in Javascript if that's more your style. Transformations and patches are available to users of MarkLogic's REST API, Java API, and Node.JS API.