xsl-list
[Top] [All Lists]

Re: creating a string after counting charatercs

2003-01-07 06:01:08

I think you'll find something in the faq unnder padding, but if there is
a reasonable upper bound on the string length the easiest is to go


select="substring('_______________________________________________________________',
                  1,string-length(@attr))"

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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