// }
// root.removeChild(child);
// }
// }
HTMLWriter writer = new HTMLWriter();
writer.setPipelineConfiguration(pipe);
NamespaceReducer reducer = new NamespaceReducer();
reducer.setUnderlyingReceiver(writer);
reducer.setPipelineConfiguration(pipe);
writer.setNode(root);
Receiver receiver = reducer;
// if this is the implicit XSLT result document, and if the executable is capable