Title: HTML escaping in XML

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="" 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>

Reply via email to