XSL Transformations in CouchDB

≯℡__Kan透↙ 提交于 2019-12-25 07:20:46

问题


Is it possible to do XSL Transformations in a List Function in CouchDB? Is seems rather improbable, since something like var xsltProcessor = new XSLTProcessor() can't be done outside the context of a browser.

Is there a way?


回答1:


If you control the CouchDB server, there's definitely a way. CouchDB supports pluggable query engines, so you could code up a query engine that supports some kind of XSL transformations.

I guess the default SpiderMonkey-based query engine doesn't support it out of the box. I think there's an experimental NodeJS-based query engine floating around that might do better.



来源:https://stackoverflow.com/questions/23215481/xsl-transformations-in-couchdb

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!