You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jörn Heid <he...@agentsinaction.de> on 2001/06/24 17:44:08 UTC
[C2]Problem with whitespaces/newline
I have the following line in an xslt-stylesheet
</table><img src="/images/empty.gif" width="1" height="10"
border="1"/><table ....
This one is outputted in html as
</table>
<img src="/images/empty.gif" width="1" height="10" border="1"/><table ....
How is it possible that there's a newline before <img?
I used
<xsl:output method="html" indent="no"/>
<xsl:strip-space elements="*"/>
without success.
Is it a problem of the serialzier?
Please help.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
how to use bean in xsp?
Posted by Fang Huang <fh...@csee.umbc.edu>.
Hi, can I use bean in xsp? I plan to apply it for shopping cart, but I
don't know how to use it. And where should I put the bean class, the same
directory as the xsp files, or the standard classes directory in tomcat?
I am using cocoon1.8.2 and tomcat3.1. Thanks.
Fang
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
AW: AW: [C2]Problem with whitespaces/newline
Posted by Jörn Heid <he...@fh-heilbronn.de>.
Well, first I'm using C2. I think there's no cocoon.properties anymore.
Second, the line before that is </tr>, so it couldn't be something like
that...
;(
-----Ursprüngliche Nachricht-----
Von: Ruben [mailto:ris2@alu.ua.es]
Gesendet: Sonntag, 24. Juni 2001 20:21
An: cocoon-users@xml.apache.org
Betreff: Re: AW: [C2]Problem with whitespaces/newline
Hi Jörn,
Oh, sorry, sunday it's not the best day for me to understand english...
Maybe I'm saying something stupid again, but, there is a line in
cocoon.properties stating the maximum line width in HTML (I think):
formatter.text/html/loose.line-width = 120
Could it be that your </table> tag is at the end of the line? I'm afraid
I'm
wrong again, but I don't understand why the new line is inserted, it has no
sense...
/Rubén
Jörn Heid wrote:
> ;( Now, I have two newlines between the two tags.
> If you misunderstood me: I want to remove all newlines between the two
tags
> as there's none defined in my stylesheet..
>
> But thanks for your help.
>
> JOERN_HEID
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: AW: [C2]Problem with whitespaces/newline
Posted by Ruben <ri...@alu.ua.es>.
Hi Jörn,
Oh, sorry, sunday it's not the best day for me to understand english...
Maybe I'm saying something stupid again, but, there is a line in
cocoon.properties stating the maximum line width in HTML (I think):
formatter.text/html/loose.line-width = 120
Could it be that your </table> tag is at the end of the line? I'm afraid I'm
wrong again, but I don't understand why the new line is inserted, it has no
sense...
/Rubén
Jörn Heid wrote:
> ;( Now, I have two newlines between the two tags.
> If you misunderstood me: I want to remove all newlines between the two tags
> as there's none defined in my stylesheet..
>
> But thanks for your help.
>
> JOERN_HEID
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
AW: [C2]Problem with whitespaces/newline
Posted by Jörn Heid <he...@fh-heilbronn.de>.
;( Now, I have two newlines between the two tags.
If you misunderstood me: I want to remove all newlines between the two tags
as there's none defined in my stylesheet..
But thanks for your help.
JOERN_HEID
-----Ursprüngliche Nachricht-----
Von: Ruben [mailto:ris2@alu.ua.es]
Gesendet: Sonntag, 24. Juni 2001 19:49
An: cocoon-users@xml.apache.org
Betreff: Re: [C2]Problem with whitespaces/newline
Have you tried using <xsl:text>
</xsl:text> between <table> and <img>?
Jörn Heid wrote:
> I have the following line in an xslt-stylesheet
>
> </table><img src="/images/empty.gif" width="1" height="10"
> border="1"/><table ....
>
> This one is outputted in html as
> </table>
> <img src="/images/empty.gif" width="1" height="10" border="1"/><table ....
>
> How is it possible that there's a newline before <img?
> I used
> <xsl:output method="html" indent="no"/>
> <xsl:strip-space elements="*"/>
> without success.
>
> Is it a problem of the serialzier?
>
> Please help.
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: [C2]Problem with whitespaces/newline
Posted by Ruben <ri...@alu.ua.es>.
Have you tried using <xsl:text>
</xsl:text> between <table> and <img>?
Jörn Heid wrote:
> I have the following line in an xslt-stylesheet
>
> </table><img src="/images/empty.gif" width="1" height="10"
> border="1"/><table ....
>
> This one is outputted in html as
> </table>
> <img src="/images/empty.gif" width="1" height="10" border="1"/><table ....
>
> How is it possible that there's a newline before <img?
> I used
> <xsl:output method="html" indent="no"/>
> <xsl:strip-space elements="*"/>
> without success.
>
> Is it a problem of the serialzier?
>
> Please help.
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>