You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Vadim Gritsenko <va...@reverycodes.com> on 2008/04/01 02:15:58 UTC
Re: Character escaping problem with custom generator
On Mar 30, 2008, at 1:32 PM, shai200 wrote:
>
> Also, should I still startDocument and endDocument like so?
>
> contentHandler.startDocument();
Yes this is correct.
> contentHandler.startElement("", "content", "content", emptyAttr);
> parser.parse(is, contentHandler);
When including content from the parser, need to omit startDocument
created by parser:
parser.parse(is, new EmbeddedXMLPipe(contentHandler));
> contentHandler.endElement("","content","content");
> contentHandler.endDocument();
>
> Or should I just ignore starting and ending the document, manually
> put the
> <content> tag in my original xhtml String and jst parse the monster?
Please, no! :)
Vadim
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org