Project | WXT | Basics | Download | Documentation | Samples

Script: authors-element

A authors-element is a reference to a file with authors. The definition-element may contain any number of authors-elements.

<authors location=""/>
location(mandatory) Location of the file with authors. The location is corrected for pathfragments.
encoding(optional) If not set, the encoding of the using module is assumed.

Examples:

<authors location="allauthors.xml"/>

and the file, allauthors.xml may look like this:

<?xml version="1.0" encoding="UTF-8"?>
<authors>
<author id="ml" name="Mats Lund">Student 2005</author>
<author id="jb" name="Jon Brown">
<![CDATA[
    <img src="http://www.a.b/self.gif" alt="self"/>
     ]]>
</author>
</authors>

The content of a fragment element may be a simple text or any legal XML-fragment wrapped as CDATA.