I have a custom generator with a generate() method that looks like this:
public void generate() throws IOException, SAXException, ProcessingException
{
                
                contentHandler.startDocument();
                        contentHandler.startElement("", "content", "content", 
emptyAttr);
                                
contentHandler.characters(xhtml_output.toCharArray(), 0,
xhtml_output.length());
                        contentHandler.endElement("","content","content");
                contentHandler.endDocument();
        }

where xhtml_output is some html code. 

My sitemap entry looks like this:

<map:match pattern="xmlaction">
         <map:generate type="skunk" />
        <map:serialize type="xml"/>
</map:match>

The problem is that this returns HTML code with escaped characters ( i.e. &
lt;  and & gt; instead of < and >, etc.)

How do I fix this?
-- 
View this message in context: 
http://www.nabble.com/Character-escaping-problem-with-custom-generator-tp16379318p16379318.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


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

Reply via email to