cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 谭中意/eNet/技术部/网络开发二部/项目经理 <zy...@enet.com.cn>
Subject help with disable-output-escaping="yes"
Date Tue, 22 May 2001 07:25:50 GMT
I am using cocoon 1.8.2 to publish web pages

My xml data files has many elements, one element may include some html code

such as <img src="images/c.gif" width="1" height="1"/>

when xsl process it, it didnot show the html code as I hope.

I tried to add some code like this
<![CDATA[<img src="images/c.gif" width="1" height="1"/>]]>

the processed page shows 

&lt;img src=&quot;images/heihei.gif&quot; width=&quot;1&quot;
height=&quot;1&quot;/&gt;


I heard with disable-output-escaping="yes" ,I can do it.

but after read the faq carefully, I have to send mail you.
Hope you can give me some advice ...



Mime
View raw message