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

PI: reflist

reflist produced an unordered list of external references.

See also: ref

<?_wxt reflist listname="" category=""?>

The parameters are:

listname (optional) The name of the referencelist. Note the usage of listname="_footnote" to make a fotnote-list of references. Will collect all references (PI:ref or PI:xref ) on the same page with _footnote as (one of the names in) listname. Default is "_main".
category (optional) A commaseparated list of categories we want to include in the list. Default is all categories: "*".

Some examples:

<?_wxt ref uri="http://www.w3schools.com/htmldom/" fields="W3org|HTML DOM Tutorial" category="DOM"?>

<?_wxt reflist listname="_main" category="DOM"?>

<?_wxt ref uri="http://www.w3schools.com/htmldom/" listname="_footnote|_main" fields="HTML DOM Tutorial" category="DOM"?>

<?_wxt reflist listname="_footnote" category="DOM"?>
<?_wxt ref fields="Håkon Wium Lie & Bert Bos|
                   Cascading Style Sheets|
                   Addison Wesley|
                   1999|
                   0-201-59625-3|
                   Cover CSS1 and CSS2" 
               category="book"
               display="simple"
               listname="_footNote|_main"?>

The involved style-classes in a reference and a referenselist are:

  • external mark a reference as external
  • reflist_ul styling the ul-element in a reflist.
  • reflist_li styling the li-element in a reflist.
  • nolink_span styling a simple [] .
  • ref_field_n where n is a number in the range [0..m], m is the maximum number of fields you plan to use in a ref field.
  • ref_link styling all links in a reference list.
  • external styling an absolute link in a reference list.

See Styling

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


Bygget med WXT : 11.jan.2009