This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
generating numbers for anchor tabindex
- From: Simeon Walker <simeon at sbs dot bangor dot ac dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sun, 06 Oct 2002 15:06:04 +0100
- Subject: [xsl] generating numbers for anchor tabindex
- Reply-to: xsl-list at lists dot mulberrytech dot com
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?
Regards,
Simeon
--
Simeon Walker, email: simeon@sbs.bangor.ac.uk
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