This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: inserting spaces ( )


Define it at the beginning of your xslt. I.e

<!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]>

-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Carlos
Sent: 12 March 2002 15:04
To: XSL-List@lists.mulberrytech.com
Subject: [xsl] inserting spaces (&nbsp;)

in html the espace is &nbsp;
if with <xsl:value-of select="count(ancestor::*)-2"/> i have a number, how
can i insert  this number * spaces?
--> <xsl:value-of select="count(ancestor::*)-2"/> * &nbsp;

if the number(<xsl:value-of select="count(ancestor::*)-2"/>) is 5:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

thanks


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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]