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

Script: bootstrap-element

bootstrap elements may appear as direct children of a group. A bootstrap instructs WXT to execute a WXT-script in the background. This script may be the result of a page-build operation. Bootstraps are executed after commands (which in turn are executed after pages) Any bootstraps or commands usefull for preprocessing should be placed in a separate group. You may start a new instance of WXT with a command in stead of bootstrapping, but bootstrapping is more efficient.

<bootstrap location=""/>

The attribute location is the location (absolute or relative to the group) of the file that must be a legal WXT-script. Location is mandatory.

A bootstrap element may not have any children.

Examples:

<bootstrap location="myscript.xml"/>

or combined with a page

<page name="p" location="myscript.xml" template="T" transformation="TR"/>
<bootstrap location="myscript.xml"/>

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


Bygget med WXT : 11.jan.2009