logo
WXT, a Web and Xml Tool
from Ostfold College
: Introduction > Documentation > The Script >Command

Script: command-element

command elements may appear as direct children of a group. A command instructs WXT to execute an external command. commands are executed after pages in the same group, but before bootstraps. Any commands or bootstraps usefull for preprocessing should be placed in a separate group.

<command line="" wait="yes"/>

The attribute line is equivalent to the command we would issue from the commandline. WXT identifies _scriptpath as part of the line. Line is mandatory.

The optional attribute wait may have values yes | no. yes is default. wait="no" instructs WXT to continue without waiting for the command to finish.

A command element may not have any children.

Examples:

<command line="c:\fop\fop.bat _scriptpath/wines.fo _scriptpath/wines.pdf"/>
<command wait="no" line="c:\diverse\xslfoexs\show.bat"/>

WXT, a Web and Xml Tool from Ostfold College: http://www.ia.hiof.no/~borres/wxtdoc/


Bygget med WXT : 11.jan.2009