StyleVision

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Automated Processing > Command Line Interface >

StyleVision

The syntax for command line use is:

 

 StyleVision [<SPS File>] [<options>]

 

where

 

StyleVisioncalls StyleVision, which is located in the StyleVision application folder        
<SPS File>specifies the SPS file
<options>One or more of the options listed below.

 

 

When a command is executed StyleVision runs silently (i.e. without the GUI being opened), generates the required output files, and closes. If an error or warning is encountered, the GUI is opened and the corresponding message is displayed in a message box.

 

Note:For the SPS to load correctly in StyleVision, the XSD and Working XML files that the SPS uses must be at the locations specified for them in the SPS.

 

Options

Options may be entered in any order.

 

 

XSLT file output

 

-OutXSLT=<file>

Writes XSLT-for-HTML to the specified file

-OutXSLRTF=<file>

Writes XSLT-for-RTF to the specified file

-OutXSLFO=<file>

Writes XSLT-for-FO to the specified file

-OutXSLWord2007=<file>

Writes XSLT-for-Word 2007+ to the specified file

 

 

 

DB data output

 

-OutDBXML=<file>

Writes XML generated from DB to the specified file.

-OutDBSchema=<file>

Writes XML Schema generated from DB to the specified file.

 

 

Examples

 

StyleVision "QuickStart.sps" -outxslt="QuickStartHTML.xslt"

StyleVision "C:\Test\QuickStart.sps" -outxslt="C:\Test\QuickStartHTML.xslt"

 

Points to note

Note the following points:

 

Paths may be absolute or relative and should use backslashes.
If the filename or the path to it contains a space, then the entire path should be enclosed in quotes. For example: "c:\My Files\MyXML.xml" or "c:\MyFiles\My XML.xml".
Commands, paths, and folder and file names are case-insensitive.

 


© 2019 Altova GmbH