XSLT: CSV (or Flat File, or Plain Text) to XML

好久不见. 提交于 2019-12-06 00:28:49

I don't think it's a conspiracy - you haven't included the Saxon command line you used but I suspect you're calling the transform with csv.csv as the source of the transform. Because this isn't an XML file you will get an XML parser error such as you've shown.

The XSLT stylesheet you reference has an entry template called 'main', use the -it option on the command line to set 'main' as the initial template. With this set, you now don't need to supply a source for the transform. The Saxon command line options are documented here.

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