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

Script: group-element

The script may contain any number of groups. A group encloses any number of pages that are known to each other as members of TOCs. A group element may only be direct child of the script element.

  <group name="" location="" pubaddress="">
    ...
  </group>
name(mandatory) Any string that identifies the group
location(mandatory) An absolute URI identifying a catalog. This URI will serve as anchor for all locations in the group. You may also use the predefined pathfragment {_scriptpath} to identify the catalog which contains the script. The simple form: _scriptpath, without {} is deprecated. See pathfragment
pubaddress(optional) An absolute URI where this group will be published.

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

Examples:

  <group name="MyBook" location="{_scriptpath}">
    ...
  </group>
  <group name="YourBook" location="c:\books\book1">
    ...
  </group>
  <group name="MyBook" location="c:\mine\" pubaddress="http://www.library/mybook/">
    ...
  </group>

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


Bygget med WXT : 11.jan.2009