_serializer.setOutputFormat( _format );
try {
//-- Due to a Xerces Serializer bug that doesn't allow declaring
//-- multiple prefixes to the same namespace, we use the old
//-- DocumentHandler format and process namespaces ourselves
_handler = new DocumentHandlerAdapter(_serializer.asDocumentHandler());
}
catch (java.io.IOException iox) {
//-- we can ignore this exception since it shouldn't
//-- happen. If _serializer is not null, it means
//-- we've already called this method sucessfully