Validating XML from the Command Line

You use the StylusValidator utility to validate XML from the command line. StylusValidator uses the built-in Stylus Studio XML validator. All output from this utility goes to stdout.

The StylusValidator utility takes the following format:

StylusValidator [-q] [-noval] [-schema] filename

Table 11 describes the parameters for the StylusXql command.

Parameter
Description
[-q]
Quiet mode - errors are not printed to stdout.
[-noval]
Checks only for well-formedness. Does not check for errors.
[-schema file ]
Validates the XML document against the XML Schema specified in the file parameter.
filename
The path of the XML document you want to validate.
Table 11. StylusValidator Command Line Parameters

OASIS Catalog Support

Stylus Studio's features for working with OASIS catalogs allow you to incorporate any vendor's catalog - or one of your own - in your XML, making writing correct and robust XML easier than ever.

MySQL XML Tools

The MySQL tools in Stylus Studio simplify XML related development tasks for working with MySQL and XML.

XML File Explorer

The XML File Explorer provides a productive, consistent, and easy-to-use interface for working with any data sources (relational data, EDI, binary, XML, CSV, and more) used in enterprise data integration projects.

Oil, Gas & Electric Companies That Use Stylus Studio

Oil, gas & electric companies know a good resource when they see it. That's why they use Stylus Studio as their #1 XML resource. Come see which of these top oil, gas & electric companies are conserving their time and labor with Stylus Studio.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member