You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Da...@lotus.com on 2000/08/23 23:23:44 UTC

Re: XSLTProcessor (actually, literal output)

Sergey Kljopov asks:
>How i can force output \n between </td> and <td> tags?

In your case, where you are just forming a stream of literal
output, you could stick in an xsl:text instruction.
      <td>text1</td>
      <xsl:text>&#10;</xsl:text>
      <td>text2</td>
Character #10 is a line-feed, which is the favored way to
specify a "new-line" character.

You might also want to have the following instruction just
inside the <xsl:stylesheet> element:
<xsl:output method="html"/>
This will ensure that Xalan has complete awareness of your
intent to produce HTML output.
.................David Marston