简体   繁体   English

W3C css-validator.jar:在哪里可以找到有关本地用法(参数等)的文档?

[英]W3C css-validator.jar: Where do I find documentation about local usage (parameters, etc.)?

I successfully installed W3C css-validator.jar locally as described here: 我已成功在本地安装W3C css-validator.jar,如下所述:

How can I validate CSS on internal web pages? 如何验证内部网页上的CSS?

Now I'm looking for some documentation about how to use it. 现在,我正在寻找有关如何使用它的文档。

At the moment I'm doing something like this: 目前,我正在执行以下操作:

java -jar css-validator.jar --output=soap12 file:source.css > result.xml

I'd like to accomplish the following: 我想完成以下工作:

  • Output in a different format, eg XML (I guess that I can simply do --output xml for this) 以其他格式输出,例如XML(我想我可以为此简单地执行--output xml
  • Input a string directly without a file , eg string:"body { color: red; }" 直接输入不带文件的 string:"body { color: red; }" ,例如string:"body { color: red; }"
  • Output the result directly without a file (so not like > result.xml ) so I can do something like RESULT = java -jar css-validator.jar... 结果直接输出,而不文件 (所以喜欢> result.xml ),所以我可以这样做RESULT = java -jar css-validator.jar...

Any help on this is highly appreciated. 对此,我们将给予任何帮助。

I didn't find a lot of information about this, but at least here are some configuration parameters: 我没有找到很多有关此的信息,但是至少这里有一些配置参数:

http://jigsaw.w3.org/css-validator/manual.html http://jigsaw.w3.org/css-validator/manual.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 上传时,在哪里设置php.ini参数? - When uploading, where do I set the php.ini parameters? 如何将文本框值,复选框状态,下拉菜单选择等保存和加载到.txt文件中? - How can I save and load textbox values, checkbox states, dropdown menu selections, etc., into a .txt file? 在哪里可以找到包含所有参数的 mysql 配置文件? - Where can I find mysql config file with all parameters? 我在哪里存储Silex中的常规配置参数? - Where do I store general config parameters in Silex? 是否有任何以功能语言(即Haskell,erlang等)编写的近生产系统配置管理框架? - Are there any near-production system configuration management frameworks written in functional languages (i.e., Haskell, erlang, etc.)? 在哪里可以找到关于 `react-native.config.js` 文件的文档? - Where to find documentation on `react-native.config.js` file? 在哪里可以找到声纳的排除设置? - where do i find sonar's exclusion settings? 我在哪里可以找到WebSphere配置文件? - Where can I find WebSphere configuration files? 在哪里放置我需要的Symfony2自定义参数? - Where to put Symfony2 custom parameters I need? 我应该在哪里存储一些项目参数? - Where should I store some of my project's parameters?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM