This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: generating numbers for anchor tabindex


Simeon Walker wrote:

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?
You can't increment a variable :)
Look at xsl:number instruction, it's supposed to provide the functionality you want.

--
Oleg Tkachenko
eXperanto team
Multiconn International, Israel


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]