xsl-list
[Top] [All Lists]

Placing selective links in output

2003-10-27 08:37:02
I have a set of links a,b,c,d,e,f,g,........z at the top of my page and only wanted to put an <a href> tag around a letter within this list if there is a document in the list which starts with that letter. Is there any short way of doing this so i dont have to do an if staement for each letter? ( i have already grouped documents according to first letter). For example, i would like b to have <a href="#b">b</a> if there is one or more docs starting with b (@title is being looked-- substring(@title,1,1))

_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today! http://www.msn.co.uk/messenger


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



<Prev in Thread] Current Thread [Next in Thread>