0

尝试指定结果文档如下:

<xsl:result-document href="{$folderName}Dev.json" method="text">

在 NodeJS 中,出现错误:

Writing to ./Dev.json Transformation failure: Error FORG0001 at dl2tm.xsl#27 writeFile('./Dev.json'): expected URL

指定输出文件以避免此错误的正确方法是什么?

4

1 回答 1

0

-o通过在命令行上指定选项或在调用转换时baseOutputURI在参数中提供选项,确保转换具有已知的基本输出 URI 。transform()

于 2021-04-04T22:27:05.967 回答