> org.w3c.dom.Document = outputter.output( jdomDoc, new > XercesDomAdaptor() ); // creates a StandardDOMAdaptor The advantage to making the DOM implementation choice via a string rather than a constructor is that then you can change implementations without recompiling (a la JAXP). -jh-