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

Script: property-element

Property elements may appear anywhere in a script, and effects all pagebuilding within its scope.

  <property name="" value="">
     ... any legal XML-construct ...
  </property>

The attributes are

name (mandatory) Any string that identifies the property
location (optional) An uri which is absolute or relative to the script. The uri should contain a wellformed XML-fragment as a string. It should not contain a XML-header nor a property-element

A property may have any wellformed XML-fragment as child(ren). The following are legal property elements:

    <property name="hitcounter">
      <!--#exec cgi="../cgi-bin/teller.cgi" -->
    </property>

    <property name="mymail">
      <a href="mailto:b.s@h.no">mail me</a>
    </property>

    <property name="greetings">
      Hello all !
    </property>

    <property name="greetings" location="hello.txt"/>
    
    <property name="toppen">
        <div class="printhide" style="text-align:right">
        <hr style="color:#EED9B0;size:1px"/>
        <a href="#TopOfPage">
        <img style="border-style:none" src="gfx/up.gif" alt="beginning of page"/>
        </a>
        </div>
    </property>

Properties are available in Processing Instruction, see PI:property.

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


Bygget med WXT : 11.jan.2009