* @return a new DefaultHandler that includes the namespace values
* in the output.
*/
protected ContentHandler createContentHandler(Writer writer) {
return new NamespaceContentWriter(writer) {
// javadoc inherited from superclass
public void characters(char buf[], int offset, int len) throws SAXException {
String s = new String(buf, offset, len);
write(s.trim());
}