RE: [xsl] text output and space padding

Subject: RE: [xsl] text output and space padding
From: Thorbjørn Ravn Andersen <Thorbjoern.Ravn.Andersen@xxxxxxxxxx>
Date: Wed, 30 May 2001 18:07:14 +0100
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


Current Thread