PI: ref

ref produce a simple ref-element and introduce it to a reflist.

See also: reflist

<?_wxt ref uri="" fields="" listname="" category="" display="" delimiter=""?>

The parameters are:

delimiter (optional) Alternative to | as a list separator in lists in this element. Default is |
fields (mandatory) A delimiter-separated list of simple text strings.
uri (optional) An uri to the resource we want to link to, if any.
listname (optional) A delimiter-separated list of names of the lists we want to include this reference in. The name _footnote is reckognized as the name of the page, and should be matched with listname _footnote in a reflist-PI on the same page, if you want to collect all references at a page in a list. Default is "_main".
category (optional) The category of the ref. You are free to name categories at will. Default is "*".
display (optional) This controls the way the reference is displayed. Possible values are:
  • none. The reference is not displayed
  • simple. The refrenece is displayed as a "ref to footnote way": [n].
  • full. With link, if any or first field, if no link.
  • prefix. First field is prefixing link, no effect if no link.
. Default is simple.

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:

See Styling