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 ( )


<xsl:for-each select="ancestor::*[position() &gt; 2]">&#xa0;</xsl:for-each>

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Carlos
> Sent: 12 March 2002 12: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]