cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Magne Skjeret <magne.skje...@nsd.uib.no>
Subject Wierd signs at lineshifts
Date Fri, 28 Mar 2003 08:48:50 GMT
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


Mime
View raw message