beyaNet wrote:
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;
}



From the viewpoint of an XML parser, it's the same. Both representations encode the same content, just in different ways. If you want to tell the serializer to use CDATA, check cdata-section-elements.

J.Pietschmann

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



Reply via email to