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

Script: transformation-element

A transformation element identifies a transformation, it maps a name to a location. A transformation element may appear as child of a group.

  <transformation name="" location="">
    ...
  </transformation>

The attributes are:

name(mandatory) Any string that identifies the transformation. This name may be used when assigning a transformation to a page, a template or a content element.
location(mandatory) An URI which may be absolute (file or http) or a relative to the owning groups location. The transformation will be read from this location.
backup(optional) An URI which will serve as an alternative location if the URI in location is unavalable.

A transformation element may contain any number of the following elements:

Examples:

<transformation name="ALL" location="transform/all.xslt"/>
<transformation name="SELECT_WHITE" location="transform/all.xslt">
  <parameter name="theSelection" value="white"/>
</transformation>

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


Bygget med WXT : 11.jan.2009