The functionality of StyleVision together with the various XSLT and output files generated by StyleVision provide powerful automation possibilities. This section describes these capabilities.
StyleVision's file-generation functionality
After you have created an SPS design with StyleVision, you can generate several kinds of XSLT and output files from within the GUI, depending on which edition of StyleVision you are using (Enterprise, Professional, or Basic). The following files can be generated with the File | Save Generated Files command:
•XSLT files for HTML and RTF output.
•HTML and RTF output.
As you will notice from the list above, the files that can be saved with StyleVision are of two types:
1.The XSLT files generated by the SPS design, and
2.The final output files (such as HTML).
|Note:||Additionally, if database sources are used, XML Schema and XML data files can be generated based on the database structure and content.|
The processes to generate the final HTML and RTF output files are all one-step processes in which the XML document is transformed by an XSLT stylesheet to the output format.
StyleVision Server and RaptorXML: generating files from outside the GUI
Additionally to generating XSLT stylesheets and the required output formats via the StyleVision GUI (File | Save Generated Files command), you can generate output files using two other methods:
1.With StyleVision Server, which calls StyleVision's file generation functionality without opening the GUI, you can produce various kinds of output.
2.With RaptorXML, a standalone Altova application that contains Altova's XML(+XBRL) Validator, and XSLT and XQuery Engines. The XSLT Engines in RaptorXML can be used for transformations of XML to an output format by processing XML documents with XSLT stylesheets. The XSLT file will have to be created in advance so that it can be used by RaptorXML. (RaptorXML does not take an SPS as an input parameter.) The advantages of using RaptorXML are: (i) speed, as a result enabling fast transformations of large files; and (ii) in addition to a command line interface, RaptorXML provides interfaces for COM, Java, and .NET, and can therefore be easily called from within these environments. How to use RaptorXML for transformations is explained in the sub-section RaptorXML.
3.Multiple transformations can be carried out according to pre-set triggers (such as a daily time) using Altova StyleVision Server within an Altova FlowForce Server workflow. This is described in the section Automation with FlowForce Server.