xmllint isn't working in windows command prompt

最后都变了- 提交于 2019-12-08 08:37:06

问题


I've tried to check xml-file on validness with cmd.exe by using the command 'xmllint' as in the example: xmllint -schema Bookstore.xsd --noout Bookstore-XSD.xml but as a result, I saw the error:

'xmllint' is not recognized as an internal or external command, operable program or batch file.

Should I install some specific library? And if I should, where is it must be (what is the folder)?


回答1:


xmllint isn't a standard part of Windows. It's typically used on a Unix-based operating system.

You can install it via cygwin on Windows as part of the libxml2 package. Alternatively, there might be a standalone Windows version of xmllint.exe available if you Google for it.




回答2:


You can find a standalone Windows executable at the xmllint download page at Google Code.



来源:https://stackoverflow.com/questions/19145870/xmllint-isnt-working-in-windows-command-prompt

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