[xsl] generating numbers for anchor tabindex

Subject: [xsl] generating numbers for anchor tabindex
From: Simeon Walker <simeon@xxxxxxxxxxxxxxxx>
Date: Sun, 06 Oct 2002 15:06:04 +0100
Hello all,

I am trying to think of a way to automatically generate numbers
for the tabindex property of html anchors. Since the xml that ends
up getting transformed into the anchor could be at any level within
the document I can't use a simple position().

Any suggestions? Should I use a global variable that is incremented
each time an anchor is generated or are their better methods?


Simeon Walker,                      email: simeon@xxxxxxxxxxxxxxxx
School of Biological Sciences,      phone: +44 (0)1248 383702
University of Wales, Bangor,        fax: +44 (0)1248 382569
Gwynedd, LL57 2UW, UK.              www: http://biology.bangor.ac.uk/

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread