cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beyaNet <and...@beyanet.com>
Subject Re: html entity problem
Date Sat, 31 Jul 2004 19:54:36 GMT
Hi Ben,
sorry for being vague ;-) I am am serialising my output to xhtml:

		    <map:serializer name="xhtml"  
src="org.apache.cocoon.serialization.XMLSerializer"  
mime-type="text/html" logger="sitemap.serializer.xhtml" pool-grow="2"  
pool-max="64" pool-min="2">
			 <doctype-public>-//W3C//DTD XHTML 1.1//EN</doctype-public>
			  
<doctype-system>http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</doctype- 
system>
			 <!--<encoding>UTF-8</encoding>//-->
			 <encoding>US-ASCII</encoding>
			 <indent>yes</indent>
			</map:serializer>

I have now manages to solve the previous problem. What I cannot now  
understand is why

<![CDATA[
function MM_swapImgRestore() { //v3.0
   var i,x,a=document.MM_sr; for(i=0;a && i<a.length && (x=a[i]) &&
 
x.oSrc;i++) x.src=x.oSrc;
}
]]>

is being output to the browser as:

function MM_swapImgRestore() { //v3.0
   var i,x,a=document.MM_sr; for(i=0;a &amp;&amp; i&lt;a.length  
&amp;&amp; (x=a[i]) &amp;&amp; x.oSrc;i++) x.src=x.oSrc;
}

I have included my xsl stylesheet or your attention

regards

Andrew


Mime
View raw message