xsl-list
[Top] [All Lists]

RE: Tricky White Spaces being ignored

2004-03-01 07:39:51
That works!
I don't get the difference between:
&#xA
&#10
&#13
Has to do with how the client interprets these.  Correct?



-----Original Message-----

The white space is stripped, see <http://www.w3.org/TR/xslt#strip>. Wrap the
LINE FEED character into xsl:text:

  <xsl:template match="br">
    <xsl:text>&#xA;</xsl:text>
  </xsl:template>

Cheers,

Jarno




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



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