RE: [xsl] inserting spaces ( )

Subject: RE: [xsl] inserting spaces ( )
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 12 Mar 2002 13:26:52 -0000
<xsl:for-each select="ancestor::*[position() &gt; 2]">&#xa0;</xsl:for-each>

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Carlos
> Sent: 12 March 2002 12:04
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> 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


Current Thread