if ("application/xhtml".equals(contentType)
|| "application/xml".equals(contentType)
|| "text/xml".equals(contentType)) {
xml = true;
}
attributeWriter = new HtmlWriterUtil(this, characterEncoding, true);
textWriter = new HtmlWriterUtil(this, characterEncoding, false);
}