You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Magne Skjeret <ma...@nsd.uib.no> on 2003/03/28 09:48:50 UTC

Wierd signs at lineshifts

Greetings

I have a small problem with some lineshifts in my xsp.

It seems like a lineshift is added to the output html from the xsp page.
I am not sure if this is something my editor puts on, or if it is a default 
behaviour of cocoon.
And if it is, is ther anything I can do about it?

I use cocoon-2.0.4 /jdk1.4.1 and IntelliJ editor.



This xsp code:

<a href="#">
	<xsp:attribute name="onclick">
		<xsp:expr>"addToUrl('header="+ dragid + "')"</xsp:expr>
	</xsp:attribute>
	<xsp:attribute name="onmouseover">
		<xsp:expr>"ieShow("+varcounter+")"</xsp:expr>
	</xsp:attribute>
             Add to column
</a>

Gives this ouput

<a href="#" onclick="&#xA; addToUrl('header=V319.F1')&#xA; " 
onmouseover="&#xA; ieShow(0)&#xA; ">Add to column</a>

While this xsp:
<a href="#">
	<xsp:attribute name="onclick"><xsp:expr>"addToUrl('header="+ dragid + 
"')"</xsp:expr></xsp:attribute>
	<xsp:attribute 
name="onmouseover"><xsp:expr>"ieShow("+varcounter+")"</xsp:expr></xsp:attribute>
             Add to column
</a>

gives this output:
<a href="#" onclick="addToUrl('header=V319.F1')&#xA; " onmouseover="&#xA; 
ieShow(0)&#xA; ">


Magne Skjeret 


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org