xsl-list
[Top] [All Lists]

RE: Problems copying elements recursively.

2003-02-19 08:11:59
Mike,
Pardon me for asking what may be a simple question, 
but I am not very well versed in xsl. How do I
translate the count to number of spaces(&#160)?

A convenient way that Jeni pointed out is

<xsl:for-each select="ancestor::*">
  <xsl:text>  </xsl:text>
</xsl:for-each>

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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



<Prev in Thread] Current Thread [Next in Thread>