www sql designer 无法对 Nginx 进行 xslt 转换
wwwsqldesigner can't perform xlst transformation on Nginx
我正在尝试安装 wwwsqldesigner 并且几乎成功了,只是 sql 代码的生成不起作用。当我按下 generate SQL
按钮时,出现以下错误:
XML error: Failed to execute 'importStylesheet' on 'XSLTProcessor': parameter 1 is not of type 'Node'.
据我了解 here
This module is not built by default
但是我对 Nginx 的经验很少(只有几天),所以如果有人可以帮助我逐步指导如何在 Nginx 上启用 XSLTProcessor太好了。
这是用于执行转换的 *.xsl 文件:output.xsl
谢谢。
mimetype 未在 nginx 配置中注册。该问题已通过添加解决:
types {
application/xml xsl;
}
到 /nginx/conf/mime.types
文件,如这个答案所建议的:
我正在尝试安装 wwwsqldesigner 并且几乎成功了,只是 sql 代码的生成不起作用。当我按下 generate SQL
按钮时,出现以下错误:
XML error: Failed to execute 'importStylesheet' on 'XSLTProcessor': parameter 1 is not of type 'Node'.
据我了解 here
This module is not built by default
但是我对 Nginx 的经验很少(只有几天),所以如果有人可以帮助我逐步指导如何在 Nginx 上启用 XSLTProcessor太好了。
这是用于执行转换的 *.xsl 文件:output.xsl
谢谢。
mimetype 未在 nginx 配置中注册。该问题已通过添加解决:
types {
application/xml xsl;
}
到 /nginx/conf/mime.types
文件,如这个答案所建议的: