cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DURDINA Michal" <Michal.Durd...@assetsoft.sk>
Subject HTML escaping in XML
Date Thu, 06 Nov 2003 08:44:01 GMT
Hello,
I know this is probably frequently answered problem, but I am also sure than you can provide
realy fast answer :)

I need to insert HTML markup (as text) in my XSP page and expecting the serializer not to
escape <,> characters for &lt;&gt;
What am I doing wrong?

Thank you,
Michal

Pipeline:
	<map:match pattern="rpt/test.html">         
		<map:generate src="test.xsp" label="content"/>
		<map:serialize type="html" label="debug"/>
	</map:match>

XSP:
	<xsp:logic>
		// HTMLInsert 
		String hi = "<![CDATA[<table><tr><td><b>HTMLInsert</b></td></tr></table>]]>";
		this.characters(hi);
	</xsp:logic>

Mime
View raw message