我需要从这个网站安装xmllint的帮助:http://xmlsoft.org/sources/win32/
特别是,我不确定我应该下载哪个文件--当我单击预编译Windows二进制文件的链接时,我会被带到一个包含几个文件的列表中,并且不确定如何继续。
发布于 2014-01-20 06:50:26
我也有同样的问题,我花了两个小时才开始工作。
- under System - click edit the system environment variable
- Under the advanced tab - click environment variables
- In the System variables look for Path > Edit > add ";C:\folderName"
- or **just type 'path' in search box located in your win8 charms** ( I should have thought of that)
xmllint --valid --noout fileName.xml型If
一切都很好,恭喜
如果您也有以下警告:加载外部实体"fileName.xml“失败
--他们说这是个bug,所以我从http://xmlsoft.org/sources/win32/下载了的旧版本libxml2
或者(我刚才看到了这个解决方案)
-- 将另一个文件夹分配给您的xml文件,然后从那里运行xmllint。
在命令窗口中:-cd C:\user\用户名\Documents\XML文件
-once您在里面,输入xmllint命令,例如xmllint --valid --noout fileName.xml)
installation:
http://flowingmotion.jojordan.org/2011/10/08/3-steps-to-download-xmllint/ https://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build/tutorials/docbooksys/segmentedhtml/ch03s03.html
bug :
发布于 2019-02-10 16:03:41
对于巧克力味的用户来说,安装xmllint相当简单:
choco install xsltproc此包包含xmllint、iconv、xmlcatalog和xsltproc命令,任何依赖项都会自动安装。
发布于 2020-10-24 17:53:27
Xmllint是libxml2 2-utils包的一部分。要安装,在Linux上使用:apt install libxml2-utils
https://stackoverflow.com/questions/19546854
复制相似问题