This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: text output and space padding
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] text output and space padding
- From: Thorbjørn Ravn Andersen <Thorbjoern dot Ravn dot Andersen at mobilix dot dk>
- Date: Wed, 30 May 2001 18:07:14 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
But then I will need to do a for loop with index like in C:
for (i=0;i<30;i++)
which I know it cannot be done in XSL. Any ideas?
You can ask for the length of the string with the string-length function and
use that as an argument to substring a suitably long string of spaces.
Will that do?
--
Thorbjørn Ravn Andersen
Systemkonsulent - Value Added Services
Media Development Group
# MOBILIX - Prags Boulevard 80 - DK-2300 København S
+45 82 33 62 87
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list