Looks really strange. Can you see what (hidden) characters cause the line breaks? And you are sure that it is not the container around the <b>, maybe with a fixed width? Otherwise the problem were in df.format(datum), what I do not really expect.

Joerg

On 22.11.2003 19:55, Jan Wielgus wrote:

Hello,

I have such a problem that I get unexpected linebreaks in the output, although there are no <br/> tags in the html which is generated.

For example in a XSP-file i have something like this:

<xsp:logic>
Date datum = new java.util.Date();
java.text.DateFormat df = java.text.DateFormat.getDateInstance(java.text.DateFormat.FULL); </xsp:logic>
<lm-header>
<message>
<xsp:expr>df.format(datum)</xsp:expr>:&#xa0;Hallo,&#xa0;<xsp-session-fw:getxml context="authentication" path="/authentication/data/firstname"/>&#xa0;<xsp-session-fw:getxml context="authentication" path="/authentication/data/lastname"/>
</message>
</lm-header>


in the xslt just:

<xsl:template match="lm-header">
    <b><xsl:apply-templates select="message"/></b>
</xsl:template>

But when the page is generated, the strings which are contained in the date format appear in the different lines, as if there were <br/>'s but there aren't any.

So, I get for example:

Samstag, 22
November
2003: Hallo ...

instead of "Samstag, 22 November 2003: Hallo ..."

What can cause the problem?

Jan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to