| 1 |
XMLStarlet Toolkit: Validate XML document(s) |
| 2 |
Usage: PROG val <options> [ <xml-file-or-uri> ... ] |
| 3 |
where <options> |
| 4 |
-w or --well-formed - validate well-formedness only (default) |
| 5 |
-d or --dtd <dtd-file> - validate against DTD |
| 6 |
--net - allow network access |
| 7 |
#ifdef LIBXML_SCHEMAS_ENABLED |
| 8 |
-s or --xsd <xsd-file> - validate against XSD schema |
| 9 |
-E or --embed - validate using embedded DTD |
| 10 |
#endif |
| 11 |
#ifdef LIBXML_SCHEMAS_ENABLED |
| 12 |
-r or --relaxng <rng-file> - validate against Relax-NG schema |
| 13 |
#endif |
| 14 |
-e or --err - print verbose error messages on stderr |
| 15 |
-S or --stop - stop on first error |
| 16 |
-b or --list-bad - list only files which do not validate |
| 17 |
-g or --list-good - list only files which validate |
| 18 |
-q or --quiet - do not list files (return result code only) |
| 19 |
|
| 20 |
#ifdef LIBXML_SCHEMAS_ENABLED |
| 21 |
NOTE: XML Schemas are not fully supported yet due to its incomplete |
| 22 |
support in libxml2 (see http://xmlsoft.org) |
| 23 |
|
| 24 |
#endif |