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

The Script

The script is a XML-file. It is possible to describe any job WXT can perform, small or big, by means of a script. An outline of a XML version 1.0 script:

<?xml version="1.0" encoding="ISO-8859-1"?>
<script version="1.0">
  <group name="..." location="...">
    <template name="P" location="..."/>
    <template name="I" location="..."/>
    <page name="..." template="I" location="...">
      <content location="..."/>
    </page>
    <page name="..." template="P" location="...">
      <content location="..."/>
    </page>
  </group>
  <group name="..." location="...">
    <template name="P" location="..."/>
    <page name="..." template="P" location="...">
      <content location="..."/>
    </page>
  </group>
</script>

The script consists of one or more groups. Each group consists of pages.

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


Bygget med WXT : 11.jan.2009