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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]