Loads a XML database defined in the input argument. Transforms the contents with the help of the XSL stylesheet and saves the output into the target HTML or XML file.
The Windows Script Host environment provides support in describing scripts, passing parameters, including external source files and loading type libraries. Here is the output which the framework shows to guide proper usage of the program:
translatexml - Translates XML file according to XSL stylesheet
Usage: translatexml.wsf /input:value /style:value /output:value
Options:
input : i - Reference of XML source file
style : s - Reference of XSL transformation stylesheet
output : o - Reference of XML or HTML target file
Example:
cscript translatexml.wsf /input:hotstuff.xml /style:"fix it.xsl" /o:goodshow.htm
The utilities of the Virtuosi Digital Video Processing Environment all share a common set of functionality provided by source code templates and a modular support library. This basic functionality is generated by a Windows Script Host application wizard which provides handlers for optional and mandatory command line arguments. The framework supports short mnemonic aliases for named arguments. Programs generate standard errorlevel responses to problems during validation of arguments, file paths, file structure or ActiveX component loading.
Here are the specific capabilities of the translatexml utility: