我想用样式表转换XML文件,用Saxon转换XSLT。
我做了: npm安装saxon npm安装xslt3
下一步是: xslt3 -xsl:xslt_filepath.xslt -export:books.sef.json -nogo
我搞错了
xslt3 : Die Benennung "xslt3" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise
des Namens, oder ob der Pfad korrekt ist (sofern enthalten), und wiederholen Sie den Vorgang.
In Zeile:1 Zeichen:1
+ xslt3
+
+ CategoryInfo : ObjectNotFound: (xslt3:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundExceptionpacket.json有
"xslt3": "^2.0.2",
"saxon-js": "^2.0.2",有什么问题吗?
我在我的Windows 10 PC和windows 10笔记本电脑上也有相同的错误
发布于 2020-11-27 12:05:10
尝试使用-g (全局)选项在npm命令中安装。
https://stackoverflow.com/questions/65035221
复制相似问题