[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] creating a string after counting charatercs


Subject: Re: [xsl] creating a string after counting charatercs
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 7 Jan 2003 13:01:08 GMT

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



Current Thread