Q:

New line character within XSL

          <td>
          <xsl:for-each select="participants/participant">
            <xsl:value-of select="."/>
            <xsl:text> NEW LINE HERE   </xsl:text>
          </xsl:for-each>
          </td>

How can I get a new line where I have the text elements? I can have a space by having a space but I have tried everything to get return character.

A:

Put an actual newline in:
<td>
    <xsl:for-each select="participants/participant">
        <xsl:value-of select="."/>
            <xsl:text>
</xsl:text>
    </xsl:for-each>
</td>

Or, use an escape character such as &#xa;.

